[PATCH] D153667: [HIP]: Add gpu-link-output to control link job creation
Yaxun Liu via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 28 07:33:10 PDT 2023
yaxunl added a comment.
In D153667#4455998 <https://reviews.llvm.org/D153667#4455998>, @jhuber6 wrote:
> In D153667#4455943 <https://reviews.llvm.org/D153667#4455943>, @yaxunl wrote:
>
>> For -fno-gpu-rdc case we do not use lto. Since -fno-gpu-rdc has one TU only, we use the non-lto backend to get relocatable object, and use lld for relocatable to shared object. This patch allows us to stop at the relocatable object since comgr needs that.
>
> I see, so conceptually this is like `-Xarch-device -c` (if such a thing worked)?
It is like that
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153667/new/
https://reviews.llvm.org/D153667
More information about the cfe-commits
mailing list