Fixed unused variable warning.

llvm-svn: 228025
This commit is contained in:
Simon Pilgrim 2015-02-03 20:38:52 +00:00
parent 487aed0d77
commit 03c379a0fa
1 changed files with 2 additions and 2 deletions

View File

@ -7903,9 +7903,9 @@ static SDValue lowerVectorShuffleAsZeroOrAnyExtend(
SmallBitVector Zeroable = computeZeroableShuffleElements(Mask, V1, V2);
int Bits = VT.getSizeInBits();
int EltBits = VT.getScalarSizeInBits();
int NumElements = VT.getVectorNumElements();
assert(EltBits <= 32 && "Exceeds 32-bit integer zero extension limit");
assert(VT.getScalarSizeInBits() <= 32 &&
"Exceeds 32-bit integer zero extension limit");
assert(Mask.size() == NumElements && "Unexpected shuffle mask size");
// Define a helper function to check a particular ext-scale and lower to it if