[llvm] [InstCombine] Try to fold add into GEP x, C (PR #85090)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Tue Apr 30 19:30:16 PDT 2024


nikic wrote:

> > bringing the final codegen closer to what it will later be
> 
> Unfortunately it looks like this might not be exactly true, and canonicalizing the geps (at least in the way I have tried it) does not produce the same final output I was hoping for, I think partly because of multiple uses.

Can you share the motivating example?

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


More information about the llvm-commits mailing list