Skip to content

Commit 8488763

Browse files
committed
[NFC] UnifyLoopExits: correctly skip expensive checks
1 parent 2d2d696 commit 8488763

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Transforms/Utils/UnifyLoopExits.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ static bool unifyLoopExits(DominatorTree &DT, LoopInfo &LI, Loop *L) {
183183
#if defined(EXPENSIVE_CHECKS)
184184
assert(DT.verify(DominatorTree::VerificationLevel::Full));
185185
#else
186-
assert(DT.verify(DominatorTree::VerificationLevel::Full));
186+
assert(DT.verify(DominatorTree::VerificationLevel::Fast));
187187
#endif // EXPENSIVE_CHECKS
188188
L->verifyLoop();
189189

0 commit comments

Comments
 (0)