summaryrefslogtreecommitdiffstats
path: root/llvm/lib
diff options
context:
space:
mode:
authorEric Liu <ioeric@google.com>2016-04-22 09:50:31 +0000
committerEric Liu <ioeric@google.com>2016-04-22 09:50:31 +0000
commit6be128e43da8200c784332bb77c7264be71593ad (patch)
treeaba02e6583cd0f3a37f84bc4adf6fff2deed702f /llvm/lib
parent591c37956381c64a5ccab23badc5d2568c6f6e4f (diff)
downloadbcm5719-llvm-6be128e43da8200c784332bb77c7264be71593ad.tar.gz
bcm5719-llvm-6be128e43da8200c784332bb77c7264be71593ad.zip
Fix -Wunused-variable in non-asserts build.
llvm-svn: 267128
Diffstat (limited to 'llvm/lib')
-rw-r--r--llvm/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp b/llvm/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp
index bf10e0b5bb5..518dc0ceaca 100644
--- a/llvm/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp
+++ b/llvm/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp
@@ -444,6 +444,7 @@ bool RegisterBankInfo::InstructionMapping::verify(
assert(MI.getParent() && MI.getParent()->getParent() &&
"MI must be connected to a MachineFunction");
const MachineFunction &MF = *MI.getParent()->getParent();
+ (void)MF;
for (unsigned Idx = 0; Idx < NumOperands; ++Idx) {
const MachineOperand &MO = MI.getOperand(Idx);
OpenPOWER on IntegriCloud