diff options
author | Devang Patel <dpatel@apple.com> | 2008-03-19 21:56:59 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2008-03-19 21:56:59 +0000 |
commit | c758209153ca0f6da6737f25ada269c573fba456 (patch) | |
tree | 88b334fb5710b2d63089bdb840135dc1e8f7ebfa /lib/VMCore/Dominators.cpp | |
parent | 7925ed05d0245aca0b0b2ea8d8a0b35b77c5ebd4 (diff) | |
download | external_llvm-c758209153ca0f6da6737f25ada269c573fba456.tar.gz external_llvm-c758209153ca0f6da6737f25ada269c573fba456.tar.bz2 external_llvm-c758209153ca0f6da6737f25ada269c573fba456.zip |
PassInfo keep tracks whether a pass is an analysis pass or not.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48554 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Dominators.cpp')
-rw-r--r-- | lib/VMCore/Dominators.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/VMCore/Dominators.cpp b/lib/VMCore/Dominators.cpp index ceb1df8c63..28f772f93f 100644 --- a/lib/VMCore/Dominators.cpp +++ b/lib/VMCore/Dominators.cpp @@ -54,7 +54,7 @@ TEMPLATE_INSTANTIATION(class DominatorTreeBase<BasicBlock>); char DominatorTree::ID = 0; static RegisterPass<DominatorTree> -E("domtree", "Dominator Tree Construction", true); +E("domtree", "Dominator Tree Construction", true, true); bool DominatorTree::runOnFunction(Function &F) { DT->recalculate(F); @@ -68,7 +68,7 @@ bool DominatorTree::runOnFunction(Function &F) { char DominanceFrontier::ID = 0; static RegisterPass<DominanceFrontier> -G("domfrontier", "Dominance Frontier Construction", true); +G("domfrontier", "Dominance Frontier Construction", true, true); // NewBB is split and now it has one successor. Update dominace frontier to // reflect this change. |