[SLP] Check invariant that all instructions in bundle are in same block [NFC]

This commit is contained in:
Philip Reames 2022-02-28 13:17:35 -08:00
parent f3487c7be9
commit 8cb0ac5825
1 changed files with 3 additions and 0 deletions

View File

@ -2517,6 +2517,9 @@ private:
"only bundle is marked scheduled");
}
}
assert(Inst->getParent() == FirstInBundle->Inst->getParent() &&
"all bundle members must be in same basic block");
}
/// Returns true if the dependency information has been calculated.