mirror of
https://github.com/RPCS3/llvm.git
synced 2025-02-02 08:45:55 +00:00
Use MVT instead of EVT through all of LowerVECTOR_SHUFFLEtoBlend and not just the switch. Saves a little bit of binary size.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155339 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9d35240eee
commit
708e44fc96
@ -5402,7 +5402,7 @@ static SDValue LowerVECTOR_SHUFFLEtoBlend(ShuffleVectorSDNode *SVOp,
|
||||
SDValue V1 = SVOp->getOperand(0);
|
||||
SDValue V2 = SVOp->getOperand(1);
|
||||
DebugLoc dl = SVOp->getDebugLoc();
|
||||
EVT VT = SVOp->getValueType(0);
|
||||
MVT VT = SVOp->getValueType(0).getSimpleVT();
|
||||
unsigned NumElems = VT.getVectorNumElements();
|
||||
|
||||
if (!Subtarget->hasSSE41())
|
||||
@ -5411,7 +5411,7 @@ static SDValue LowerVECTOR_SHUFFLEtoBlend(ShuffleVectorSDNode *SVOp,
|
||||
unsigned ISDNo = 0;
|
||||
MVT OpTy;
|
||||
|
||||
switch (VT.getSimpleVT().SimpleTy) {
|
||||
switch (VT.SimpleTy) {
|
||||
default: return SDValue();
|
||||
case MVT::v8i16:
|
||||
ISDNo = X86ISD::BLENDPW;
|
||||
|
Loading…
x
Reference in New Issue
Block a user