[llvm] r325408 - AMDGPU: Remove unused private member of AMDGPUTargetELFStreamer
Konstantin Zhuravlyov via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 16 15:04:11 PST 2018
Author: kzhuravl
Date: Fri Feb 16 15:04:11 2018
New Revision: 325408
URL: http://llvm.org/viewvc/llvm-project?rev=325408&view=rev
Log:
AMDGPU: Remove unused private member of AMDGPUTargetELFStreamer
Modified:
llvm/trunk/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
llvm/trunk/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h
Modified: llvm/trunk/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp?rev=325408&r1=325407&r2=325408&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp (original)
+++ llvm/trunk/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.cpp Fri Feb 16 15:04:11 2018
@@ -184,7 +184,7 @@ bool AMDGPUTargetAsmStreamer::EmitPALMet
AMDGPUTargetELFStreamer::AMDGPUTargetELFStreamer(
MCStreamer &S, const MCSubtargetInfo &STI)
- : AMDGPUTargetStreamer(S), STI(STI), Streamer(S) {
+ : AMDGPUTargetStreamer(S), Streamer(S) {
MCAssembler &MCA = getStreamer().getAssembler();
unsigned EFlags = MCA.getELFHeaderEFlags();
Modified: llvm/trunk/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h?rev=325408&r1=325407&r2=325408&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h (original)
+++ llvm/trunk/lib/Target/AMDGPU/MCTargetDesc/AMDGPUTargetStreamer.h Fri Feb 16 15:04:11 2018
@@ -87,7 +87,6 @@ public:
};
class AMDGPUTargetELFStreamer final : public AMDGPUTargetStreamer {
- const MCSubtargetInfo &STI;
MCStreamer &Streamer;
void EmitAMDGPUNote(const MCExpr *DescSize, unsigned NoteType,
More information about the llvm-commits
mailing list