[llvm] [DependenceAnalysis] Fix incorrect analysis of wrapping AddRec expressions (PR #154982)

Sebastian Pop via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 25 06:59:51 PDT 2025


================
@@ -1337,6 +1337,12 @@ class ScalarEvolution {
   /// sharpen it.
   LLVM_ABI void setNoWrapFlags(SCEVAddRecExpr *AddRec, SCEV::NoWrapFlags Flags);
 
+  /// Check if this AddRec expression may wrap, making it non-affine.
----------------
sebpop wrote:

Fixed in my local git.

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


More information about the llvm-commits mailing list