[llvm] [VPlan] Add VPlan-based addMinIterCheck, replace ILV for non-epilogue. (PR #153643)

via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 21 08:45:59 PDT 2025


================
@@ -9478,10 +9441,13 @@ static bool processLoopInVPlanNativePath(
 
   {
     GeneratedRTChecks Checks(PSE, DT, LI, TTI, F->getDataLayout(), CM.CostKind);
-    InnerLoopVectorizer LB(L, PSE, LI, DT, TTI, AC, VF.Width, VF.Width, 1, &CM,
-                           BFI, PSI, Checks, BestPlan);
+    InnerLoopVectorizer LB(L, PSE, LI, DT, TTI, AC, VF.Width, 1, &CM, BFI, PSI,
----------------
ayalz wrote:

Independent: good to comment what 1 stands for, or set `UF = 1` to be passed here and to addMinimumIterationCheck() and to executePlan() below instead of `1`'s.

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


More information about the llvm-commits mailing list