From: Benjamin Kramer Date: Thu, 1 Dec 2016 20:49:34 +0000 (+0000) Subject: Fix unused variable warning in Release builds. NFC. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b5626bf5c1a7d94198793ae14b495e690d39c61c;p=llvm Fix unused variable warning in Release builds. NFC. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@288416 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Target/X86/X86InterleavedAccess.cpp b/lib/Target/X86/X86InterleavedAccess.cpp index 3d89e551575..d9edf4676fa 100644 --- a/lib/Target/X86/X86InterleavedAccess.cpp +++ b/lib/Target/X86/X86InterleavedAccess.cpp @@ -116,7 +116,7 @@ bool X86InterleavedAccessGroup::decompose( Instruction *VecInst, unsigned NumSubVectors, VectorType *SubVecTy, SmallVectorImpl &DecomposedVectors) { Type *VecTy = VecInst->getType(); - + (void)VecTy; assert(VecTy->isVectorTy() && DL.getTypeSizeInBits(VecTy) >= DL.getTypeSizeInBits(SubVecTy) * NumSubVectors &&