mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-25 20:59:51 +00:00
post-dom-frontiers requires proper post-dominance
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24409 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a1fecc9c26
commit
4b5086cc71
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user