[PATCH] D139950: [WebAssembly] Use ComplexPattern on store address operands

Luke Lau via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 13 09:40:05 PST 2022


luke created this revision.
luke added reviewers: asb, tlively, aheejin, samparker.
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 continues the refactoring work of selecting offset + address
operands with the AddrOpsN pattern, previously called LoadOpsN.

As a result, constant addresses are now folded into the offset in more
places for v128.storeN_lane.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D139950

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/test/CodeGen/WebAssembly/simd-load-lane-offset.ll
  llvm/test/CodeGen/WebAssembly/simd-offset.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139950.482526.patch
Type: text/x-patch
Size: 29644 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221213/fac0cf0d/attachment.bin>


More information about the llvm-commits mailing list