Add a simple select instruction lowering pass

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12540 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2004-03-30 18:41:10 +00:00
parent fc33d30446
commit 18bdbc3dda
2 changed files with 101 additions and 0 deletions

View File

@@ -254,6 +254,12 @@ FunctionPass *createLowerAllocationsPass();
//
FunctionPass *createLowerSwitchPass();
//===----------------------------------------------------------------------===//
// This pass converts SelectInst instructions into conditional branch and PHI
// instructions. If the OnlyFP flag is set to true, then only floating point
// select instructions are lowered.
//
FunctionPass *createLowerSelectPass(bool OnlyFP = false);
//===----------------------------------------------------------------------===//
// This pass converts 'invoke' instructions calls, and 'unwind' instructions