[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:00 PDT 2025


================
@@ -100,6 +100,8 @@ STATISTIC(OnlySecondCandidateIsGuarded,
           "The second candidate is guarded while the first one is not");
 STATISTIC(NumHoistedInsts, "Number of hoisted preheader instructions.");
 STATISTIC(NumSunkInsts, "Number of hoisted preheader instructions.");
+STATISTIC(NumDepSafeFused, "Number of fused loops with dependencies "
----------------
1997alireza wrote:

Changed to `(NumDA, "DA checks passed")`

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


More information about the llvm-commits mailing list