[llvm-commits] CVS: llvm/lib/Transforms/Scalar/IndVarSimplify.cpp LICM.cpp LoopSimplify.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sun Oct 12 16:55:04 PDT 2003
Changes in directory llvm/lib/Transforms/Scalar:
IndVarSimplify.cpp updated: 1.39 -> 1.40
LICM.cpp updated: 1.36 -> 1.37
LoopSimplify.cpp updated: 1.20 -> 1.21
---
Log message:
Rename loop preheaders pass to loop simplify
---
Diffs of the changes: (+4 -4)
Index: llvm/lib/Transforms/Scalar/IndVarSimplify.cpp
diff -u llvm/lib/Transforms/Scalar/IndVarSimplify.cpp:1.39 llvm/lib/Transforms/Scalar/IndVarSimplify.cpp:1.40
--- llvm/lib/Transforms/Scalar/IndVarSimplify.cpp:1.39 Fri Oct 10 12:50:50 2003
+++ llvm/lib/Transforms/Scalar/IndVarSimplify.cpp Sun Oct 12 16:52:27 2003
@@ -199,7 +199,7 @@
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
AU.addRequired<LoopInfo>();
- AU.addRequiredID(LoopPreheadersID);
+ AU.addRequiredID(LoopSimplifyID);
AU.setPreservesCFG();
}
};
Index: llvm/lib/Transforms/Scalar/LICM.cpp
diff -u llvm/lib/Transforms/Scalar/LICM.cpp:1.36 llvm/lib/Transforms/Scalar/LICM.cpp:1.37
--- llvm/lib/Transforms/Scalar/LICM.cpp:1.36 Fri Oct 10 12:50:50 2003
+++ llvm/lib/Transforms/Scalar/LICM.cpp Sun Oct 12 16:52:27 2003
@@ -53,7 +53,7 @@
///
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
AU.setPreservesCFG();
- AU.addRequiredID(LoopPreheadersID);
+ AU.addRequiredID(LoopSimplifyID);
AU.addRequired<LoopInfo>();
AU.addRequired<DominatorTree>();
AU.addRequired<DominanceFrontier>(); // For scalar promotion (mem2reg)
Index: llvm/lib/Transforms/Scalar/LoopSimplify.cpp
diff -u llvm/lib/Transforms/Scalar/LoopSimplify.cpp:1.20 llvm/lib/Transforms/Scalar/LoopSimplify.cpp:1.21
--- llvm/lib/Transforms/Scalar/LoopSimplify.cpp:1.20 Sun Oct 12 16:44:18 2003
+++ llvm/lib/Transforms/Scalar/LoopSimplify.cpp Sun Oct 12 16:52:27 2003
@@ -66,8 +66,8 @@
}
// Publically exposed interface to pass...
-const PassInfo *LoopPreheadersID = X.getPassInfo();
-Pass *createLoopPreheaderInsertionPass() { return new LoopSimplify(); }
+const PassInfo *LoopSimplifyID = X.getPassInfo();
+Pass *createLoopSimplifyPass() { return new LoopSimplify(); }
/// runOnFunction - Run down all loops in the CFG (recursively, but we could do
More information about the llvm-commits
mailing list