[llvm] [DA] Add overflow check before calculating absolute value (PR #201964)

Sjoerd Meijer via llvm-commits llvm-commits at lists.llvm.org
Sat Jun 6 02:53:46 PDT 2026


================
@@ -1190,13 +1190,17 @@ bool DependenceInfo::weakCrossingSIVtest(const SCEVAddRecExpr *Src,
 //
 // We don't use OverflowSafeSignedAPInt here because it's known that this
----------------
sjoerdmeijer wrote:

Do we need to look at this comment here?

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


More information about the llvm-commits mailing list