[llvm] [VPlan] Model branch cond to enter scalar epilogue in VPlan. (PR #92651)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 5 00:46:10 PDT 2024
================
@@ -448,11 +449,15 @@ VPBasicBlock::createEmptyBasicBlock(VPTransformState::CFGState &CFG) {
}
void VPIRBasicBlock::execute(VPTransformState *State) {
- assert(getHierarchicalSuccessors().empty() &&
- "VPIRBasicBlock cannot have successors at the moment");
-
+ assert(getHierarchicalSuccessors().size() <= 2);
----------------
fhahn wrote:
I think at the moment 2 is the maximum for any block, would probably be good to also check in the verifier.
https://github.com/llvm/llvm-project/pull/92651
More information about the llvm-commits
mailing list