[llvm] [LoopFusion] Extending SIV to handle separate loops (PR #146383)

via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 24 11:29:04 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 "
----------------
CongzheUalberta wrote:

I suggest to change the description to something more descriptive, something like "dependence checks passed".

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


More information about the llvm-commits mailing list