Fix signed/unsigned comparison warning. NFC.

llvm-svn: 367783
This commit is contained in:
Simon Pilgrim 2019-08-04 12:48:19 +00:00
parent e16901844d
commit c5891eaa34
1 changed files with 1 additions and 1 deletions

View File

@ -34731,7 +34731,7 @@ SDValue X86TargetLowering::SimplifyMultipleUseDemandedBitsForTargetNode(
// If all the demanded elts are from one operand and are inline,
// then we can use the operand directly.
int NumOps = ShuffleOps.size();
if (ShuffleMask.size() == NumElts &&
if (ShuffleMask.size() == (unsigned)NumElts &&
llvm::all_of(ShuffleOps, [VT](SDValue V) {
return VT.getSizeInBits() == V.getValueSizeInBits();
})) {