forked from OSchip/llvm-project
parent
85f0e57c33
commit
8e288e0b68
|
@ -14199,7 +14199,7 @@ SDValue X86TargetLowering::LowerSINT_TO_FP(SDValue Op,
|
||||||
if (SrcVT == MVT::v2i32 && VT == MVT::v2f64) {
|
if (SrcVT == MVT::v2i32 && VT == MVT::v2f64) {
|
||||||
return DAG.getNode(X86ISD::CVTSI2P, dl, VT,
|
return DAG.getNode(X86ISD::CVTSI2P, dl, VT,
|
||||||
DAG.getNode(ISD::CONCAT_VECTORS, dl, MVT::v4i32, Src,
|
DAG.getNode(ISD::CONCAT_VECTORS, dl, MVT::v4i32, Src,
|
||||||
DAG.getUNDEF(SrcVT)));
|
DAG.getUNDEF(SrcVT)));
|
||||||
}
|
}
|
||||||
if (SrcVT.getVectorElementType() == MVT::i1) {
|
if (SrcVT.getVectorElementType() == MVT::i1) {
|
||||||
if (SrcVT == MVT::v2i1 && TLI.isTypeLegal(SrcVT))
|
if (SrcVT == MVT::v2i1 && TLI.isTypeLegal(SrcVT))
|
||||||
|
|
Loading…
Reference in New Issue