mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 18:54:02 +01:00
Fix signed/unsigned warning.
This commit is contained in:
parent
d1b038d961
commit
c912faf386
@ -7453,7 +7453,7 @@ static bool getFauxShuffleMask(SDValue N, const APInt &DemandedElts,
|
||||
int NumBytesPerElt = NumBitsPerElt / 8;
|
||||
int Offset = RotateVal / 8;
|
||||
Offset = (X86ISD::VROTLI == Opcode ? NumBytesPerElt - Offset : Offset);
|
||||
for (int i = 0; i != NumElts; ++i) {
|
||||
for (int i = 0; i != (int)NumElts; ++i) {
|
||||
int BaseIdx = i * NumBytesPerElt;
|
||||
for (int j = 0; j != NumBytesPerElt; ++j) {
|
||||
Mask.push_back(BaseIdx + ((Offset + j) % NumBytesPerElt));
|
||||
|
Loading…
Reference in New Issue
Block a user