[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 08:56:59 PDT 2024
https://github.com/nikic requested changes to this pull request.
We definitely cannot use LVI inside InstCombine for invalidation reasons. Using it in LowerConstantIntrinsics may be theoretically possible, but I really don't want to go there.
Can your motivating cases be covered by ValueTracking helpers, either computeConstantRange() or computeKnownBits()?
https://github.com/llvm/llvm-project/pull/114673
More information about the llvm-commits
mailing list