[all-commits] [llvm/llvm-project] 3851ca: [AArch64] Emit .arch and .arch_extension during as...

Zachary Yedidia via All-commits all-commits at lists.llvm.org
Tue May 6 08:53:18 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3851ca7dec6a3e32c6f91fa445a98188de690351
      https://github.com/llvm/llvm-project/commit/3851ca7dec6a3e32c6f91fa445a98188de690351
  Author: Zachary Yedidia <zyedidia at gmail.com>
  Date:   2025-05-06 (Tue, 06 May 2025)

  Changed paths:
    M llvm/lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp
    M llvm/lib/Target/AArch64/MCTargetDesc/AArch64ELFStreamer.cpp
    M llvm/lib/Target/AArch64/MCTargetDesc/AArch64TargetStreamer.h
    A llvm/test/MC/AArch64/arch_directive.s

  Log Message:
  -----------
  [AArch64] Emit .arch and .arch_extension during assembly to textual asm (#138433)

This patch ensures that when assembling to text (`-filetype asm`),
`.arch` and `.arch_extension` directives are preserved in the output.
This prevents errors related to unavailable extensions in the assembly
output (see #117221 for an example).

Fixes #117221.



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