summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-09-28 14:38:19 +0000
committerDan Gohman <gohman@apple.com>2009-09-28 14:38:19 +0000
commit7d3b0be05b1162efe2e26540d68e45cedef976b4 (patch)
tree17030e78cfbe75aa19d995f7917fa32bf53f7b4b /llvm/lib/Transforms/Utils
parent9a7320c7110ee7f5450f8c46abe361de769886c0 (diff)
downloadbcm5719-llvm-7d3b0be05b1162efe2e26540d68e45cedef976b4.tar.gz
bcm5719-llvm-7d3b0be05b1162efe2e26540d68e45cedef976b4.zip
Remove a redundant #ifndef and add an assertion string.
llvm-svn: 82991
Diffstat (limited to 'llvm/lib/Transforms/Utils')
-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