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

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 1 08:59:47 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(),
----------------
fhahn wrote:

Yep it isn't needed here any more in the latest version, moved back, thanks

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


More information about the llvm-commits mailing list