Fix GCC -Wlogical-op-parentheses warning. NFCI.
llvm-svn: 325129
This commit is contained in:
		
							parent
							
								
									fe1016c485
								
							
						
					
					
						commit
						ded6e7a263
					
				| 
						 | 
				
			
			@ -34222,8 +34222,8 @@ static SDValue combineTruncateWithSat(SDValue In, EVT VT, const SDLoc &DL,
 | 
			
		|||
      return DAG.getNode(X86ISD::VTRUNCUS, DL, VT, USatVal);
 | 
			
		||||
  }
 | 
			
		||||
  if (VT.isVector() && isPowerOf2_32(VT.getVectorNumElements()) &&
 | 
			
		||||
      (VT.getScalarType() == MVT::i8 && InVT.getScalarType() == MVT::i16) ||
 | 
			
		||||
      (VT.getScalarType() == MVT::i16 && InVT.getScalarType() == MVT::i32)) {
 | 
			
		||||
      ((VT.getScalarType() == MVT::i8 && InVT.getScalarType() == MVT::i16) ||
 | 
			
		||||
       (VT.getScalarType() == MVT::i16 && InVT.getScalarType() == MVT::i32))) {
 | 
			
		||||
    if (auto SSatVal = detectSSatPattern(In, VT))
 | 
			
		||||
      return truncateVectorWithPACK(X86ISD::PACKSS, VT, SSatVal, DL, DAG,
 | 
			
		||||
                                    Subtarget);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue