[NFC] UnifyLoopExits: correctly skip expensive checks

This commit is contained in:
Sameer Sahasrabuddhe 2020-04-27 15:10:35 +05:30
parent 2d2d696137
commit 8488763682
1 changed files with 1 additions and 1 deletions

View File

@ -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();