[PATCH] D153667: [HIP]: Add gpu-link-output to control link job creation

Joseph Huber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 28 06:52:23 PDT 2023


jhuber6 added a comment.

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)?


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