summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/Transforms/Utils/LCSSA.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/lib/Transforms/Utils/LCSSA.cpp b/llvm/lib/Transforms/Utils/LCSSA.cpp
index b510262c05c..48e6a17a066 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,
OpenPOWER on IntegriCloud