[llvm] [VPlan] Hook IR blocks into VPlan during skeleton creation (NFC) (PR #114292)
Florian Hahn via llvm-commits
llvm-commits at lists.llvm.org
Thu Dec 5 11:51:27 PST 2024
================
@@ -4177,10 +4176,6 @@ class VPBlockUtils {
unsigned PredIdx = -1u, unsigned SuccIdx = -1u) {
assert((From->getParent() == To->getParent()) &&
"Can't connect two block with different parents");
- assert((SuccIdx != -1u || From->getNumSuccessors() < 2) &&
- "Blocks can't have more than two successors.");
- assert((PredIdx != -1u || To->getNumPredecessors() < 2) &&
- "Blocks can't have more than two predecessors.");
----------------
fhahn wrote:
The second one doesn't hold any more, e.g. scalar.ph can now have more than 2 predecessors. Restored the first one.
https://github.com/llvm/llvm-project/pull/114292
More information about the llvm-commits
mailing list