[all-commits] [llvm/llvm-project] 517363: [Sparc][clang] Use 64-bit long double on bare-meta...

Daniel Cederman via All-commits all-commits at lists.llvm.org
Tue Sep 22 10:07:14 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5173637372a272790125e6af71576c6607adfef8
      https://github.com/llvm/llvm-project/commit/5173637372a272790125e6af71576c6607adfef8
  Author: Daniel Cederman <cederman at gaisler.com>
  Date:   2026-09-22 (Tue, 22 Sep 2026)

  Changed paths:
    M clang/lib/Basic/Targets/Sparc.cpp
    M clang/lib/Basic/Targets/Sparc.h
    M clang/lib/CodeGen/Targets/Sparc.cpp
    A clang/test/CodeGen/Sparc/sparc-long-double-abi.c
    M clang/test/CodeGen/Sparc/sparc-vaarg.c
    M clang/test/CodeGen/Sparc/sparcv8-abi.c
    M clang/test/CodeGen/Sparc/variadic-aggregate.c
    M clang/test/Preprocessor/init.c
    M clang/test/Preprocessor/predefined-arch-macros.c
    M llvm/lib/TargetParser/Triple.cpp
    M llvm/unittests/TargetParser/TripleTest.cpp

  Log Message:
  -----------
  [Sparc][clang] Use 64-bit long double on bare-metal targets (#222304)

GCC uses 64-bit long double for bare-metal SPARC V8 targets, including
RTEMS. Keep the default 128-bit for other SPARC targets.

Use the scalar calling convention for 64-bit long double.

Assisted-by: Codex



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