[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
Fri Oct 24 07:10:51 PDT 2025


amehsan wrote:

> But isn't that isKnownPredicate always going to fail in the case where the multiply may overflow?

Right, when overflow for the product is a possibility that will work. Previously we thought for some simple loops, the product may overflow and we can prevent it.

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


More information about the llvm-commits mailing list