[llvm] [InstCombine] Canonicalise SextADD + GEP (PR #69581)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Wed Apr 24 23:36:44 PDT 2024


nikic wrote:

@brunodf-snps Assuming this is also an inbounds preservation problem as in the other reports, I think it should be possible to retain it in this case based on https://alive2.llvm.org/ce/z/wVFHGk. As far as I can see we do know that the add operands are non-negative here. I'll take a look at this.

https://github.com/llvm/llvm-project/pull/69581


More information about the llvm-commits mailing list