[llvm] [VPlan] Introduce child regions as VPlan transform. (PR #129402)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Apr 7 02:20:47 PDT 2025
================
@@ -351,6 +282,8 @@ void PlainCFGBuilder::createVPInstructionsForVPBB(VPBasicBlock *VPBB,
// Main interface to build the plain CFG.
void PlainCFGBuilder::buildPlainCFG(
DenseMap<VPBlockBase *, BasicBlock *> &VPB2IRBB) {
+ VPIRBasicBlock *Entry = cast<VPIRBasicBlock>(Plan.getEntry());
+ BB2VPBB[Entry->getIRBasicBlock()] = Entry;
// 1. Scan the body of the loop in a topological order to visit each basic
// block after having visited its predecessor basic blocks. Create a VPBB for
----------------
ayalz wrote:
typo below: incomming
https://github.com/llvm/llvm-project/pull/129402
More information about the llvm-commits
mailing list