diff --git a/lib/Target/X86/X86MCInstLower.cpp b/lib/Target/X86/X86MCInstLower.cpp index 9fa171ce4d5..febf821e13d 100644 --- a/lib/Target/X86/X86MCInstLower.cpp +++ b/lib/Target/X86/X86MCInstLower.cpp @@ -1000,6 +1000,7 @@ void X86AsmPrinter::EmitInstruction(const MachineInstr *MI) { const MachineConstantPoolEntry &MaskConstantEntry = Constants[MI->getOperand(5).getIndex()]; Type *MaskTy = MaskConstantEntry.getType(); + (void)MaskTy; if (!MaskConstantEntry.isMachineConstantPoolEntry()) if (auto *C = dyn_cast( MaskConstantEntry.Val.ConstVal)) {