[all-commits] [llvm/llvm-project] 85d5ef: ARM: Mark more generic libgcc functions as available

Matt Arsenault via All-commits all-commits at lists.llvm.org
Wed Jul 29 11:51:55 PDT 2026


  Branch: refs/heads/users/arsenm/arm/runtime-libcalls-stop-excluding-generic-libgcc-functions
  Home:   https://github.com/llvm/llvm-project
  Commit: 85d5efa766948df1eb50dee46dd2a5bb8c527486
      https://github.com/llvm/llvm-project/commit/85d5efa766948df1eb50dee46dd2a5bb8c527486
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2026-07-29 (Wed, 29 Jul 2026)

  Changed paths:
    M llvm/include/llvm/IR/RuntimeLibcalls.td
    M llvm/lib/Target/ARM/ARMSubtarget.cpp

  Log Message:
  -----------
  ARM: Mark more generic libgcc functions as available

Generic libgcc/compiler-rt functions coexist with aeabi variants
(e.g., __divsi3  and __aeabi_idiv) according to my reading of the
build. At least in compiler-rt, they are aliases (such that I'm not sure
what the point of ever emitting the __aeabi name is).

They were previously removed from the available set on AEABI+AAPCS targets
to force selection of the preferred __aeabi_* variants, back when
only one implementation per libcall could be recorded.

Now that multiple implementations can be available per libcall, stop hiding
the generics and select the __aeabi_* variant explicitly as the preferred
implemntation. This reduces the number of special cases to consider for
future libcalls info improvements.

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