forked from OSchip/llvm-project
[NFC] UnifyLoopExits: correctly skip expensive checks
This commit is contained in:
parent
2d2d696137
commit
8488763682
|
@ -183,7 +183,7 @@ static bool unifyLoopExits(DominatorTree &DT, LoopInfo &LI, Loop *L) {
|
|||
#if defined(EXPENSIVE_CHECKS)
|
||||
assert(DT.verify(DominatorTree::VerificationLevel::Full));
|
||||
#else
|
||||
assert(DT.verify(DominatorTree::VerificationLevel::Full));
|
||||
assert(DT.verify(DominatorTree::VerificationLevel::Fast));
|
||||
#endif // EXPENSIVE_CHECKS
|
||||
L->verifyLoop();
|
||||
|
||||
|
|
Loading…
Reference in New Issue