Fix signed/unsigned comparison warning. NFC.
llvm-svn: 367783
This commit is contained in:
		
							parent
							
								
									e16901844d
								
							
						
					
					
						commit
						c5891eaa34
					
				|  | @ -34731,7 +34731,7 @@ SDValue X86TargetLowering::SimplifyMultipleUseDemandedBitsForTargetNode( | ||||||
|     // If all the demanded elts are from one operand and are inline,
 |     // If all the demanded elts are from one operand and are inline,
 | ||||||
|     // then we can use the operand directly.
 |     // then we can use the operand directly.
 | ||||||
|     int NumOps = ShuffleOps.size(); |     int NumOps = ShuffleOps.size(); | ||||||
|     if (ShuffleMask.size() == NumElts && |     if (ShuffleMask.size() == (unsigned)NumElts && | ||||||
|         llvm::all_of(ShuffleOps, [VT](SDValue V) { |         llvm::all_of(ShuffleOps, [VT](SDValue V) { | ||||||
|           return VT.getSizeInBits() == V.getValueSizeInBits(); |           return VT.getSizeInBits() == V.getValueSizeInBits(); | ||||||
|         })) { |         })) { | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	 Simon Pilgrim
						Simon Pilgrim