mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-09 13:21:30 +00:00
Fix -Wsign-compare warning
llvm-svn: 346515
This commit is contained in:
parent
a32a4e3b54
commit
cb661fa4de
@ -1805,7 +1805,7 @@ bool ShuffleVectorInst::isExtractSubvectorMask(ArrayRef<int> Mask,
|
||||
return false;
|
||||
|
||||
// Must be smaller (else this is an Identity shuffle).
|
||||
if (NumSrcElts <= Mask.size())
|
||||
if (NumSrcElts <= (int)Mask.size())
|
||||
return false;
|
||||
|
||||
// Find start of extraction, accounting that we may start with an UNDEF.
|
||||
|
Loading…
Reference in New Issue
Block a user