Skip to content

Commit ee862ad

Browse files
committed
Fix signed/unsigned comparison warning.
1 parent 0cb2f08 commit ee862ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/lib/Target/X86/X86ISelLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7520,7 +7520,7 @@ static bool getFauxShuffleMask(SDValue N, const APInt &DemandedElts,
75207520
Offset = (X86ISD::VROTLI == Opcode ? NumBytesPerElt - Offset : Offset);
75217521
for (int i = 0; i != (int)NumElts; ++i) {
75227522
int BaseIdx = i * NumBytesPerElt;
7523-
for (int j = 0; j != NumBytesPerElt; ++j) {
7523+
for (int j = 0; j != (int)NumBytesPerElt; ++j) {
75247524
Mask.push_back(BaseIdx + ((Offset + j) % NumBytesPerElt));
75257525
}
75267526
}

0 commit comments

Comments
 (0)