Do not unconditionally redefine vec_ext_v16qi and
authorDale Johannesen <dalej@apple.com>
Mon, 4 Feb 2008 23:27:29 +0000 (23:27 +0000)
committerDale Johannesen <dalej@apple.com>
Mon, 4 Feb 2008 23:27:29 +0000 (23:27 +0000)
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

include/llvm/IntrinsicsX86.td

index 0230790a591242eb712c21ccd240b7a5aaed1d4c..f2f4a729b72da6d05b252f45f4b514a92b209eaa 100644 (file)
@@ -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]>;