Add dom info verifier.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@52967 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Devang Patel
2008-07-01 17:44:24 +00:00
parent 605041e5a8
commit 5b57e720c8
5 changed files with 165 additions and 7 deletions
+3
View File
@@ -234,6 +234,9 @@ bool LPPassManager::runOnFunction(Function &F) {
recordAvailableAnalysis(P);
removeDeadPasses(P, "", ON_LOOP_MSG);
// Verify dominator information if it is available and preserved.
verifyDomInfo(*LP, F);
if (skipThisLoop)
// Do not run other passes on this loop.
break;