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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits