From d560a64e426540ee894f7f861b1ec7380a1a92fd Mon Sep 17 00:00:00 2001 From: Daniel Sanders Date: Wed, 5 Jul 2017 15:34:16 +0000 Subject: [PATCH] [globalisel][tablegen] Fix another unused variable warning introduced by r307159 llvm-svn: 307168 --- llvm/include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h b/llvm/include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h index 212d1e43adbb..3eca289964a5 100644 --- a/llvm/include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h +++ b/llvm/include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h @@ -191,7 +191,7 @@ bool InstructionSelector::executeMatchTable( break; } case GIR_BuildMI: { - int64_t InsnID = *Command++; + int64_t InsnID LLVM_ATTRIBUTE_UNUSED = *Command++; int64_t Opcode = *Command++; assert((size_t)InsnID == OutMIs.size() && "Expected to store MIs in order");