[clang] [llvm] [NFC][LLVM] Use @llvm.compiler.used/@llvm.used helpers in Clang and BitcodeWriter (PR #162660)

Juan Manuel Martinez CaamaƱo via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 1 08:03:06 PST 2025


jmmartinez wrote:

> (Just wondering why this change hasn't been landed?)

Hello!

Sadly https://github.com/llvm/llvm-project/pull/164432 got reverted due to fails downstream. The reason is that the SPIRV translator lowers `llvm.compiler.used` as it is; instead of having a special handling for it.

I have to propose a patch for the translator (such that they do the translation back and forth in the appropriate way).

Then reland https://github.com/llvm/llvm-project/pull/164432, then land this patch.

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


More information about the llvm-commits mailing list