Fix signed/unsigned comparison warning.

This commit is contained in:
Simon Pilgrim 2020-03-14 18:42:27 +00:00
parent 0cb2f089c1
commit ee862adf60
1 changed files with 1 additions and 1 deletions

View File

@ -7520,7 +7520,7 @@ static bool getFauxShuffleMask(SDValue N, const APInt &DemandedElts,
Offset = (X86ISD::VROTLI == Opcode ? NumBytesPerElt - Offset : Offset);
for (int i = 0; i != (int)NumElts; ++i) {
int BaseIdx = i * NumBytesPerElt;
for (int j = 0; j != NumBytesPerElt; ++j) {
for (int j = 0; j != (int)NumBytesPerElt; ++j) {
Mask.push_back(BaseIdx + ((Offset + j) % NumBytesPerElt));
}
}