mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
X86ShuffleDecode.cpp: Silence a warning. [-Wunused-variable]
llvm-svn: 214016
This commit is contained in:
parent
6a6766ef12
commit
753569b987
@ -213,8 +213,8 @@ void DecodePSHUFBMask(const ConstantDataSequential *C,
|
||||
SmallVectorImpl<int> &ShuffleMask) {
|
||||
Type *MaskTy = C->getType();
|
||||
assert(MaskTy->isVectorTy() && "Expected a vector constant mask!");
|
||||
Type *EltTy = MaskTy->getVectorElementType();
|
||||
assert(EltTy->isIntegerTy(8) && "Expected i8 constant mask elements!");
|
||||
assert(MaskTy->getVectorElementType()->isIntegerTy(8) &&
|
||||
"Expected i8 constant mask elements!");
|
||||
int NumElements = MaskTy->getVectorNumElements();
|
||||
// FIXME: Add support for AVX-512.
|
||||
assert((NumElements == 16 || NumElements == 32) &&
|
||||
|
Loading…
Reference in New Issue
Block a user