Skip to content

Commit b49c4af

Browse files
committed
Fix GCC signed/unsigned comparison warning.
1 parent c22bb6f commit b49c4af

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
@@ -9937,7 +9937,7 @@ static unsigned getSHUFPDImm(ArrayRef<int> Mask) {
99379937
// If the mask only uses one non-undef element, then fully 'splat' it to
99389938
// improve later broadcast matching.
99399939
int FirstIndex = find_if(Mask, [](int M) { return M >= 0; }) - Mask.begin();
9940-
assert(0 <= FirstIndex && FirstIndex < Mask.size() &&
9940+
assert(0 <= FirstIndex && FirstIndex < (int)Mask.size() &&
99419941
"All undef shuffle mask");
99429942

99439943
int FirstElt = Mask[FirstIndex];

0 commit comments

Comments
 (0)