We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c22bb6f commit b49c4afCopy full SHA for b49c4af
llvm/lib/Target/X86/X86ISelLowering.cpp
@@ -9937,7 +9937,7 @@ static unsigned getSHUFPDImm(ArrayRef<int> Mask) {
9937
// If the mask only uses one non-undef element, then fully 'splat' it to
9938
// improve later broadcast matching.
9939
int FirstIndex = find_if(Mask, [](int M) { return M >= 0; }) - Mask.begin();
9940
- assert(0 <= FirstIndex && FirstIndex < Mask.size() &&
+ assert(0 <= FirstIndex && FirstIndex < (int)Mask.size() &&
9941
"All undef shuffle mask");
9942
9943
int FirstElt = Mask[FirstIndex];
0 commit comments