[PATCH] D139530: [WebAssembly] Add ComplexPattern for loads
Luke Lau via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 7 04:46:40 PST 2022
luke created this revision.
luke added reviewers: asb, pmatos, sbc100, tlively, sunfish, aheejin, samparker.
Herald added subscribers: StephenFan, ecnelises, hiraditya, jgravelle-google, dschuff.
Herald added a project: All.
luke requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This refactors out the offset and address operand pattern matching into
a ComplexPattern which can do more advanced matching. It also now folds
global addresses into the offset whenever the stack operand is not a
constant.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D139530
Files:
llvm/lib/Target/WebAssembly/WebAssemblyISelDAGToDAG.cpp
llvm/lib/Target/WebAssembly/WebAssemblyInstrAtomics.td
llvm/lib/Target/WebAssembly/WebAssemblyInstrMemory.td
llvm/lib/Target/WebAssembly/WebAssemblyInstrSIMD.td
llvm/lib/Target/WebAssembly/WebAssemblyRegisterInfo.cpp
llvm/test/CodeGen/WebAssembly/offset.ll
llvm/test/CodeGen/WebAssembly/userstack.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139530.480856.patch
Type: text/x-patch
Size: 27935 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221207/f6a1c297/attachment.bin>
More information about the llvm-commits
mailing list