mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-11-04 05:17:07 +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:
		@@ -5402,7 +5402,7 @@ static SDValue LowerVECTOR_SHUFFLEtoBlend(ShuffleVectorSDNode *SVOp,
 | 
				
			|||||||
  SDValue V1 = SVOp->getOperand(0);
 | 
					  SDValue V1 = SVOp->getOperand(0);
 | 
				
			||||||
  SDValue V2 = SVOp->getOperand(1);
 | 
					  SDValue V2 = SVOp->getOperand(1);
 | 
				
			||||||
  DebugLoc dl = SVOp->getDebugLoc();
 | 
					  DebugLoc dl = SVOp->getDebugLoc();
 | 
				
			||||||
  EVT VT = SVOp->getValueType(0);
 | 
					  MVT VT = SVOp->getValueType(0).getSimpleVT();
 | 
				
			||||||
  unsigned NumElems = VT.getVectorNumElements();
 | 
					  unsigned NumElems = VT.getVectorNumElements();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  if (!Subtarget->hasSSE41())
 | 
					  if (!Subtarget->hasSSE41())
 | 
				
			||||||
@@ -5411,7 +5411,7 @@ static SDValue LowerVECTOR_SHUFFLEtoBlend(ShuffleVectorSDNode *SVOp,
 | 
				
			|||||||
  unsigned ISDNo = 0;
 | 
					  unsigned ISDNo = 0;
 | 
				
			||||||
  MVT OpTy;
 | 
					  MVT OpTy;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  switch (VT.getSimpleVT().SimpleTy) {
 | 
					  switch (VT.SimpleTy) {
 | 
				
			||||||
  default: return SDValue();
 | 
					  default: return SDValue();
 | 
				
			||||||
  case MVT::v8i16:
 | 
					  case MVT::v8i16:
 | 
				
			||||||
    ISDNo = X86ISD::BLENDPW;
 | 
					    ISDNo = X86ISD::BLENDPW;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user