[llvm] r280075 - SILoadStoreOptimizer.cpp: Fix a warning in r279991. [-Wunused-variable]
NAKAMURA Takumi via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 30 04:50:22 PDT 2016
Author: chapuni
Date: Tue Aug 30 06:50:21 2016
New Revision: 280075
URL: http://llvm.org/viewvc/llvm-project?rev=280075&view=rev
Log:
SILoadStoreOptimizer.cpp: Fix a warning in r279991. [-Wunused-variable]
Modified:
llvm/trunk/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
Modified: llvm/trunk/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp?rev=280075&r1=280074&r2=280075&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp (original)
+++ llvm/trunk/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp Tue Aug 30 06:50:21 2016
@@ -336,6 +336,7 @@ MachineBasicBlock::iterator SILoadStore
.addImm(0) // gds
.addMemOperand(*I->memoperands_begin())
.addMemOperand(*Paired->memoperands_begin());
+ (void)Read2;
const MCInstrDesc &CopyDesc = TII->get(TargetOpcode::COPY);
More information about the llvm-commits
mailing list