[llvm] [LV] Support tail-folded epilogue loops (PR #208764)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 7 05:51:15 PDT 2026


================
@@ -5695,8 +6067,9 @@ DenseMap<const SCEV *, Value *> LoopVectorizationPlanner::executePlan(
                    BestVPlan, BestVF, VScale);
   }
 
+  const bool IsTailFolded = BestVPlan.hasTailFolded();
----------------
fhahn wrote:

Is this change needed with the patch? It looks unrelated

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


More information about the llvm-commits mailing list