[PATCH] D125845: [InstCombine] Canonicalize GEP of GEP by swapping constant-indexed GEP to the back

Florian Hahn via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 29 03:29:20 PST 2022


fhahn added a comment.

Note that there's also a dedicated pass to separate constant GEP offsets, which can be run as part of the backend pipeline: `llvm/lib/Transforms/Scalar/SeparateConstOffsetFromGEP.cpp`. It was enabled on AArch64 for a while but had to be disabled because it was also causing performance regressions .


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D125845



More information about the llvm-commits mailing list