[PATCH] D139415: [RFC][WebAssembly] Optimize GEPs

Roman Lebedev via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 9 08:23:13 PST 2022


lebedev.ri added inline comments.


================
Comment at: llvm/lib/Target/WebAssembly/WebAssemblyOptimizeGEPs.cpp:18
+/// between IR -> SCEV -> IR during LSR. This pass finds inbounds GEPs, with the
+/// form: (getelementptr %base, (or %reg_offset, %constant)) which is what is
+/// generated after loop unrolling + instcombine. The GEPs are then converted
----------------
How is this different from `SeparateConstOffsetFromGEP` pass?


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D139415/new/

https://reviews.llvm.org/D139415



More information about the llvm-commits mailing list