[all-commits] [llvm/llvm-project] 0daf2f: RuntimeLibcalls: Remove table of soft float compar...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue Jul 8 01:22:07 PDT 2025


  Branch: refs/heads/users/arsenm/arm/start-moving-runtime-libcalls-into-tablegen
  Home:   https://github.com/llvm/llvm-project
  Commit: 0daf2fa9aa2e36d9d7c08a2cf7c404b94541f177
      https://github.com/llvm/llvm-project/commit/0daf2fa9aa2e36d9d7c08a2cf7c404b94541f177
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-07-08 (Tue, 08 Jul 2025)

  Changed paths:
    M llvm/include/llvm/CodeGen/RuntimeLibcallUtil.h
    M llvm/include/llvm/CodeGen/TargetLowering.h
    M llvm/include/llvm/IR/RuntimeLibcalls.h
    M llvm/lib/CodeGen/SelectionDAG/TargetLowering.cpp
    M llvm/lib/CodeGen/TargetLoweringBase.cpp
    M llvm/lib/IR/RuntimeLibcalls.cpp
    M llvm/lib/Target/ARM/ARMISelLowering.cpp

  Log Message:
  -----------
  RuntimeLibcalls: Remove table of soft float compare cond codes

Previously we had a table of entries for every Libcall for
the comparison to use against an integer 0 if it was a soft
float compare function. This was only relevant to a handful of
opcodes, so it was wasteful. Now that we can distinguish the
abstract libcall for the compare with the concrete implementation,
we can just directly hardcode the comparison against the libcall
impl without this configuration system.


  Commit: c8ec606cb68011cb6b3325578cba85baf09166a5
      https://github.com/llvm/llvm-project/commit/c8ec606cb68011cb6b3325578cba85baf09166a5
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-07-08 (Tue, 08 Jul 2025)

  Changed paths:
    M llvm/lib/IR/RuntimeLibcalls.cpp
    M llvm/lib/Target/ARM/ARMISelLowering.cpp

  Log Message:
  -----------
  ARM: Unconditionally set eabi libcall calling convs in RuntimeLibcalls

This fully consolidates all the calling convention configuration into
RuntimeLibcallInfo. I'm assuming that __aeabi functions have a universal
calling convention, and on other ABIs just don't use them. This will
enable splitting of RuntimeLibcallInfo into the ABI and lowering component.


  Commit: e96c43c33ee4e9ddc1d73d8b536309a22d92c4b7
      https://github.com/llvm/llvm-project/commit/e96c43c33ee4e9ddc1d73d8b536309a22d92c4b7
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-07-08 (Tue, 08 Jul 2025)

  Changed paths:
    M llvm/lib/IR/RuntimeLibcalls.cpp

  Log Message:
  -----------
  Add missed __aeabi_idivmod and __aeabi_uidivmod cases


  Commit: 57f1f297ffd9485b22b02c5d07493ea2c1bda535
      https://github.com/llvm/llvm-project/commit/57f1f297ffd9485b22b02c5d07493ea2c1bda535
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-07-08 (Tue, 08 Jul 2025)

  Changed paths:
    M llvm/lib/IR/RuntimeLibcalls.cpp

  Log Message:
  -----------
  Remove CC from other div table


  Commit: 98fdafab18ee309bc36c6e062ebe8b1562b9a634
      https://github.com/llvm/llvm-project/commit/98fdafab18ee309bc36c6e062ebe8b1562b9a634
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-07-08 (Tue, 08 Jul 2025)

  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:
  -----------
  ARM: Start moving runtime libcalls into tablegen

We still need to manually set the calling conventions of
some libcalls until the lowering is separated out.


Compare: https://github.com/llvm/llvm-project/compare/5e6ec6330a82...98fdafab18ee

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