[llvm-commits] CVS: llvm/lib/Analysis/PostDominators.cpp
Chris Lattner
lattner at cs.uiuc.edu
Thu Nov 17 23:28:38 PST 2005
Changes in directory llvm/lib/Analysis:
PostDominators.cpp updated: 1.52 -> 1.53
---
Log message:
post-dom-frontiers requires proper post-dominance
---
Diffs of the changes: (+1 -1)
PostDominators.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/Analysis/PostDominators.cpp
diff -u llvm/lib/Analysis/PostDominators.cpp:1.52 llvm/lib/Analysis/PostDominators.cpp:1.53
--- llvm/lib/Analysis/PostDominators.cpp:1.52 Thu Apr 21 22:54:55 2005
+++ llvm/lib/Analysis/PostDominators.cpp Fri Nov 18 01:28:26 2005
@@ -239,7 +239,7 @@
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);
}
}
More information about the llvm-commits
mailing list