summaryrefslogtreecommitdiff
path: root/lib/Transforms/Utils
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2006-06-11 19:22:28 +0000
committerOwen Anderson <resistor@mac.com>2006-06-11 19:22:28 +0000
commitc2cc15cf9d926b8de41dabba86005a55806127a0 (patch)
tree39d433091ee79472ea511a0d5a6f39ebd7725016 /lib/Transforms/Utils
parentb9b2b309d3195d9e2ed1e72da8566a470783e8d7 (diff)
downloadllvm-c2cc15cf9d926b8de41dabba86005a55806127a0.tar.gz
llvm-c2cc15cf9d926b8de41dabba86005a55806127a0.tar.bz2
llvm-c2cc15cf9d926b8de41dabba86005a55806127a0.tar.xz
Re-commit the safe parts of my 6/9 patch. Still working on fixing the unsafe parts.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28748 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Transforms/Utils')
-rw-r--r--lib/Transforms/Utils/LCSSA.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Transforms/Utils/LCSSA.cpp b/lib/Transforms/Utils/LCSSA.cpp
index e1af50e745..ed02c97743 100644
--- a/lib/Transforms/Utils/LCSSA.cpp
+++ b/lib/Transforms/Utils/LCSSA.cpp
@@ -132,6 +132,8 @@ bool LCSSA::visitSubloop(Loop* L) {
processInstruction(*I, exitBlocks);
}
+ assert(L->isLCSSAForm());
+
return true;
}