[llvm-commits] CVS: llvm/include/llvm/InstrTypes.h Intrinsics.td

Reid Spencer reid at x10sys.com
Sat Dec 30 21:23:37 PST 2006



Changes in directory llvm/include/llvm:

InstrTypes.h updated: 1.57 -> 1.58
Intrinsics.td updated: 1.35 -> 1.36
---
Log message:

For PR950: http://llvm.org/PR950 :
Change integer type names for signless integer types


---
Diffs of the changes:  (+9 -9)

 InstrTypes.h  |    2 +-
 Intrinsics.td |   16 ++++++++--------
 2 files changed, 9 insertions(+), 9 deletions(-)


Index: llvm/include/llvm/InstrTypes.h
diff -u llvm/include/llvm/InstrTypes.h:1.57 llvm/include/llvm/InstrTypes.h:1.58
--- llvm/include/llvm/InstrTypes.h:1.57	Sat Dec 23 13:06:54 2006
+++ llvm/include/llvm/InstrTypes.h	Sat Dec 30 23:23:18 2006
@@ -427,7 +427,7 @@
   /// involving Integer and Pointer types. They are no-op casts if the integer
   /// is the same size as the pointer. However, pointer size varies with 
   /// platform. Generally, the result of TargetData::getIntPtrType() should be
-  /// passed in. If that's not available, use Type::ULongTy, which will make
+  /// passed in. If that's not available, use Type::Int64Ty, which will make
   /// the isNoopCast call conservative.
   /// @brief Determine if this cast is a no-op cast. 
   bool isNoopCast(


Index: llvm/include/llvm/Intrinsics.td
diff -u llvm/include/llvm/Intrinsics.td:1.35 llvm/include/llvm/Intrinsics.td:1.36
--- llvm/include/llvm/Intrinsics.td:1.35	Fri Sep  8 01:43:00 2006
+++ llvm/include/llvm/Intrinsics.td	Sat Dec 30 23:23:18 2006
@@ -65,14 +65,14 @@
 
 def llvm_void_ty       : LLVMType<isVoid, "Type::VoidTyID">;
 def llvm_bool_ty       : LLVMType<i1 , "Type::BoolTyID">;
-def llvm_sbyte_ty      : LLVMType<i8 , "Type::SByteTyID">;
-def llvm_short_ty      : LLVMType<i16, "Type::ShortTyID">;
-def llvm_int_ty        : LLVMType<i32, "Type::IntTyID">;
-def llvm_long_ty       : LLVMType<i64, "Type::LongTyID">;
-def llvm_ubyte_ty      : LLVMType<i8,  "Type::UByteTyID">;
-def llvm_ushort_ty     : LLVMType<i16, "Type::UShortTyID">;
-def llvm_uint_ty       : LLVMType<i32, "Type::UIntTyID">;
-def llvm_ulong_ty      : LLVMType<i64, "Type::ULongTyID">;
+def llvm_sbyte_ty      : LLVMType<i8 , "Type::Int8TyID">;
+def llvm_short_ty      : LLVMType<i16, "Type::Int16TyID">;
+def llvm_int_ty        : LLVMType<i32, "Type::Int32TyID">;
+def llvm_long_ty       : LLVMType<i64, "Type::Int64TyID">;
+def llvm_ubyte_ty      : LLVMType<i8,  "Type::Int8TyID">;
+def llvm_ushort_ty     : LLVMType<i16, "Type::Int16TyID">;
+def llvm_uint_ty       : LLVMType<i32, "Type::Int32TyID">;
+def llvm_ulong_ty      : LLVMType<i64, "Type::Int64TyID">;
 def llvm_float_ty      : LLVMType<f32, "Type::FloatTyID">;
 def llvm_double_ty     : LLVMType<f64, "Type::DoubleTyID">;
 def llvm_ptr_ty        : LLVMType<iPTR, "Type::PointerTyID">;     // sbyte*






More information about the llvm-commits mailing list