summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Utils/LCSSA.cpp
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
commitb538f14d2a4afeb9628b2791d387e2ce117ceec6 (patch)
treef58179802da9f414a973c9e3f21be4d38a3ff996 /llvm/lib/Transforms/Utils/LCSSA.cpp
parent1b6e310e6f1e8bedf30ddef5a8903bdd0c648479 (diff)
downloadbcm5719-llvm-b538f14d2a4afeb9628b2791d387e2ce117ceec6.tar.gz
bcm5719-llvm-b538f14d2a4afeb9628b2791d387e2ce117ceec6.zip
Re-commit the safe parts of my 6/9 patch. Still working on fixing the unsafe parts.
llvm-svn: 28748
Diffstat (limited to 'llvm/lib/Transforms/Utils/LCSSA.cpp')
-rw-r--r--llvm/lib/Transforms/Utils/LCSSA.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Transforms/Utils/LCSSA.cpp b/llvm/lib/Transforms/Utils/LCSSA.cpp
index e1af50e7454..ed02c977430 100644
--- a/llvm/lib/Transforms/Utils/LCSSA.cpp
+++ b/llvm/lib/Transforms/Utils/LCSSA.cpp
@@ -132,6 +132,8 @@ bool LCSSA::visitSubloop(Loop* L) {
processInstruction(*I, exitBlocks);
}
+ assert(L->isLCSSAForm());
+
return true;
}
OpenPOWER on IntegriCloud