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

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


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5088231e52824c265d2d5b2ecb3c472283f2969b
      https://github.com/llvm/llvm-project/commit/5088231e52824c265d2d5b2ecb3c472283f2969b
  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 (#144978)

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