llvm.org GIT mirror llvm / b733996
Remove a duplicated but useless check that i've inserted in the previous commit. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113044 91177308-0d34-0410-b5e6-96231b3b80d8 Bruno Cardoso Lopes 9 years ago
1 changed file(s) with 0 addition(s) and 9 deletion(s). Raw diff Collapse all Expand all
54565456 // Normalize the node to match x86 shuffle ops if needed
54575457 if (!isMMX && V2.getOpcode() != ISD::UNDEF && isCommutedSHUFP(SVOp))
54585458 return CommuteVectorShuffle(SVOp, DAG);
5459
5460 // NOTE: isPSHUFDMask can also match both masks below (unpckl_undef and
5461 // unpckh_undef). Only use pshufd if speed is more important than size.
5462 if (OptForSize && X86::isUNPCKL_v_undef_Mask(SVOp))
5463 if (VT != MVT::v2i64 && VT != MVT::v2f64)
5464 return getTargetShuffleNode(getUNPCKLOpcode(VT), dl, VT, V1, V1, DAG);
5465 if (OptForSize && X86::isUNPCKH_v_undef_Mask(SVOp))
5466 if (VT != MVT::v2i64 && VT != MVT::v2f64)
5467 return getTargetShuffleNode(getUNPCKHOpcode(VT), dl, VT, V1, V1, DAG);
54685459
54695460 // The checks below are all present in isShuffleMaskLegal, but they are
54705461 // inlined here right now to enable us to directly emit target specific