[all-commits] [llvm/llvm-project] ca5e13: RuntimeLibcalls: Emit all available impls for a li...

Matt Arsenault via All-commits all-commits at lists.llvm.org
Tue Jul 21 02:19:15 PDT 2026


  Branch: refs/heads/users/arsenm/runtime-libcalls/emitter-allow-multiple-impls
  Home:   https://github.com/llvm/llvm-project
  Commit: ca5e13eddddb5da9f1eb27a1b71ed09a4877205e
      https://github.com/llvm/llvm-project/commit/ca5e13eddddb5da9f1eb27a1b71ed09a4877205e
  Author: Matt Arsenault <Matthew.Arsenault at amd.com>
  Date:   2026-07-21 (Tue, 21 Jul 2026)

  Changed paths:
    R llvm/test/TableGen/RuntimeLibcallEmitter-conflict-warning.td
    A llvm/test/TableGen/RuntimeLibcallEmitter-multiple-impls.td
    M llvm/utils/TableGen/Basic/RuntimeLibcallsEmitter.cpp

  Log Message:
  -----------
  RuntimeLibcalls: Emit all available impls for a libcall, not just one

The intent is RuntimeLibcalls should represent all functions that are
callable from the module, which may have contextually selectable alternatives.
Previously we had this warning since there was no mechanism to select which
one you want, and as a workaround the library call sets avoided adding the
variants which should nto be selected.

Now targets can use initLibcallLoweringInfo, so remove the warning to unblock
more libcall cleanups. Eventually initLibcallLoweringInfo should also be tablegen
driven.

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