[llvm] [SeparateConstOffsetFromGEP] Reorder trivial GEP chains to separate constants (PR #73056)
Jeffrey Byrnes via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 7 10:05:21 PST 2024
jrbyrnes wrote:
So it appears that the inbounds preservation is not correct.
Preserved:
https://alive2.llvm.org/ce/z/fdH9f2
Stripped:
https://alive2.llvm.org/ce/z/dJwv-W
Instead of stripping the inbounds, I've disabled the optimization for inbounds GEPs
https://github.com/llvm/llvm-project/pull/73056
More information about the llvm-commits
mailing list