[all-commits] [llvm/llvm-project] 0dfcc2: TableGen: Allow defining sets of runtime libraries

Matt Arsenault via All-commits all-commits at lists.llvm.org
Mon Jul 7 18:15:17 PDT 2025


  Branch: refs/heads/users/arsenm/tablegen/define-runtime-libcall-sets-tablegen
  Home:   https://github.com/llvm/llvm-project
  Commit: 0dfcc269d9be4e789c12689bddd76a0836ee7f69
      https://github.com/llvm/llvm-project/commit/0dfcc269d9be4e789c12689bddd76a0836ee7f69
  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/include/llvm/IR/RuntimeLibcallsImpl.td
    A llvm/include/llvm/TableGen/SetTheory.td
    M llvm/lib/IR/RuntimeLibcalls.cpp
    A llvm/test/TableGen/RuntimeLibcallEmitter-bad-system-library-entry-error.td
    A llvm/test/TableGen/RuntimeLibcallEmitter-conflict-warning.td
    A llvm/test/TableGen/RuntimeLibcallEmitter-nested-predicates-error.td
    M llvm/test/TableGen/RuntimeLibcallEmitter.td
    M llvm/utils/TableGen/Basic/RuntimeLibcallsEmitter.cpp

  Log Message:
  -----------
  TableGen: Allow defining sets of runtime libraries

Add a way to define a SystemLibrary for a complete set of
libcalls, subdivided by a predicate based on the triple.
Libraries can be defined using dag set operations, and the
prior default set can be subtracted from and added to (though
I think eventually all targets should move to explicit opt-ins.
We're still doing things like reporting ppcf128 libcalls as
available dy default on all targets).

Start migrating some of the easier targets to only use the new
system. Targets that don't define a SystemLibrary are still
manually mutating a table set to the old defaults.


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

  Changed paths:
    M llvm/test/TableGen/RuntimeLibcallEmitter-bad-system-library-entry-error.td
    M llvm/test/TableGen/RuntimeLibcallEmitter-conflict-warning.td
    M llvm/test/TableGen/RuntimeLibcallEmitter-nested-predicates-error.td

  Log Message:
  -----------
  Fix include path on case sensitive filesystem


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

  Changed paths:
    M llvm/test/TableGen/RuntimeLibcallEmitter.td

  Log Message:
  -----------
  Test cleanup


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

  Changed paths:
    M llvm/utils/TableGen/Basic/RuntimeLibcallsEmitter.cpp

  Log Message:
  -----------
  Remove blank lines


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

  Changed paths:
    M llvm/include/llvm/IR/RuntimeLibcalls.td

  Log Message:
  -----------
  Fix wasm calls after split


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

  Changed paths:
    M llvm/include/llvm/IR/RuntimeLibcalls.td

  Log Message:
  -----------
  Comment


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

  Changed paths:
    M llvm/include/llvm/IR/RuntimeLibcalls.td

  Log Message:
  -----------
  Move common sets of libcalls


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

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

  Log Message:
  -----------
  AArch64: Darwin has bzero


  Commit: 970e3797e5e014f9b47b5397a63b70f628126ed4
      https://github.com/llvm/llvm-project/commit/970e3797e5e014f9b47b5397a63b70f628126ed4
  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

  Log Message:
  -----------
  AArch64/Darwin work


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

  Changed paths:
    M llvm/include/llvm/IR/RuntimeLibcalls.td

  Log Message:
  -----------
  Fix comment


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

  Changed paths:
    M llvm/include/llvm/IR/RuntimeLibcalls.td

  Log Message:
  -----------
  Split int128 cases


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

  Changed paths:
    M llvm/utils/TableGen/Basic/RuntimeLibcallsEmitter.cpp

  Log Message:
  -----------
  Manually clang-format since my local copy seems to disagree with bot


Compare: https://github.com/llvm/llvm-project/compare/11f878fcb7d0...41a5c3bfd7a5

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