1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-24 05:23:45 +02:00

Fixed signed/unsigned comparison warning.

llvm-svn: 228027
This commit is contained in:
Simon Pilgrim 2015-02-03 20:54:01 +00:00
parent 3534179cf0
commit 6c3132e1e6

View File

@ -7906,7 +7906,7 @@ static SDValue lowerVectorShuffleAsZeroOrAnyExtend(
int NumElements = VT.getVectorNumElements();
assert(VT.getScalarSizeInBits() <= 32 &&
"Exceeds 32-bit integer zero extension limit");
assert(Mask.size() == NumElements && "Unexpected shuffle mask size");
assert((int)Mask.size() == NumElements && "Unexpected shuffle mask size");
// Define a helper function to check a particular ext-scale and lower to it if
// valid.