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

via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 2 10:59:04 PDT 2024


serge-sans-paille wrote:

I've just submitted a version that uses `computeConstantRange()`. It is satisfying for my use case, although not as accurate as LVI.
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!

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


More information about the llvm-commits mailing list