[llvm] [SPIRV] Support -fembed-bitcode=marker for non-shader modules (PR #162082)

Juan Manuel Martinez CaamaƱo via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 8 04:36:35 PDT 2025


jmmartinez wrote:

I'm closing this PR (and its parent https://github.com/llvm/llvm-project/pull/162081). I think I got this wrong.

The AS of the variables in the tests should not be the default one, it should be 1. But that introduces an addrspace cast from `1` to `0` to add this to `llvm.used`; which is illegal, even if they all are pseudo-variables.

I'm going to rethink about this and tackle this issue later.

Thanks a lot for the comments still ! 

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


More information about the llvm-commits mailing list