[llvm-commits] CVS: llvm/include/llvm/Constants.h
Chris Lattner
lattner at cs.uiuc.edu
Sun Apr 4 18:21:01 PDT 2004
Changes in directory llvm/include/llvm:
Constants.h updated: 1.45 -> 1.46
---
Log message:
Add ConstantExpr::get(Sign|Zero)Extend methods
---
Diffs of the changes: (+2 -0)
Index: llvm/include/llvm/Constants.h
diff -u llvm/include/llvm/Constants.h:1.45 llvm/include/llvm/Constants.h:1.46
--- llvm/include/llvm/Constants.h:1.45 Sun Mar 28 20:37:17 2004
+++ llvm/include/llvm/Constants.h Sun Apr 4 18:20:26 2004
@@ -544,6 +544,8 @@
/// Cast constant expr
///
static Constant *getCast(Constant *C, const Type *Ty);
+ static Constant *getSignExtend(Constant *C, const Type *Ty);
+ static Constant *getZeroExtend(Constant *C, const Type *Ty);
/// Select constant expr
///
More information about the llvm-commits
mailing list