[llvm] r307168 - [globalisel][tablegen] Fix another unused variable warning introduced by r307159
Daniel Sanders via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 5 08:34:16 PDT 2017
Author: dsanders
Date: Wed Jul 5 08:34:16 2017
New Revision: 307168
URL: http://llvm.org/viewvc/llvm-project?rev=307168&view=rev
Log:
[globalisel][tablegen] Fix another unused variable warning introduced by r307159
Modified:
llvm/trunk/include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h
Modified: llvm/trunk/include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h?rev=307168&r1=307167&r2=307168&view=diff
==============================================================================
--- llvm/trunk/include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h (original)
+++ llvm/trunk/include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h Wed Jul 5 08:34:16 2017
@@ -191,7 +191,7 @@ bool InstructionSelector::executeMatchTa
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");
More information about the llvm-commits
mailing list