[llvm] r213989 - [x86] Fix unused variable warning in no-asserts build.
Chandler Carruth
chandlerc at gmail.com
Fri Jul 25 17:04:41 PDT 2014
Author: chandlerc
Date: Fri Jul 25 19:04:41 2014
New Revision: 213989
URL: http://llvm.org/viewvc/llvm-project?rev=213989&view=rev
Log:
[x86] Fix unused variable warning in no-asserts build.
Modified:
llvm/trunk/lib/Target/X86/X86MCInstLower.cpp
Modified: llvm/trunk/lib/Target/X86/X86MCInstLower.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/X86MCInstLower.cpp?rev=213989&r1=213988&r2=213989&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/X86MCInstLower.cpp (original)
+++ llvm/trunk/lib/Target/X86/X86MCInstLower.cpp Fri Jul 25 19:04:41 2014
@@ -1000,6 +1000,7 @@ void X86AsmPrinter::EmitInstruction(cons
const MachineConstantPoolEntry &MaskConstantEntry =
Constants[MI->getOperand(5).getIndex()];
Type *MaskTy = MaskConstantEntry.getType();
+ (void)MaskTy;
if (!MaskConstantEntry.isMachineConstantPoolEntry())
if (auto *C = dyn_cast<ConstantDataSequential>(
MaskConstantEntry.Val.ConstVal)) {
More information about the llvm-commits
mailing list