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

Matt Arsenault via All-commits all-commits at lists.llvm.org
Fri Jun 27 01:55:03 PDT 2025


  Branch: refs/heads/users/arsenm/tablegen/define-runtime-libcall-sets-tablegen
  Home:   https://github.com/llvm/llvm-project
  Commit: ac9385a95d8a6b048fbfdfec54a374a7ff3ca314
      https://github.com/llvm/llvm-project/commit/ac9385a95d8a6b048fbfdfec54a374a7ff3ca314
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2025-06-27 (Fri, 27 Jun 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.



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