[clang] [HIP] Use linker wrapper for device-only code object links (PR #211675)
Yaxun Liu via cfe-commits
cfe-commits at lists.llvm.org
Fri Aug 14 19:08:29 PDT 2026
yxsamliu wrote:
@jhuber6 Re: device-only linker path
So far we have not received complaints about device-only compilation time being a problem, so I agree we can defer the `--offload-jobs` unification work.
I updated this PR to use the smaller `constructLldCommand` fix for the concrete profile-runtime issue. I kept `-amdgpu-internalize-symbols` unchanged since it is known to be critical for HIP app performance and was added for HIP compile-time/code-size/performance. If there is a correctness issue with it in LTO mode, could you share a concrete reproducer? I think that should be handled in a separate PR.
https://github.com/llvm/llvm-project/pull/211675
More information about the cfe-commits
mailing list