[llvm] r288416 - Fix unused variable warning in Release builds. NFC.

Benjamin Kramer via llvm-commits llvm-commits at lists.llvm.org
Thu Dec 1 12:49:34 PST 2016


Author: d0k
Date: Thu Dec  1 14:49:34 2016
New Revision: 288416

URL: http://llvm.org/viewvc/llvm-project?rev=288416&view=rev
Log:
Fix unused variable warning in Release builds. NFC.

Modified:
    llvm/trunk/lib/Target/X86/X86InterleavedAccess.cpp

Modified: llvm/trunk/lib/Target/X86/X86InterleavedAccess.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86InterleavedAccess.cpp?rev=288416&r1=288415&r2=288416&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86InterleavedAccess.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86InterleavedAccess.cpp Thu Dec  1 14:49:34 2016
@@ -116,7 +116,7 @@ bool X86InterleavedAccessGroup::decompos
     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 &&




More information about the llvm-commits mailing list