Fix unused variable warning in Release builds. NFC.

llvm-svn: 288416
This commit is contained in:
Benjamin Kramer 2016-12-01 20:49:34 +00:00
parent 460755f4a6
commit 75f09ab5fe

View File

@ -116,7 +116,7 @@ bool X86InterleavedAccessGroup::decompose(
Instruction *VecInst, unsigned NumSubVectors, VectorType *SubVecTy,
SmallVectorImpl<Instruction *> &DecomposedVectors) {
Type *VecTy = VecInst->getType();
(void)VecTy;
assert(VecTy->isVectorTy() &&
DL.getTypeSizeInBits(VecTy) >=
DL.getTypeSizeInBits(SubVecTy) * NumSubVectors &&