forked from OSchip/llvm-project
Remove replicate intrinsics, clang will generate shufflevector for those. The shuffles can't be matched by x86 codegen yet, but will soon
llvm-svn: 110647
This commit is contained in:
parent
3d3fc1d075
commit
2ccdcad5d9
|
|
@ -1186,16 +1186,6 @@ let TargetPrefix = "x86" in { // All intrinsics start with "llvm.x86.".
|
||||||
Intrinsic<[llvm_v2f64_ty], [llvm_v4f64_ty], [IntrNoMem]>;
|
Intrinsic<[llvm_v2f64_ty], [llvm_v4f64_ty], [IntrNoMem]>;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Vector replicate
|
|
||||||
let TargetPrefix = "x86" in { // All intrinsics start with "llvm.x86.".
|
|
||||||
def int_x86_avx_movshdup_256 : GCCBuiltin<"__builtin_ia32_movshdup256">,
|
|
||||||
Intrinsic<[llvm_v8f32_ty], [llvm_v8f32_ty], [IntrNoMem]>;
|
|
||||||
def int_x86_avx_movsldup_256 : GCCBuiltin<"__builtin_ia32_movsldup256">,
|
|
||||||
Intrinsic<[llvm_v8f32_ty], [llvm_v8f32_ty], [IntrNoMem]>;
|
|
||||||
def int_x86_avx_movddup_256 : GCCBuiltin<"__builtin_ia32_movddup256">,
|
|
||||||
Intrinsic<[llvm_v4f64_ty], [llvm_v4f64_ty], [IntrNoMem]>;
|
|
||||||
}
|
|
||||||
|
|
||||||
// Vector unpack and interleave
|
// Vector unpack and interleave
|
||||||
let TargetPrefix = "x86" in { // All intrinsics start with "llvm.x86.".
|
let TargetPrefix = "x86" in { // All intrinsics start with "llvm.x86.".
|
||||||
def int_x86_avx_unpckh_pd_256 : GCCBuiltin<"__builtin_ia32_unpckhpd256">,
|
def int_x86_avx_unpckh_pd_256 : GCCBuiltin<"__builtin_ia32_unpckhpd256">,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue