diff options
author | Chris Lattner <sabre@nondot.org> | 2005-11-18 07:28:26 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-11-18 07:28:26 +0000 |
commit | b14c41378d9b84955a1871d8a89e3d32c4e358a4 (patch) | |
tree | 79c24857e55998e216729e25ba26c1be13934d0a /llvm/lib/Analysis | |
parent | f519d1c6ef778801b39814a042603e907c6ae4ba (diff) | |
download | bcm5719-llvm-b14c41378d9b84955a1871d8a89e3d32c4e358a4.tar.gz bcm5719-llvm-b14c41378d9b84955a1871d8a89e3d32c4e358a4.zip |
post-dom-frontiers requires proper post-dominance
llvm-svn: 24409
Diffstat (limited to 'llvm/lib/Analysis')
-rw-r--r-- | llvm/lib/Analysis/PostDominators.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/PostDominators.cpp b/llvm/lib/Analysis/PostDominators.cpp index 381b03c7141..56af6f65248 100644 --- a/llvm/lib/Analysis/PostDominators.cpp +++ b/llvm/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); } } |