[llvm] r280841 - AMDGPU: Remove a useless variable which caused build failure for lld.
Yaxun Liu via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 7 11:31:11 PDT 2016
Author: yaxunl
Date: Wed Sep 7 13:31:11 2016
New Revision: 280841
URL: http://llvm.org/viewvc/llvm-project?rev=280841&view=rev
Log:
AMDGPU: Remove a useless variable which caused build failure for lld.
Modified:
llvm/trunk/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
Modified: llvm/trunk/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp?rev=280841&r1=280840&r2=280841&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp (original)
+++ llvm/trunk/lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp Wed Sep 7 13:31:11 2016
@@ -1048,7 +1048,7 @@ void AMDGPUAsmPrinter::emitRuntimeMetada
RuntimeMD::KernelArg::HiddenGlobalOffsetY);
emitRuntimeMetadataForKernelArg(DL, *OutStreamer, Int64T,
RuntimeMD::KernelArg::HiddenGlobalOffsetZ);
- if (auto MD = F.getParent()->getNamedMetadata("llvm.printf.fmts")) {
+ if (F.getParent()->getNamedMetadata("llvm.printf.fmts")) {
auto Int8PtrT = Type::getInt8PtrTy(F.getContext(),
RuntimeMD::KernelArg::Global);
emitRuntimeMetadataForKernelArg(DL, *OutStreamer, Int8PtrT,
More information about the llvm-commits
mailing list