[llvm-commits] CVS: llvm/lib/Transforms/Scalar/DCE.cpp InstructionCombining.cpp
Brian Gaeke
gaeke at cs.uiuc.edu
Tue Jul 27 10:43:32 PDT 2004
Changes in directory llvm/lib/Transforms/Scalar:
DCE.cpp updated: 1.53 -> 1.54
InstructionCombining.cpp updated: 1.231 -> 1.232
---
Log message:
Make the create...() functions for some of these passes return a FunctionPass *.
---
Diffs of the changes: (+2 -2)
Index: llvm/lib/Transforms/Scalar/DCE.cpp
diff -u llvm/lib/Transforms/Scalar/DCE.cpp:1.53 llvm/lib/Transforms/Scalar/DCE.cpp:1.54
--- llvm/lib/Transforms/Scalar/DCE.cpp:1.53 Tue Apr 27 10:12:23 2004
+++ llvm/lib/Transforms/Scalar/DCE.cpp Tue Jul 27 12:43:21 2004
@@ -123,7 +123,7 @@
return true;
}
-Pass *llvm::createDeadCodeEliminationPass() {
+FunctionPass *llvm::createDeadCodeEliminationPass() {
return new DCE();
}
Index: llvm/lib/Transforms/Scalar/InstructionCombining.cpp
diff -u llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.231 llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.232
--- llvm/lib/Transforms/Scalar/InstructionCombining.cpp:1.231 Wed Jul 21 15:14:10 2004
+++ llvm/lib/Transforms/Scalar/InstructionCombining.cpp Tue Jul 27 12:43:21 2004
@@ -3210,7 +3210,7 @@
return Changed;
}
-Pass *llvm::createInstructionCombiningPass() {
+FunctionPass *llvm::createInstructionCombiningPass() {
return new InstCombiner();
}
More information about the llvm-commits
mailing list