diff options
| -rw-r--r-- | llvm/lib/CodeGen/GlobalISel/InstructionSelector.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/GlobalISel/InstructionSelector.cpp b/llvm/lib/CodeGen/GlobalISel/InstructionSelector.cpp index 1faebc29b8a..fb423031828 100644 --- a/llvm/lib/CodeGen/GlobalISel/InstructionSelector.cpp +++ b/llvm/lib/CodeGen/GlobalISel/InstructionSelector.cpp @@ -59,7 +59,7 @@ void InstructionSelector::executeEmitTable(NewMIVector &OutMIs, 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"); |

