forked from OSchip/llvm-project
X86ShuffleDecode.cpp: Silence a warning. [-Wunused-variable]
llvm-svn: 214016
This commit is contained in:
parent
f2df3f59fb
commit
1fa7769ba9
|
@ -213,8 +213,8 @@ void DecodePSHUFBMask(const ConstantDataSequential *C,
|
||||||
SmallVectorImpl<int> &ShuffleMask) {
|
SmallVectorImpl<int> &ShuffleMask) {
|
||||||
Type *MaskTy = C->getType();
|
Type *MaskTy = C->getType();
|
||||||
assert(MaskTy->isVectorTy() && "Expected a vector constant mask!");
|
assert(MaskTy->isVectorTy() && "Expected a vector constant mask!");
|
||||||
Type *EltTy = MaskTy->getVectorElementType();
|
assert(MaskTy->getVectorElementType()->isIntegerTy(8) &&
|
||||||
assert(EltTy->isIntegerTy(8) && "Expected i8 constant mask elements!");
|
"Expected i8 constant mask elements!");
|
||||||
int NumElements = MaskTy->getVectorNumElements();
|
int NumElements = MaskTy->getVectorNumElements();
|
||||||
// FIXME: Add support for AVX-512.
|
// FIXME: Add support for AVX-512.
|
||||||
assert((NumElements == 16 || NumElements == 32) &&
|
assert((NumElements == 16 || NumElements == 32) &&
|
||||||
|
|
Loading…
Reference in New Issue