aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2006-03-27 22:49:46 +0000
committerChris Lattner <sabre@nondot.org>2006-03-27 22:49:46 +0000
commitf211600f3deae9a37a131b028d7bb38e7da250f2 (patch)
tree2d7a3b85379ba1d01f317eb57b7dc86d0c06e12b
parent5dc8050ca3797d7001d05ade44bae199bbe324cf (diff)
Add support for intrinsics with pointer arguments in target .td files.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27190 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Intrinsics.td6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/llvm/Intrinsics.td b/include/llvm/Intrinsics.td
index 4c1b143cd7..a714a9c3dd 100644
--- a/include/llvm/Intrinsics.td
+++ b/include/llvm/Intrinsics.td
@@ -75,9 +75,9 @@ def llvm_uint_ty : LLVMType<i32, "Type::UIntTyID">;
def llvm_ulong_ty : LLVMType<i64, "Type::ULongTyID">;
def llvm_float_ty : LLVMType<f32, "Type::FloatTyID">;
def llvm_double_ty : LLVMType<f64, "Type::DoubleTyID">;
-def llvm_ptr_ty : LLVMType<OtherVT, "Type::PointerTyID">; // sbyte*
-def llvm_ptrptr_ty : LLVMType<OtherVT, "Type::PointerTyID">; // sbyte**
-def llvm_descriptor_ty : LLVMType<OtherVT, "Type::PointerTyID">; // global*
+def llvm_ptr_ty : LLVMType<iPTR, "Type::PointerTyID">; // sbyte*
+def llvm_ptrptr_ty : LLVMType<iPTR, "Type::PointerTyID">; // sbyte**
+def llvm_descriptor_ty : LLVMType<iPTR, "Type::PointerTyID">; // global*
def llvm_v16i8_ty : LLVMPackedType<v16i8,16, llvm_sbyte_ty>; // 16 x sbyte
def llvm_v8i16_ty : LLVMPackedType<v8i16, 8, llvm_short_ty>; // 8 x short