[all-commits] [llvm/llvm-project] de2197: RISCV: Don't use MCTargetOptions::ABIName in the E...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Fri Sep 18 11:36:20 PDT 2026


  Branch: refs/heads/users/arsenm/riscv/mc-abi-drop-streamer-target-abi-opt-use
  Home:   https://github.com/llvm/llvm-project
  Commit: de2197bef9e4661c0e68333cb24ed03b67e2cd94
      https://github.com/llvm/llvm-project/commit/de2197bef9e4661c0e68333cb24ed03b67e2cd94
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2026-09-18 (Fri, 18 Sep 2026)

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

  Log Message:
  -----------
  RISCV: Don't use MCTargetOptions::ABIName in the ELF target streamer

The abi name should come from the target-abi module flag in codegen,
which should be set up in the AsmPrinter. The ABI name field should
only be of practical use in the assembler, which reads the flag in
onBeginOfFile.

Co-Authored-By: Claude <noreply at anthropic.com> (Claude Opus 4.8)



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list