diff options
author | Joseph Huber <huberjn@outlook.com> | 2024-07-02 13:23:53 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-07-02 13:23:53 -0500 |
commit | 3c50cbfda4fc3ad85349167132f7ed809ecc685a (patch) | |
tree | 093a24d3ee8cc426da0c453482a393c2141808ba /llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp | |
parent | 4d8883759432bb5fe6c5039b88c035d127ce948d (diff) | |
download | llvm-3c50cbfda4fc3ad85349167132f7ed809ecc685a.zip llvm-3c50cbfda4fc3ad85349167132f7ed809ecc685a.tar.gz llvm-3c50cbfda4fc3ad85349167132f7ed809ecc685a.tar.bz2 |
[DeviceRTL] Make defined 'libc' functions weak in OpenMP (#97356)
Summary:
These functions provide special-case implementations internal to the
OpenMP device runtime. This can potentially conflict with the symbols
pulled in from the actual GPU `libc`. This patch makes these weak, so in
the case that the GPU libc functions exist they will be overridden. This
should not impact performance in the average case because the old
`-mlink-builtin-bitcode` version does internalization, deleting weak,
and the new LTO path will resolve to the strong reference and then
internalize it.
Diffstat (limited to 'llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions