[llvm] [llvm] Use LazyValueInfo to improve llvm.objectsize computation (PR #114673)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 2 15:26:25 PDT 2024


nikic wrote:

> Can you provide pointers to something that would help me understand
> 
> > We definitely cannot use LVI inside InstCombine for invalidation reasons.
> 
> I'm not familiar with this. Thanks!

InstCombine has a lot of different folds, and some of them do things like modifying instructions in place. It's essentially impossible to keep analyses that have non-trivial state up-to-date in InstCombine.

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


More information about the llvm-commits mailing list