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:
Chris Lattner 2005-11-18 07:27:53 +00:00
parent a35bef9db2
commit a1fecc9c26

View File

@ -452,7 +452,7 @@ DominanceFrontier::calculate(const DominatorTree &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);
}
}