forked from OSchip/llvm-project
[X86] Remove GCCBuiltin for some intrinsics that aren't used by clang. Add TODO to remove them.
llvm-svn: 312136
This commit is contained in:
parent
5ece4cfe1e
commit
baae732946
|
@ -4407,36 +4407,30 @@ def int_x86_avx512_mask_range_ps_512 : GCCBuiltin<"__builtin_ia32_rangeps512_mas
|
|||
|
||||
// Vector load with broadcast
|
||||
let TargetPrefix = "x86" in { // All intrinsics start with "llvm.x86.".
|
||||
// TODO: Remove the broadcast intrinsics with no gcc builtin and autoupgrade
|
||||
def int_x86_avx512_vbroadcast_ss_512 :
|
||||
GCCBuiltin<"__builtin_ia32_vbroadcastss512">,
|
||||
Intrinsic<[llvm_v16f32_ty], [llvm_ptr_ty], [IntrReadMem, IntrArgMemOnly]>;
|
||||
|
||||
def int_x86_avx512_vbroadcast_sd_512 :
|
||||
GCCBuiltin<"__builtin_ia32_vbroadcastsd512">,
|
||||
Intrinsic<[llvm_v8f64_ty], [llvm_ptr_ty], [IntrReadMem, IntrArgMemOnly]>;
|
||||
|
||||
def int_x86_avx512_mask_broadcastf32x2_256 :
|
||||
GCCBuiltin<"__builtin_ia32_broadcastf32x2_256_mask">,
|
||||
Intrinsic<[llvm_v8f32_ty],
|
||||
[llvm_v4f32_ty, llvm_v8f32_ty, llvm_i8_ty], [IntrNoMem]>;
|
||||
|
||||
def int_x86_avx512_mask_broadcastf32x2_512 :
|
||||
GCCBuiltin<"__builtin_ia32_broadcastf32x2_512_mask">,
|
||||
Intrinsic<[llvm_v16f32_ty],
|
||||
[llvm_v4f32_ty, llvm_v16f32_ty, llvm_i16_ty], [IntrNoMem]>;
|
||||
|
||||
def int_x86_avx512_mask_broadcasti32x2_128 :
|
||||
GCCBuiltin<"__builtin_ia32_broadcasti32x2_128_mask">,
|
||||
Intrinsic<[llvm_v4i32_ty],
|
||||
[llvm_v4i32_ty, llvm_v4i32_ty, llvm_i8_ty], [IntrNoMem]>;
|
||||
|
||||
def int_x86_avx512_mask_broadcasti32x2_256 :
|
||||
GCCBuiltin<"__builtin_ia32_broadcasti32x2_256_mask">,
|
||||
Intrinsic<[llvm_v8i32_ty],
|
||||
[llvm_v4i32_ty, llvm_v8i32_ty, llvm_i8_ty], [IntrNoMem]>;
|
||||
|
||||
def int_x86_avx512_mask_broadcasti32x2_512 :
|
||||
GCCBuiltin<"__builtin_ia32_broadcasti32x2_512_mask">,
|
||||
Intrinsic<[llvm_v16i32_ty],
|
||||
[llvm_v4i32_ty, llvm_v16i32_ty, llvm_i16_ty], [IntrNoMem]>;
|
||||
|
||||
|
|
Loading…
Reference in New Issue