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

Ryotaro Kasuga via llvm-commits llvm-commits at lists.llvm.org
Sun Aug 24 16:22:37 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.
----------------
kasuga-fj wrote:

Not fixed (but the suggested change has already been committed??).
Looks like there was a mistake in the git operation.

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


More information about the llvm-commits mailing list