[llvm-commits] CVS: llvm/include/llvm/Transforms/Scalar.h
Chris Lattner
lattner at cs.uiuc.edu
Tue Mar 30 12:42:01 PST 2004
Changes in directory llvm/include/llvm/Transforms:
Scalar.h updated: 1.35 -> 1.36
---
Log message:
Add a simple select instruction lowering pass
---
Diffs of the changes: (+6 -0)
Index: llvm/include/llvm/Transforms/Scalar.h
diff -u llvm/include/llvm/Transforms/Scalar.h:1.35 llvm/include/llvm/Transforms/Scalar.h:1.36
--- llvm/include/llvm/Transforms/Scalar.h:1.35 Sat Mar 13 20:36:34 2004
+++ llvm/include/llvm/Transforms/Scalar.h Tue Mar 30 12:41:08 2004
@@ -254,6 +254,12 @@
//
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
More information about the llvm-commits
mailing list