[llvm] [VPlan] Connect Entry to scalar preheader during initial construction. (PR #140132)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Tue May 27 05:51:22 PDT 2025
================
@@ -7876,7 +7870,10 @@ EpilogueVectorizerMainLoop::emitIterationCountCheck(BasicBlock *Bypass,
setBranchWeights(BI, MinItersBypassWeights, /*IsExpected=*/false);
ReplaceInstWithInst(TCCheckBlock->getTerminator(), &BI);
- introduceCheckBlockInVPlan(TCCheckBlock);
+ // Only generate add a new block for the trip-count check for the main loop.
+ // The epilogue will use the already existing VPlan entry block.
----------------
fhahn wrote:
updated thanks
https://github.com/llvm/llvm-project/pull/140132
More information about the llvm-commits
mailing list