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

Matt Arsenault via All-commits all-commits at lists.llvm.org
Sat Aug 8 03:30:25 PDT 2026


  Branch: refs/heads/users/arsenm/runtime-libcalls/fix-overproviding-fp128-libcalls
  Home:   https://github.com/llvm/llvm-project
  Commit: d2bd3fb85b5cde16a39a8b4b1d5d26377661cf02
      https://github.com/llvm/llvm-project/commit/d2bd3fb85b5cde16a39a8b4b1d5d26377661cf02
  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