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
This commit is contained in:
Chris Lattner
2007-03-31 04:06:36 +00:00
parent d2f340b746
commit dbe0deca33
3 changed files with 556 additions and 1 deletions

View File

@@ -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