mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-09 21:32:49 +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;
|
return false;
|
||||||
|
|
||||||
// Must be smaller (else this is an Identity shuffle).
|
// Must be smaller (else this is an Identity shuffle).
|
||||||
if (NumSrcElts <= Mask.size())
|
if (NumSrcElts <= (int)Mask.size())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
// Find start of extraction, accounting that we may start with an UNDEF.
|
// Find start of extraction, accounting that we may start with an UNDEF.
|
||||||
|
Loading…
Reference in New Issue
Block a user