[llvm-commits] CVS: llvm/lib/VMCore/ConstantFolding.h
Chris Lattner
lattner at cs.uiuc.edu
Thu Mar 11 23:55:01 PST 2004
Changes in directory llvm/lib/VMCore:
ConstantFolding.h updated: 1.40 -> 1.41
---
Log message:
Add new function
---
Diffs of the changes: (+3 -0)
Index: llvm/lib/VMCore/ConstantFolding.h
diff -u llvm/lib/VMCore/ConstantFolding.h:1.40 llvm/lib/VMCore/ConstantFolding.h:1.41
--- llvm/lib/VMCore/ConstantFolding.h:1.40 Mon Jan 12 15:13:12 2004
+++ llvm/lib/VMCore/ConstantFolding.h Thu Mar 11 23:53:41 2004
@@ -27,6 +27,9 @@
// Constant fold various types of instruction...
Constant *ConstantFoldCastInstruction(const Constant *V, const Type *DestTy);
+ Constant *ConstantFoldSelectInstruction(const Constant *Cond,
+ const Constant *V1,
+ const Constant *V2);
Constant *ConstantFoldBinaryInstruction(unsigned Opcode, const Constant *V1,
const Constant *V2);
Constant *ConstantFoldGetElementPtr(const Constant *C,
More information about the llvm-commits
mailing list