forked from OSchip/llvm-project
Codegen: [MBP] Add messages to asserts. NFC
llvm-svn: 274075
This commit is contained in:
parent
465651fe3d
commit
82c2290e0f
|
@ -855,9 +855,10 @@ void MachineBlockPlacement::buildChain(
|
|||
BlockFilter);
|
||||
BB = *std::prev(Chain.end());
|
||||
for (;;) {
|
||||
assert(BB);
|
||||
assert(BlockToChain[BB] == &Chain);
|
||||
assert(*std::prev(Chain.end()) == BB);
|
||||
assert(BB && "null block found at end of chain in loop.");
|
||||
assert(BlockToChain[BB] == &Chain && "BlockToChainMap mis-match in loop.");
|
||||
assert(*std::prev(Chain.end()) == BB && "BB Not found at end of chain.");
|
||||
|
||||
|
||||
// Look for the best viable successor if there is one to place immediately
|
||||
// after this block.
|
||||
|
|
Loading…
Reference in New Issue