aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/IR
diff options
context:
space:
mode:
authorMichael Ilseman <milseman@apple.com>2013-01-11 01:45:05 +0000
committerMichael Ilseman <milseman@apple.com>2013-01-11 01:45:05 +0000
commit4d0b4a45dc724666d5de4f2f7c2d295487e4ca3e (patch)
treeafe95b9c520d0998bcfbade68b342bbe2894b212 /include/llvm/IR
parentb789b949b60c9a28686e638f75b2640d16d7144e (diff)
downloadexternal_llvm-4d0b4a45dc724666d5de4f2f7c2d295487e4ca3e.zip
external_llvm-4d0b4a45dc724666d5de4f2f7c2d295487e4ca3e.tar.gz
external_llvm-4d0b4a45dc724666d5de4f2f7c2d295487e4ca3e.tar.bz2
Support for half intrinsics. Pushes MMX into slower encoding path.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@172159 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/IR')
-rw-r--r--include/llvm/IR/Intrinsics.h2
-rw-r--r--include/llvm/IR/Intrinsics.td1
2 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/IR/Intrinsics.h b/include/llvm/IR/Intrinsics.h
index c9f7f3a..c97cd91 100644
--- a/include/llvm/IR/Intrinsics.h
+++ b/include/llvm/IR/Intrinsics.h
@@ -79,7 +79,7 @@ namespace Intrinsic {
/// getIntrinsicInfoTableEntries.
struct IITDescriptor {
enum IITDescriptorKind {
- Void, MMX, Metadata, Float, Double,
+ Void, MMX, Metadata, Half, Float, Double,
Integer, Vector, Pointer, Struct,
Argument, ExtendVecArgument, TruncVecArgument
} Kind;
diff --git a/include/llvm/IR/Intrinsics.td b/include/llvm/IR/Intrinsics.td
index e9fbba9..e252664 100644
--- a/include/llvm/IR/Intrinsics.td
+++ b/include/llvm/IR/Intrinsics.td
@@ -106,6 +106,7 @@ def llvm_i8_ty : LLVMType<i8>;
def llvm_i16_ty : LLVMType<i16>;
def llvm_i32_ty : LLVMType<i32>;
def llvm_i64_ty : LLVMType<i64>;
+def llvm_half_ty : LLVMType<f16>;
def llvm_float_ty : LLVMType<f32>;
def llvm_double_ty : LLVMType<f64>;
def llvm_f80_ty : LLVMType<f80>;