[llvm] [CVP] Infer no-wrap flags from operand ranges at use sites. (PR #207522)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Sun Jul 5 00:34:10 PDT 2026


nikic wrote:

Are the motivating cases predominantly one-use or multi-use?

I wonder if it's possible to generalize getConstantRangeAtUse() in this direction instead. It seems like there's two generalizations here. One is that dominating (non-phi) conditions can be used, and the other is that limited multi-use is supported. The former generlization seems like it should be simple, as it's just a matter of adjusting the context instruction in getValueAtUse().

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


More information about the llvm-commits mailing list