[llvm] r183370 - R600OptimizeVectorRegisters.cpp: Suppress a warning. [-Wunused-variable]
NAKAMURA Takumi
geek4civic at gmail.com
Wed Jun 5 19:15:06 PDT 2013
Author: chapuni
Date: Wed Jun 5 21:15:06 2013
New Revision: 183370
URL: http://llvm.org/viewvc/llvm-project?rev=183370&view=rev
Log:
R600OptimizeVectorRegisters.cpp: Suppress a warning. [-Wunused-variable]
Modified:
llvm/trunk/lib/Target/R600/R600OptimizeVectorRegisters.cpp
Modified: llvm/trunk/lib/Target/R600/R600OptimizeVectorRegisters.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/R600/R600OptimizeVectorRegisters.cpp?rev=183370&r1=183369&r2=183370&view=diff
==============================================================================
--- llvm/trunk/lib/Target/R600/R600OptimizeVectorRegisters.cpp (original)
+++ llvm/trunk/lib/Target/R600/R600OptimizeVectorRegisters.cpp Wed Jun 5 21:15:06 2013
@@ -198,6 +198,7 @@ MachineInstr *R600VectorRegMerger::Rebui
UpdatedUndef.erase(RemoveIt);
}
DEBUG(dbgs() << " ->"; Tmp->dump(););
+ (void)Tmp;
SrcVec = DstReg;
}
Pos = BuildMI(MBB, Pos, DL, TII->get(AMDGPU::COPY), Reg)
More information about the llvm-commits
mailing list