[clang] [HIP] Emit the CUID value in the module with the new driver (PR #144570)

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 18 18:27:50 PDT 2025


arsenm 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 



https://github.com/llvm/llvm-project/pull/144570


More information about the cfe-commits mailing list