diff --git a/llvm/lib/Transforms/Utils/UnifyLoopExits.cpp b/llvm/lib/Transforms/Utils/UnifyLoopExits.cpp index 15c951fb1843..8cdb4d670ac0 100644 --- a/llvm/lib/Transforms/Utils/UnifyLoopExits.cpp +++ b/llvm/lib/Transforms/Utils/UnifyLoopExits.cpp @@ -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();