summaryrefslogtreecommitdiff
path: root/lib/Analysis/PostDominators.cpp
diff options
context:
space:
mode:
authorDevang Patel <dpatel@apple.com>2008-03-20 23:27:18 +0000
committerDevang Patel <dpatel@apple.com>2008-03-20 23:27:18 +0000
commit9f83512ce80279aa5ff243d4285283438360d015 (patch)
tree642c6d2fe044b029181f4a70054c17f137bfa492 /lib/Analysis/PostDominators.cpp
parent488b678a4915eae8e878f5776549a19493edecf7 (diff)
downloadllvm-9f83512ce80279aa5ff243d4285283438360d015.tar.gz
llvm-9f83512ce80279aa5ff243d4285283438360d015.tar.bz2
llvm-9f83512ce80279aa5ff243d4285283438360d015.tar.xz
These passes preserve CFG.
This patch fixes Benchmarks/Trimaran/enc-pc1/enc-pc1 failure reported by Grawp-PIC i386 nightly tester git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48623 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/PostDominators.cpp')
-rw-r--r--lib/Analysis/PostDominators.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Analysis/PostDominators.cpp b/lib/Analysis/PostDominators.cpp
index ad8e0b17d4..8bfa0692b9 100644
--- a/lib/Analysis/PostDominators.cpp
+++ b/lib/Analysis/PostDominators.cpp
@@ -26,7 +26,7 @@ using namespace llvm;
char PostDominatorTree::ID = 0;
char PostDominanceFrontier::ID = 0;
static RegisterPass<PostDominatorTree>
-F("postdomtree", "Post-Dominator Tree Construction", false, true);
+F("postdomtree", "Post-Dominator Tree Construction", true, true);
bool PostDominatorTree::runOnFunction(Function &F) {
DT->recalculate(F);
@@ -38,7 +38,7 @@ bool PostDominatorTree::runOnFunction(Function &F) {
//===----------------------------------------------------------------------===//
static RegisterPass<PostDominanceFrontier>
-H("postdomfrontier", "Post-Dominance Frontier Construction", false, true);
+H("postdomfrontier", "Post-Dominance Frontier Construction", true, true);
const DominanceFrontier::DomSetType &
PostDominanceFrontier::calculate(const PostDominatorTree &DT,