[llvm] [LoopInterchange] Exit early when all loops have deps in all directions (PR #149049)

Ryotaro Kasuga via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 16 02:55:11 PDT 2025


================
@@ -10,9 +10,13 @@
 ;;       p0[4 * i + j] = p1[4 * j + i];
 ;; }
 
-; CHECK:      Dependency matrix before interchange:
-; CHECK-NEXT: * *
-; CHECK-NEXT: Processing InnerLoopId = 1 and OuterLoopId = 0
+; CHECK:      --- !Missed
+; CHECK-NEXT: Pass:            loop-interchange
+; CHECK-NEXT: Name:            Dependence
+; CHECK-NEXT: Function:        may_alias
+; CHECK-NEXT: Args:
+; CHECK-NEXT:   - String:          All loops have dependencies in all directions.
+; CHECK-NEXT: ...
----------------
kasuga-fj wrote:

Changed because the previous CHECK directives check the debug outputs that are no longer printed due to early exit.

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


More information about the llvm-commits mailing list