forked from OSchip/llvm-project
Revert this for now, PUNPCKLDQ dont operate on v4f32
llvm-svn: 112090
This commit is contained in:
parent
3d148ac089
commit
d4085f6e91
|
@ -4887,7 +4887,7 @@ X86TargetLowering::LowerVECTOR_SHUFFLE(SDValue Op, SelectionDAG &DAG) const {
|
|||
return getTargetShuffleNode(X86ISD::MOVLHPS, dl, VT, V1, V1, DAG);
|
||||
|
||||
if (OptForSize && HasSSE2 && X86::isUNPCKL_v_undef_Mask(SVOp) &&
|
||||
(VT == MVT::v4i32 || VT == MVT::v4f32))
|
||||
VT == MVT::v4i32)
|
||||
return getTargetShuffleNode(X86ISD::PUNPCKLDQ, dl, VT, V1, V1, DAG);
|
||||
|
||||
unsigned TargetMask = X86::getShuffleSHUFImmediate(SVOp);
|
||||
|
|
Loading…
Reference in New Issue