[llvm] [InstCombine] Canonicalize more geps with constant gep bases and constant offsets. (PR #110033)
Nikita Popov via llvm-commits
llvm-commits at lists.llvm.org
Fri Sep 27 01:03:27 PDT 2024
nikic wrote:
Looking at https://github.com/dtcxzyw/llvm-opt-benchmark/pull/1382/files it seems like we often don't end up folding the offsets. I think this is because of multi-use limitation in canonicalizeGEPOfConstGEPI8. Possibly it could be relaxed (I think we generally don't mind creating extra constant offset geps...)
https://github.com/llvm/llvm-project/pull/110033
More information about the llvm-commits
mailing list