[clang] [HIP] Emit the CUID value in the module with the new driver (PR #144570)
Joseph Huber via cfe-commits
cfe-commits at lists.llvm.org
Wed Jun 18 19:36:01 PDT 2025
jhuber6 wrote:
> > `llvm.compiler.used` global uses AS(0) which makes SPIR-V unhappy, but with this global it's AS(4) which makes it happy. Either way, this should be fixed.
>
> llvm.used and llvm.compiler.used should universally use addrspace(0) and SPIRV should be fixed to not break on this
Definitely, but this should probably land anyway since it's divergent for no reason.
https://github.com/llvm/llvm-project/pull/144570
More information about the cfe-commits
mailing list