mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-07 16:42:07 +00:00
X86ShuffleDecode.cpp: Silence a warning. [-Wunused-variable]
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@214016 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6d87e6ed6e
commit
09ed816174
@ -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…
x
Reference in New Issue
Block a user