diff options
| author | Hans Wennborg <hans@chromium.org> | 2020-06-15 16:08:25 +0200 |
|---|---|---|
| committer | Hans Wennborg <hans@chromium.org> | 2020-06-15 16:14:59 +0200 |
| commit | f47a7766287afa0919918093d8367316aa2c9e8e (patch) | |
| tree | b4b7a98ba8f77ba876993a70952ebd2206d8142e /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
| parent | 0b806549b5ed7d12ac44ee35e72d0191906044e5 (diff) | |
Revert "[X86] Separate imm from relocImm handling."
> relocImm was a complexPattern that handled both ConstantSDNode
> and X86Wrapper. But it was only applied selectively because using
> it would cause patterns to be not importable into FastISel or
> GlobalISel. So it only got applied to flag setting instructions,
> stores, RMW arithmetic instructions, and rotates.
>
> Most of the test changes are a result of making patterns available
> to GlobalISel or FastISel. The absolute-cmp.ll change is due to
> this fixing a pattern ordering issue to make an absolute symbol
> match to an 8-bit immediate before trying a 32-bit immediate.
>
> I tried to use PatFrags to reduce the repetition, but I was getting
> errors from TableGen.
This caused "Invalid EmitNode" assertions, see the llvm-commits thread for
discussion.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions
