1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-18 10:32:48 +02:00

Fix signed/unsigned comparison warning.

This commit is contained in:
Simon Pilgrim 2020-03-14 18:42:27 +00:00
parent 214f8753e7
commit 709977f244

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));
}
}