diff options
Diffstat (limited to 'include/llvm/Transforms/Scalar.h')
-rw-r--r-- | include/llvm/Transforms/Scalar.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/Transforms/Scalar.h b/include/llvm/Transforms/Scalar.h index 59ff8f2..8b0a1d7 100644 --- a/include/llvm/Transforms/Scalar.h +++ b/include/llvm/Transforms/Scalar.h @@ -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 |