From 61b3abb685ec4371a57ca06dff6a809d0c1152a5 Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Mon, 11 Aug 2014 23:03:38 +0000 Subject: [PATCH] R600/SIInstrInfo.cpp: Suppress an warning. [-Wunused-variable] git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215406 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Target/R600/SIInstrInfo.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Target/R600/SIInstrInfo.cpp b/lib/Target/R600/SIInstrInfo.cpp index c9e121ffd7e..5cd8ddfaceb 100644 --- a/lib/Target/R600/SIInstrInfo.cpp +++ b/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());