[PATCH] D130096: [Clang][AMDGPU] Emit AMDGPU library control constants in clang

Joseph Huber via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 19 10:19:41 PDT 2022


jhuber6 added a comment.

In D130096#3663062 <https://reviews.llvm.org/D130096#3663062>, @JonChesterfield wrote:

> A safer bet is to use the current control flow that links in specific bitcode files, but create the global directly instead of linking in the file. That'll give us zero semantic change and a clang that ignores those bitcode files if present.

Do we expect those libraries to be linked per-TU via `-mlink-builtin-bitcode`? The usage I see passes them to `lld` directly.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D130096/new/

https://reviews.llvm.org/D130096



More information about the cfe-commits mailing list