[llvm-commits] CVS: llvm/lib/Analysis/LoadValueNumbering.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sun Jan 8 01:10:16 PST 2006
Changes in directory llvm/lib/Analysis:
LoadValueNumbering.cpp updated: 1.33 -> 1.34
---
Log message:
Fix a problem exposed by the et-forest work. Load-vn needs these passes live
whenever it is live, not just when load-vn is computed initially
---
Diffs of the changes: (+3 -3)
LoadValueNumbering.cpp | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Index: llvm/lib/Analysis/LoadValueNumbering.cpp
diff -u llvm/lib/Analysis/LoadValueNumbering.cpp:1.33 llvm/lib/Analysis/LoadValueNumbering.cpp:1.34
--- llvm/lib/Analysis/LoadValueNumbering.cpp:1.33 Mon Jun 20 10:25:22 2005
+++ llvm/lib/Analysis/LoadValueNumbering.cpp Sun Jan 8 03:10:04 2006
@@ -95,10 +95,10 @@
///
void LoadVN::getAnalysisUsage(AnalysisUsage &AU) const {
AU.setPreservesAll();
- AU.addRequired<AliasAnalysis>();
+ AU.addRequiredTransitive<AliasAnalysis>();
AU.addRequired<ValueNumbering>();
- AU.addRequired<DominatorSet>();
- AU.addRequired<TargetData>();
+ AU.addRequiredTransitive<DominatorSet>();
+ AU.addRequiredTransitive<TargetData>();
}
static bool isPathTransparentTo(BasicBlock *CurBlock, BasicBlock *Dom,
More information about the llvm-commits
mailing list