diff options
author | Chris Lattner <sabre@nondot.org> | 2007-03-31 04:06:36 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2007-03-31 04:06:36 +0000 |
commit | dbe0deca339585dfbaed5951ef0ca2c6a0df173c (patch) | |
tree | ffc084b3987295cbaa43c84a62a00b17a3451d91 /include/llvm/Transforms | |
parent | d2f340b746e54fca27b654fd6740973fdf6b85f1 (diff) |
Split the sdisel code munging stuff out into its own opt-pass, CodeGenPrepare.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35528 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Transforms')
-rw-r--r-- | include/llvm/Transforms/Scalar.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/llvm/Transforms/Scalar.h b/include/llvm/Transforms/Scalar.h index a675730326..379ee577b2 100644 --- a/include/llvm/Transforms/Scalar.h +++ b/include/llvm/Transforms/Scalar.h @@ -121,7 +121,7 @@ LoopPass *createLICMPass(); // 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 @@ extern const PassInfo *LCSSAID; // FunctionPass *createPredicateSimplifierPass(); +//===----------------------------------------------------------------------===// +// +// CodeGenPrepare - This pass prepares a function for instruction selection. +// +FunctionPass *createCodeGenPreparePass(const TargetLowering *TLI = 0); + } // End llvm namespace #endif |