summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorJoseph Huber <huberjn@outlook.com>2024-07-11 12:59:25 -0500
committerGitHub <noreply@github.com>2024-07-11 12:59:25 -0500
commit3f1a76757269d0770bdb7e8086656e61019002ec (patch)
treeb56bb46b411e1fc7e7d124f2b52932b65bd773b3 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent6c903f05f30147828662eb23f3d91939dbb06a43 (diff)
[LLVM] Factor disabled Libcalls into the initializer (#98421)
Summary: These Libcalls represent which functions are available to the backend. If a runtime call is not available, the target sets the the name to `nullptr`. Currently, this logic is spread around the various targets. This patch pulls all of the locations that disable libcalls into the intializer. This patch is effectively NFC. The motivation behind this patch is that currently the LTO handling uses the list of all runtime calls to determine which functions cannot be internalized and must be extracted from static libraries. We do not want this to happen for libcalls that are not emitted by the backend. A follow-up patch will move out this logic so the LTO pass can know which rtlib calls are actually used by the backend.
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions