summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Sanders <daniel_l_sanders@apple.com>2017-07-05 15:34:16 +0000
committerDaniel Sanders <daniel_l_sanders@apple.com>2017-07-05 15:34:16 +0000
commitd560a64e426540ee894f7f861b1ec7380a1a92fd (patch)
treedb7ce5348b65ebe8b47166462b02624c5182af4d
parent15309044bac8d26214aa8b84aa29e86c440f22bc (diff)
downloadbcm5719-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.h2
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");
OpenPOWER on IntegriCloud