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

Matt Arsenault via All-commits all-commits at lists.llvm.org
Wed Sep 23 14:02:31 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 674fd8d37e9b5806bc1a7ff31dc56bf3a0839c6b
      https://github.com/llvm/llvm-project/commit/674fd8d37e9b5806bc1a7ff31dc56bf3a0839c6b
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2026-09-23 (Wed, 23 Sep 2026)

  Changed paths:
    M llvm/lib/CodeGen/CommandFlags.cpp
    M llvm/lib/Target/RISCV/AsmParser/RISCVAsmParser.cpp
    M llvm/lib/Target/RISCV/MCTargetDesc/RISCVELFStreamer.cpp
    M llvm/lib/Target/RISCV/RISCVAsmPrinter.cpp
    M llvm/test/CodeGen/RISCV/target-abi-invalid.ll
    A llvm/test/CodeGen/RISCV/target-abi-synthesize-flag.ll

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

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