forked from OSchip/llvm-project
[X86] Disable custom type legalization for v2i32/v4i16/v8i8->i64.
The default legalization can take care of this. llvm-svn: 368967
This commit is contained in:
parent
57286afe4e
commit
a57734ba4e
|
@ -26200,8 +26200,7 @@ static SDValue LowerBITCAST(SDValue Op, const X86Subtarget &Subtarget,
|
|||
SrcVT == MVT::i64) && "Unexpected VT!");
|
||||
|
||||
assert(Subtarget.hasSSE2() && "Requires at least SSE2!");
|
||||
if (DstVT != MVT::i64 &&
|
||||
!(DstVT == MVT::f64 && SrcVT == MVT::i64) &&
|
||||
if (!(DstVT == MVT::f64 && SrcVT == MVT::i64) &&
|
||||
!(DstVT == MVT::x86mmx && SrcVT.isVector()))
|
||||
// This conversion needs to be expanded.
|
||||
return SDValue();
|
||||
|
|
Loading…
Reference in New Issue