[x86] Fix signed vs. unsigned comparison.

llvm-svn: 228055
This commit is contained in:
Chandler Carruth 2015-02-03 22:43:30 +00:00
parent 62df1f3764
commit 15e7a6bdd6

View File

@ -7820,7 +7820,7 @@ static SDValue lowerVectorShuffleAsBitShift(SDLoc DL, MVT VT, SDValue V1,
SmallBitVector Zeroable = computeZeroableShuffleElements(Mask, V1, V2);
int Size = Mask.size();
assert(Size == VT.getVectorNumElements() && "Unexpected mask size");
assert(Size == (int)VT.getVectorNumElements() && "Unexpected mask size");
// PSRL : (little-endian) right bit shift.
// [ 1, zz, 3, zz]