diff options
author | Eric Liu <ioeric@google.com> | 2016-04-22 09:50:31 +0000 |
---|---|---|
committer | Eric Liu <ioeric@google.com> | 2016-04-22 09:50:31 +0000 |
commit | 6be128e43da8200c784332bb77c7264be71593ad (patch) | |
tree | aba02e6583cd0f3a37f84bc4adf6fff2deed702f /llvm/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp | |
parent | 591c37956381c64a5ccab23badc5d2568c6f6e4f (diff) | |
download | bcm5719-llvm-6be128e43da8200c784332bb77c7264be71593ad.tar.gz bcm5719-llvm-6be128e43da8200c784332bb77c7264be71593ad.zip |
Fix -Wunused-variable in non-asserts build.
llvm-svn: 267128
Diffstat (limited to 'llvm/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp')
-rw-r--r-- | llvm/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp | 1 |
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); |