[llvm] [DA] Widening SCEV expressions in strong SIV test to prevent overflow (PR #164704)

Ehsan Amiri via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 23 12:31:38 PDT 2025


amehsan wrote:

> But isn't that isKnownPredicate always going to fail in the case where the multiply may overflow? That means that the value is potentially larger than the original type, and AbsDelta fits within that type. Maybe I'm misunderstanding something here.
> 

if we exnted the type then the multiply will provably not overflow.  



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


More information about the llvm-commits mailing list