[llvm] [VPlan] Connect Entry to scalar preheader during initial construction. (PR #140132)

Florian Hahn via llvm-commits llvm-commits at lists.llvm.org
Fri May 23 07:46:19 PDT 2025


================
@@ -8070,7 +8064,8 @@ EpilogueVectorizerMainLoop::emitIterationCountCheck(BasicBlock *Bypass,
     setBranchWeights(BI, MinItersBypassWeights, /*IsExpected=*/false);
   ReplaceInstWithInst(TCCheckBlock->getTerminator(), &BI);
 
-  introduceCheckBlockInVPlan(TCCheckBlock);
+  if (!ForEpilogue)
----------------
fhahn wrote:

Added thanks

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


More information about the llvm-commits mailing list