aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp
diff options
context:
space:
mode:
authorHans Wennborg <hans@chromium.org>2020-06-15 16:08:25 +0200
committerHans Wennborg <hans@chromium.org>2020-06-15 16:14:59 +0200
commitf47a7766287afa0919918093d8367316aa2c9e8e (patch)
treeb4b7a98ba8f77ba876993a70952ebd2206d8142e /llvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp
parent0b806549b5ed7d12ac44ee35e72d0191906044e5 (diff)
downloadllvm-f47a7766287afa0919918093d8367316aa2c9e8e.zip
llvm-f47a7766287afa0919918093d8367316aa2c9e8e.tar.gz
llvm-f47a7766287afa0919918093d8367316aa2c9e8e.tar.bz2
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 'llvm/lib/Target/WebAssembly/Disassembler/WebAssemblyDisassembler.cpp')
0 files changed, 0 insertions, 0 deletions