diff options
author | Daniel Sanders <daniel_l_sanders@apple.com> | 2017-07-05 15:34:16 +0000 |
---|---|---|
committer | Daniel Sanders <daniel_l_sanders@apple.com> | 2017-07-05 15:34:16 +0000 |
commit | d560a64e426540ee894f7f861b1ec7380a1a92fd (patch) | |
tree | db7ce5348b65ebe8b47166462b02624c5182af4d | |
parent | 15309044bac8d26214aa8b84aa29e86c440f22bc (diff) | |
download | bcm5719-llvm-d560a64e426540ee894f7f861b1ec7380a1a92fd.tar.gz bcm5719-llvm-d560a64e426540ee894f7f861b1ec7380a1a92fd.zip |
[globalisel][tablegen] Fix another unused variable warning introduced by r307159
llvm-svn: 307168
-rw-r--r-- | llvm/include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h b/llvm/include/llvm/CodeGen/GlobalISel/InstructionSelectorImpl.h index 212d1e43adb..3eca289964a 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"); |