[llvm] [SCEV] Introduce IncrementNSUW, replacing NSSW (PR #219559)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 21 01:04:31 PDT 2026


================
@@ -281,9 +277,10 @@ for.end:                                          ; preds = %for.body
 define void @f5(ptr noalias %a, ptr noalias %b, i64 %N) {
 ; CHECK-LABEL: 'f5'
 ; CHECK-NEXT:    for.body:
-; CHECK-NEXT:      Memory dependences are safe
+; CHECK-NEXT:      Report: unsafe dependent memory operations in loop. Use #pragma clang loop distribute(enable) to allow loop distribution to attempt to isolate the offending operations into a separate loop
+; CHECK-NEXT:  Unsafe indirect dependence.
 ; CHECK-NEXT:      Dependences:
-; CHECK-NEXT:        Forward:
+; CHECK-NEXT:        IndirectUnsafe:
----------------
david-arm wrote:

Same comment as above.

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


More information about the llvm-commits mailing list