From 7d3b0be05b1162efe2e26540d68e45cedef976b4 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Mon, 28 Sep 2009 14:38:19 +0000 Subject: [PATCH] Remove a redundant #ifndef and add an assertion string. llvm-svn: 82991 --- llvm/lib/Transforms/Utils/LCSSA.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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,