зеркало из https://github.com/microsoft/clang.git
Remove an unused builtin.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@72033 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Родитель
79dcf5f96a
Коммит
409bf46742
|
@ -385,7 +385,6 @@ BUILTIN(__builtin_ia32_vec_set_v4si, "V4iV4iii", "")
|
|||
BUILTIN(__builtin_ia32_vec_set_v2di, "V2LLiV2LLiLLii", "")
|
||||
BUILTIN(__builtin_ia32_insertps128, "V4fV4fV4fi", "")
|
||||
|
||||
BUILTIN(__builtin_ia32_movqv4si, "V4iV4i", "")
|
||||
BUILTIN(__builtin_ia32_loadlv4si, "V4iV2i*", "")
|
||||
BUILTIN(__builtin_ia32_storelv4si, "vV2i*V2LLi", "")
|
||||
|
||||
|
|
|
@ -883,10 +883,6 @@ Value *CodeGenFunction::EmitX86BuiltinExpr(unsigned BuiltinID,
|
|||
return EmitShuffleVector(Ops[0], Ops[1], 0, 2, "unpcklpd");
|
||||
case X86::BI__builtin_ia32_movsd:
|
||||
return EmitShuffleVector(Ops[0], Ops[1], 2, 1, "movsd");
|
||||
case X86::BI__builtin_ia32_movqv4si: {
|
||||
llvm::Type *Ty = llvm::VectorType::get(llvm::Type::Int64Ty, 2);
|
||||
return Builder.CreateBitCast(Ops[0], Ty);
|
||||
}
|
||||
case X86::BI__builtin_ia32_loadlps:
|
||||
case X86::BI__builtin_ia32_loadhps: {
|
||||
// FIXME: This should probably be represented as
|
||||
|
|
|
@ -476,7 +476,6 @@ void f0() {
|
|||
tmp_i = __builtin_ia32_vec_ext_v2si(tmp_V2i, imm_i_0_2);
|
||||
tmp_V8s = __builtin_ia32_vec_set_v8hi(tmp_V8s, tmp_s, imm_i_0_8);
|
||||
tmp_V4s = __builtin_ia32_vec_set_v4hi(tmp_V4s, tmp_s, imm_i_0_4);
|
||||
tmp_V4i = __builtin_ia32_movqv4si(tmp_V4i);
|
||||
tmp_V4i = __builtin_ia32_loadlv4si(tmp_V2ip);
|
||||
(void) __builtin_ia32_storelv4si(tmp_V2ip, tmp_V2LLi);
|
||||
#ifdef USE_SSE4
|
||||
|
|
Загрузка…
Ссылка в новой задаче