Fix signed/unsigned mismatch warning. NFCI.

llvm-svn: 343385
This commit is contained in:
Simon Pilgrim 2018-09-29 17:11:19 +00:00
parent d633e290c8
commit b5737007cd
1 changed files with 1 additions and 1 deletions

View File

@ -5790,7 +5790,7 @@ static bool getTargetConstantBitsFromNode(SDValue Op, unsigned EltSizeInBits,
return false;
UndefElts = APInt::getNullValue(NumElts);
for (int i = 0; i != NumElts; ++i) {
for (int i = 0; i != (int)NumElts; ++i) {
int M = Mask[i];
if (M < 0) {
UndefElts.setBit(i);