From 38fe5d7dca5a3fce0bf90c54f44ad15db0f389a4 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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@307168 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h b/include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h index 212d1e43adb..3eca289964a 100644 --- a/include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h +++ b/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"); -- 2.40.0