[all-commits] [llvm/llvm-project] 989f3f: [RISCV][NFCI] Use common MCELFStreamer code for at...

Alex Bradbury via All-commits all-commits at lists.llvm.org
Sun Mar 12 09:18:02 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 989f3f080e40e6d192a35630e3e04c326015eacc
      https://github.com/llvm/llvm-project/commit/989f3f080e40e6d192a35630e3e04c326015eacc
  Author: Alex Bradbury <asb at igalia.com>
  Date:   2023-03-12 (Sun, 12 Mar 2023)

  Changed paths:
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVELFStreamer.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVELFStreamer.h

  Log Message:
  -----------
  [RISCV][NFCI] Use common MCELFStreamer code for attribute emission

D102894 introduced common code for the emission of ELF attributes. Our
implementation in RISC-V predates this, and basically copies the Arm
logic at the time. This patch removes that duplication and uses the
shared logic instead.

Differential Revision: https://reviews.llvm.org/D145570




More information about the All-commits mailing list