[llvm] MC,AMDGPU: Don't pad .text with s_code_end if it would otherwise be empty (PR #147980)
Tim Renouf via llvm-commits
llvm-commits at lists.llvm.org
Mon Aug 4 00:16:41 PDT 2025
================
@@ -342,12 +342,10 @@ void MCObjectStreamer::emitInstructionImpl(const MCInst &Inst,
const MCSubtargetInfo &STI) {
MCStreamer::emitInstruction(Inst, STI);
- MCSection *Sec = getCurrentSectionOnly();
----------------
trenouf wrote:
Fixed as suggested.
https://github.com/llvm/llvm-project/pull/147980
More information about the llvm-commits
mailing list