[PATCH] D139631: [WebAssembly][NFC] Add ComplexPattern for loads

Luke Lau via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 8 07:36:45 PST 2022


luke created this revision.
luke added reviewers: samparker, asb, tlively, aheejin.
Herald added subscribers: pmatos, StephenFan, ecnelises, sunfish, hiraditya, jgravelle-google, sbc100, 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, so that one pattern fragment can match the dynamic and static (offset) addresses in all possible positions.

Split out from D139530 <https://reviews.llvm.org/D139530>, which also contained an improvement to global address folding.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D139631

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139631.481273.patch
Type: text/x-patch
Size: 24210 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221208/3dca2a77/attachment.bin>


More information about the llvm-commits mailing list