[all-commits] [llvm/llvm-project] 80cd61: LoongArch: Respect the target-abi module flag in t...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue Sep 29 03:33:30 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 80cd6102a79c02763034fbf1b6a1473930b1d4ab
      https://github.com/llvm/llvm-project/commit/80cd6102a79c02763034fbf1b6a1473930b1d4ab
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2026-09-29 (Tue, 29 Sep 2026)

  Changed paths:
    M llvm/lib/Target/LoongArch/LoongArchAsmPrinter.cpp
    M llvm/lib/Target/LoongArch/LoongArchAsmPrinter.h
    A llvm/test/CodeGen/LoongArch/module-target-abi.ll

  Log Message:
  -----------
  LoongArch: Respect the target-abi module flag in the ELF header (#226498)

The target streamer read the ABI from MCTargetOptions when constructed,
so the e_flags recorded the command line -target-abi and ignored the
module flag.

Co-authored-by: Claude Opus 5 <noreply at anthropic.com>



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