[llvm-commits] CVS: llvm/include/llvm/Transforms/Scalar.h
Chris Lattner
sabre at nondot.org
Fri Mar 30 21:06:56 PDT 2007
Changes in directory llvm/include/llvm/Transforms:
Scalar.h updated: 1.77 -> 1.78
---
Log message:
Split the sdisel code munging stuff out into its own opt-pass, CodeGenPrepare.
---
Diffs of the changes: (+7 -1)
Scalar.h | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletion(-)
Index: llvm/include/llvm/Transforms/Scalar.h
diff -u llvm/include/llvm/Transforms/Scalar.h:1.77 llvm/include/llvm/Transforms/Scalar.h:1.78
--- llvm/include/llvm/Transforms/Scalar.h:1.77 Wed Mar 7 00:39:01 2007
+++ llvm/include/llvm/Transforms/Scalar.h Fri Mar 30 23:06:36 2007
@@ -121,7 +121,7 @@
// optional parameter used to consult the target machine whether certain
// transformations are profitable.
//
-LoopPass *createLoopStrengthReducePass(const TargetLowering *TLI = NULL);
+LoopPass *createLoopStrengthReducePass(const TargetLowering *TLI = 0);
//===----------------------------------------------------------------------===//
//
@@ -309,6 +309,12 @@
//
FunctionPass *createPredicateSimplifierPass();
+//===----------------------------------------------------------------------===//
+//
+// CodeGenPrepare - This pass prepares a function for instruction selection.
+//
+FunctionPass *createCodeGenPreparePass(const TargetLowering *TLI = 0);
+
} // End llvm namespace
#endif
More information about the llvm-commits
mailing list