[llvm] [LoopFusion] Detecting legal dependencies for fusion using DA info (PR #146383)

Alireza Torabian via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 25 07:39:49 PDT 2025


================
@@ -1371,6 +1373,33 @@ struct LoopFuser {
                           << "\n");
       }
 #endif
+      unsigned Levels = DepResult->getLevels();
+      unsigned SameSDLevels = DepResult->getSameSDLevels();
+      unsigned CurLoopLevel = FC0.L->getLoopDepth();
+
+      bool OuterEqDir = true;
----------------
1997alireza wrote:

Turned out I didn't need it. Removed.

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


More information about the llvm-commits mailing list