summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNAKAMURA Takumi <geek4civic@gmail.com>2014-08-11 23:03:38 +0000
committerNAKAMURA Takumi <geek4civic@gmail.com>2014-08-11 23:03:38 +0000
commit5f79ee53ec9797294205f191799e1bb6a9ef4633 (patch)
tree943b4a18c093ab5a08833329745a3a15416ac6fb
parent504ec2115d156b14a62b3450214c5a973b629ab4 (diff)
downloadbcm5719-llvm-5f79ee53ec9797294205f191799e1bb6a9ef4633.tar.gz
bcm5719-llvm-5f79ee53ec9797294205f191799e1bb6a9ef4633.zip
R600/SIInstrInfo.cpp: Suppress an warning. [-Wunused-variable]
llvm-svn: 215406
-rw-r--r--llvm/lib/Target/R600/SIInstrInfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Target/R600/SIInstrInfo.cpp b/llvm/lib/Target/R600/SIInstrInfo.cpp
index c9e121ffd7e..5cd8ddfaceb 100644
--- a/llvm/lib/Target/R600/SIInstrInfo.cpp
+++ b/llvm/lib/Target/R600/SIInstrInfo.cpp
@@ -1394,6 +1394,7 @@ void SIInstrInfo::legalizeOperands(MachineInstr *MI) const {
MachineOperand *SOffset = getNamedOperand(*MI, AMDGPU::OpName::soffset);
assert(SOffset->isImm() && SOffset->getImm() == 0 && "Legalizing MUBUF "
"with non-zero soffset is not implemented");
+ (void)SOffset;
// Create the new instruction.
unsigned Addr64Opcode = AMDGPU::getAddr64Inst(MI->getOpcode());
OpenPOWER on IntegriCloud