diff options
author | Dale Johannesen <dalej@apple.com> | 2008-02-04 23:27:29 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2008-02-04 23:27:29 +0000 |
commit | e4ce1627f68ce72a4da4bb11d3cdf24fc051e446 (patch) | |
tree | 327f1cf467aac3bcf2b30ffa882512fc922bbd66 /include | |
parent | ee6db0f4e93fc47b6b482c2235c06fbbbdd4bb74 (diff) | |
download | external_llvm-e4ce1627f68ce72a4da4bb11d3cdf24fc051e446.zip external_llvm-e4ce1627f68ce72a4da4bb11d3cdf24fc051e446.tar.gz external_llvm-e4ce1627f68ce72a4da4bb11d3cdf24fc051e446.tar.bz2 |
Do not unconditionally redefine vec_ext_v16qi and
vec_ext_v4si builtins. This is a hack; they should
be defined here, then resolved in the X86 BE.
However there is enough other stuff missing in the
X86 BE for SSE41 that this will do for now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46727 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/IntrinsicsX86.td | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/llvm/IntrinsicsX86.td b/include/llvm/IntrinsicsX86.td index 0230790..f2f4a72 100644 --- a/include/llvm/IntrinsicsX86.td +++ b/include/llvm/IntrinsicsX86.td @@ -764,9 +764,9 @@ let TargetPrefix = "x86" in { // All intrinsics start with "llvm.x86.". // Vector extract let TargetPrefix = "x86" in { // All intrinsics start with "llvm.x86.". - def int_x86_sse41_pextrb : GCCBuiltin<"__builtin_ia32_vec_ext_v16qi">, + def int_x86_sse41_pextrb : Intrinsic<[llvm_i32_ty, llvm_v16i8_ty, llvm_i32_ty]>; - def int_x86_sse41_pextrd : GCCBuiltin<"__builtin_ia32_vec_ext_v4si">, + def int_x86_sse41_pextrd : Intrinsic<[llvm_i32_ty, llvm_v4i32_ty, llvm_i32_ty]>; def int_x86_sse41_pextrq : GCCBuiltin<"__builtin_ia32_vec_ext_v2di">, Intrinsic<[llvm_i64_ty, llvm_v2i64_ty, llvm_i32_ty]>; |