[all-commits] [llvm/llvm-project] 70a525: RuntimeLibcalls: Only provide fp128 long double li...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Sat Aug 8 01:39:37 PDT 2026


  Branch: refs/heads/users/arsenm/runtime-libcalls/fix-overproviding-fp128-libcalls
  Home:   https://github.com/llvm/llvm-project
  Commit: 70a525cbfa7c1b37b3fc5547a6ecda2d0591b529
      https://github.com/llvm/llvm-project/commit/70a525cbfa7c1b37b3fc5547a6ecda2d0591b529
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2026-08-08 (Sat, 08 Aug 2026)

  Changed paths:
    M llvm/include/llvm/IR/RuntimeLibcalls.h
    M llvm/include/llvm/IR/RuntimeLibcalls.td
    M llvm/lib/IR/RuntimeLibcalls.cpp
    M llvm/test/TableGen/RuntimeLibcallEmitter-calling-conv.td
    M llvm/test/TableGen/RuntimeLibcallEmitter.td
    M llvm/utils/TableGen/Basic/RuntimeLibcallsEmitter.cpp

  Log Message:
  -----------
  RuntimeLibcalls: Only provide fp128 long double libcalls when long double is fp128

The l-suffixed long double math functions (e.g, acosl, sqrtl, ...) are fp128 only
when the target's long double is fp128. The default set provided them on every
target that was not x87 or ppc_fp128, so targets using double as long
double wrongly reported the fp128 l-suffixed functions.

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