[llvm] [VPlan] Replace VPRegionBlock with explicit CFG before execute (NFCI). (PR #117506)
Alexey Bataev via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 25 07:31:29 PST 2024
================
@@ -425,13 +425,17 @@ void VPBasicBlock::connectToPredecessors(VPTransformState::CFGState &CFG) {
VPBasicBlock *PredVPBB = PredVPBlock->getExitingBasicBlock();
auto &PredVPSuccessors = PredVPBB->getHierarchicalSuccessors();
BasicBlock *PredBB = CFG.VPBB2IRBB[PredVPBB];
----------------
alexey-bataev wrote:
This kind of accessing may create nullptr entry in `CFG.VPBB2IRBB`. Is this ok?
https://github.com/llvm/llvm-project/pull/117506
More information about the llvm-commits
mailing list