[PATCH] D141926: [WebAssembly] Add passes for GEP lowering

Sam Parker via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 17 06:00:37 PST 2023


samparker created this revision.
samparker added reviewers: aheejin, tlively, dschuff.
Herald added subscribers: pmatos, asb, armkevincheng, sjarus, eric-k256, ecnelises, sunfish, hiraditya, jgravelle-google, arichardson, sbc100.
Herald added a project: All.
samparker requested review of this revision.
Herald added a project: LLVM.

At optimization level -O2 and above, add SeparateConstOffsetFromGEP, EarlyCSE and LICM to the addIRPasses phase.

These passes will also enable D139415 <https://reviews.llvm.org/D139415>.

     
      


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D141926

Files:
  llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
  llvm/test/CodeGen/WebAssembly/address-offsets.ll
  llvm/test/CodeGen/WebAssembly/cfg-stackify.ll
  llvm/test/CodeGen/WebAssembly/debugtrap.ll
  llvm/test/CodeGen/WebAssembly/fast-isel-br-i1.ll
  llvm/test/CodeGen/WebAssembly/fpclamptosat.ll
  llvm/test/CodeGen/WebAssembly/fpclamptosat_vec.ll
  llvm/test/CodeGen/WebAssembly/function-addr-offset.ll
  llvm/test/CodeGen/WebAssembly/implicit-def.ll
  llvm/test/CodeGen/WebAssembly/ir-locals.ll
  llvm/test/CodeGen/WebAssembly/libcalls.ll
  llvm/test/CodeGen/WebAssembly/load-store-pic.ll
  llvm/test/CodeGen/WebAssembly/pr59626.ll
  llvm/test/CodeGen/WebAssembly/reg-stackify.ll
  llvm/test/CodeGen/WebAssembly/simd-comparisons.ll
  llvm/test/CodeGen/WebAssembly/simd.ll
  llvm/test/CodeGen/WebAssembly/userstack.ll
  llvm/test/MC/WebAssembly/stack-ptr-mclower.ll
  llvm/test/MC/WebAssembly/stack-ptr.ll
  llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/wasm_generated_funcs.ll
  llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/wasm_generated_funcs.ll.generated.expected
  llvm/test/tools/UpdateTestChecks/update_llc_test_checks/Inputs/wasm_generated_funcs.ll.nogenerated.expected

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D141926.489789.patch
Type: text/x-patch
Size: 55061 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230117/857b0949/attachment.bin>


More information about the llvm-commits mailing list