1
0
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:
Kyle Butt 2016-06-28 22:50:54 +00:00
parent 011d429eab
commit 1d346dc82c

View File

@ -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.