mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-19 11:02:59 +02:00
Codegen: [MBP] Add messages to asserts. NFC
llvm-svn: 274075
This commit is contained in:
parent
011d429eab
commit
1d346dc82c
@ -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
Block a user