mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-26 04:32:44 +01:00
[NFC] Assert that all blocks staying in loop are live
llvm-svn: 347458
This commit is contained in:
parent
351f1250a0
commit
2646e999a1
@ -226,6 +226,8 @@ private:
|
||||
// Sanity check: header must be in loop.
|
||||
assert(BlocksInLoopAfterFolding.count(L.getHeader()) &&
|
||||
"Header not in loop?");
|
||||
assert(BlocksInLoopAfterFolding.size() <= LiveLoopBlocks.size() &&
|
||||
"All blocks that stay in loop should be live!");
|
||||
}
|
||||
|
||||
/// Constant-fold terminators of blocks acculumated in FoldCandidates into the
|
||||
|
Loading…
Reference in New Issue
Block a user