[llvm] r215406 - R600/SIInstrInfo.cpp: Suppress an warning. [-Wunused-variable]
NAKAMURA Takumi
geek4civic at gmail.com
Mon Aug 11 16:03:38 PDT 2014
Author: chapuni
Date: Mon Aug 11 18:03:38 2014
New Revision: 215406
URL: http://llvm.org/viewvc/llvm-project?rev=215406&view=rev
Log:
R600/SIInstrInfo.cpp: Suppress an warning. [-Wunused-variable]
Modified:
llvm/trunk/lib/Target/R600/SIInstrInfo.cpp
Modified: llvm/trunk/lib/Target/R600/SIInstrInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/R600/SIInstrInfo.cpp?rev=215406&r1=215405&r2=215406&view=diff
==============================================================================
--- llvm/trunk/lib/Target/R600/SIInstrInfo.cpp (original)
+++ llvm/trunk/lib/Target/R600/SIInstrInfo.cpp Mon Aug 11 18:03:38 2014
@@ -1394,6 +1394,7 @@ void SIInstrInfo::legalizeOperands(Machi
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());
More information about the llvm-commits
mailing list