[llvm] [VPlan] Compute interleave count for VPlan. (PR #149702)

David Sherwood via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 1 07:29:21 PDT 2025


================
@@ -10114,8 +10149,11 @@ bool LoopVectorizePass::processLoop(Loop *L) {
 
   GeneratedRTChecks Checks(PSE, DT, LI, TTI, F->getDataLayout(), CM.CostKind);
   if (LVP.hasPlanWithVF(VF.Width)) {
+    VPCostContext CostCtx(CM.TTI, *CM.TLI, CM.Legal->getWidestInductionType(),
----------------
david-arm wrote:

Why has this moved? It doesn't seem to be needed here.

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


More information about the llvm-commits mailing list