[all-commits] [llvm/llvm-project] 4d1530: RuntimeLibcalls: Split lowering decisions into Lib...
Matt Arsenault via All-commits
all-commits at lists.llvm.org
Fri Oct 24 07:33:47 PDT 2025
Branch: refs/heads/users/arsenm/runtime-libcalls/split-libcall-lowering-info-runtime-libcall-info
Home: https://github.com/llvm/llvm-project
Commit: 4d1530d61354ceccbfd12c3483adcb3fce07a466
https://github.com/llvm/llvm-project/commit/4d1530d61354ceccbfd12c3483adcb3fce07a466
Author: Matt Arsenault <Matthew.Arsenault at amd.com>
Date: 2025-10-24 (Fri, 24 Oct 2025)
Changed paths:
M llvm/include/llvm/CodeGen/TargetLowering.h
M llvm/include/llvm/IR/RuntimeLibcalls.h
M llvm/lib/CodeGen/TargetLoweringBase.cpp
M llvm/lib/IR/RuntimeLibcalls.cpp
M llvm/lib/LTO/LTO.cpp
M llvm/lib/Target/WebAssembly/WebAssemblyRuntimeLibcallSignatures.cpp
M llvm/lib/Transforms/Utils/DeclareRuntimeLibcalls.cpp
M llvm/test/TableGen/RuntimeLibcallEmitter-calling-conv.td
M llvm/test/TableGen/RuntimeLibcallEmitter-conflict-warning.td
M llvm/test/TableGen/RuntimeLibcallEmitter.td
M llvm/test/Transforms/Util/DeclareRuntimeLibcalls/basic.ll
M llvm/utils/TableGen/Basic/RuntimeLibcallsEmitter.cpp
Log Message:
-----------
RuntimeLibcalls: Split lowering decisions into LibcallLoweringInfo
Introduce a new class for the TargetLowering usage. This tracks the
subtarget specific lowering decisions for which libcall to use.
RuntimeLibcallsInfo is a module level property, which may have multiple
implementations of a particular libcall available. This attempts to be
a minimum boilerplate patch to introduce the new concept.
In the future we should have a tablegen way of selecting which
implementations should be used for a subtarget. Currently we
do have some conflicting implementations added, it just happens
to work out that the default cases to prefer is alphabetically
first (plus some of these still are using manual overrides
in TargetLowering constructors).
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