Add an assertion to check that we're really preserving LCSSA.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29886 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Owen Anderson 2006-08-25 22:12:36 +00:00
parent b9ca92661c
commit eb70591492

View File

@ -571,4 +571,6 @@ void IndVarSimplify::runOnLoop(Loop *L) {
#endif
DeleteTriviallyDeadInstructions(DeadInsts);
if (mustPreserveAnalysisID(LCSSAID)) assert(L->isLCSSAForm());
}