aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Analysis
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2005-11-18 07:28:26 +0000
committerChris Lattner <sabre@nondot.org>2005-11-18 07:28:26 +0000
commit4b5086cc717b4d5592534034506a49df38ed0c66 (patch)
treefa8d48baa2193d5519ab8dcfd6f0a18d30e533e5 /lib/Analysis
parenta1fecc9c26a16859cd20b01758f852a868d41355 (diff)
downloadexternal_llvm-4b5086cc717b4d5592534034506a49df38ed0c66.zip
external_llvm-4b5086cc717b4d5592534034506a49df38ed0c66.tar.gz
external_llvm-4b5086cc717b4d5592534034506a49df38ed0c66.tar.bz2
post-dom-frontiers requires proper post-dominance
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24409 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis')
-rw-r--r--lib/Analysis/PostDominators.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/PostDominators.cpp b/lib/Analysis/PostDominators.cpp
index 381b03c..56af6f6 100644
--- a/lib/Analysis/PostDominators.cpp
+++ b/lib/Analysis/PostDominators.cpp
@@ -239,7 +239,7 @@ PostDominanceFrontier::calculate(const PostDominatorTree &DT,
DomSetType::const_iterator CDFI = ChildDF.begin(), CDFE = ChildDF.end();
for (; CDFI != CDFE; ++CDFI) {
- if (!Node->dominates(DT[*CDFI]))
+ if (!Node->properlyDominates(DT[*CDFI]))
S.insert(*CDFI);
}
}