projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acd4d8e
)
R600/SIInstrInfo.cpp: Suppress an warning. [-Wunused-variable]
author
NAKAMURA Takumi
<geek4civic@gmail.com>
Mon, 11 Aug 2014 23:03:38 +0000
(23:03 +0000)
committer
NAKAMURA Takumi
<geek4civic@gmail.com>
Mon, 11 Aug 2014 23:03:38 +0000
(23:03 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215406
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/R600/SIInstrInfo.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/R600/SIInstrInfo.cpp
b/lib/Target/R600/SIInstrInfo.cpp
index c9e121ffd7e03471f9e68d28a1ac5ddf3cde8af5..5cd8ddfaceb8713d2996bb4cc3111f7e64f88273 100644
(file)
--- 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());