[all-commits] [llvm/llvm-project] 9d4eb0: PowerPC: Rename "float-abi" module flag to "long-d...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue Jul 28 11:10:47 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9d4eb0a855242a37a7541682934a6dd811474d11
      https://github.com/llvm/llvm-project/commit/9d4eb0a855242a37a7541682934a6dd811474d11
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2026-07-28 (Tue, 28 Jul 2026)

  Changed paths:
    M clang/lib/CodeGen/Targets/PPC.cpp
    R clang/test/CodeGen/ppc64-float-abi-attr.c
    A clang/test/CodeGen/ppc64-long-double-type-attr.c
    M llvm/docs/LangRef.md
    M llvm/lib/IR/AutoUpgrade.cpp
    M llvm/lib/IR/Verifier.cpp
    M llvm/lib/Target/PowerPC/PPCAsmPrinter.cpp
    A llvm/test/Assembler/module-flags-long-double-type.ll
    A llvm/test/Bitcode/upgrade-ppc-float-abi.ll
    M llvm/test/CodeGen/PowerPC/gnu-attribute.ll
    A llvm/test/Linker/module-flags-long-double-type.ll
    A llvm/test/Verifier/module-flags-long-double-type.ll

  Log Message:
  -----------
  PowerPC: Rename "float-abi" module flag to "long-double-type" (#210817)

PPC was emitting a "float-abi" module flag for indicating the type of
long double. The "float ABI" naming is already widely taken by soft vs. 
hard float controls (e.g., the clang flag is called -mfloat-abi), so this 
shouldn't have  taken it. This should also not be PPC specific; x86 has 
the same problem. Rename  the flag to the more specific 
long-double-type,  and  add appropriate verification and documentation 
(which was also missing).  Also  changes the value names to match the IR 
type names.

Co-authored-by: Claude (Claude-Opus-4.8) <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