diff --git a/llvm/lib/Transforms/Utils/LCSSA.cpp b/llvm/lib/Transforms/Utils/LCSSA.cpp index b510262c05ca..48e6a17a0661 100644 --- a/llvm/lib/Transforms/Utils/LCSSA.cpp +++ b/llvm/lib/Transforms/Utils/LCSSA.cpp @@ -90,10 +90,8 @@ namespace { /// verifyAnalysis() - Verify loop nest. virtual void verifyAnalysis() const { -#ifndef NDEBUG // Check the special guarantees that LCSSA makes. - assert(L->isLCSSAForm()); -#endif + assert(L->isLCSSAForm() && "LCSSA form not preserved!"); } void getLoopValuesUsedOutsideLoop(Loop *L,