[x86] Fix signed vs. unsigned comparison.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228055 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chandler Carruth 2015-02-03 22:43:30 +00:00
parent ae43f39965
commit 2e49ac01a6

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]