summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/GlobalISel/InstructionSelector.cpp
diff options
context:
space:
mode:
authorDaniel Sanders <daniel_l_sanders@apple.com>2017-07-05 10:16:48 +0000
committerDaniel Sanders <daniel_l_sanders@apple.com>2017-07-05 10:16:48 +0000
commit1745076c591f67c6d5228c5f616f21891cf72027 (patch)
tree3cd58ca4ac4410c7bdd2f3c9264a8f3ef443009f /llvm/lib/CodeGen/GlobalISel/InstructionSelector.cpp
parent283b9f2de38736c15144c9a5c529bf8ce6ec3475 (diff)
downloadbcm5719-llvm-1745076c591f67c6d5228c5f616f21891cf72027.tar.gz
bcm5719-llvm-1745076c591f67c6d5228c5f616f21891cf72027.zip
[globalisel][tablegen] Fix an unused variable warning in release builds after r307133
llvm-svn: 307138
Diffstat (limited to 'llvm/lib/CodeGen/GlobalISel/InstructionSelector.cpp')
-rw-r--r--llvm/lib/CodeGen/GlobalISel/InstructionSelector.cpp2
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");
OpenPOWER on IntegriCloud