mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-24 21:14:56 +00:00
This requires proper dominance
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@24408 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a35bef9db2
commit
a1fecc9c26
@ -452,7 +452,7 @@ DominanceFrontier::calculate(const DominatorTree &DT,
|
|||||||
|
|
||||||
DomSetType::const_iterator CDFI = ChildDF.begin(), CDFE = ChildDF.end();
|
DomSetType::const_iterator CDFI = ChildDF.begin(), CDFE = ChildDF.end();
|
||||||
for (; CDFI != CDFE; ++CDFI) {
|
for (; CDFI != CDFE; ++CDFI) {
|
||||||
if (!Node->dominates(DT[*CDFI]))
|
if (!Node->properlyDominates(DT[*CDFI]))
|
||||||
S.insert(*CDFI);
|
S.insert(*CDFI);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user