Fixed signed/unsigned comparison warning.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@228027 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Simon Pilgrim 2015-02-03 20:54:01 +00:00
parent 3c159ed1a0
commit 4855886269

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.