[compiler-rt] Build bitcode libclang_rt.builtins for GPU targets (PR #189340)

Joseph Huber via llvm-commits llvm-commits at lists.llvm.org
Mon Mar 30 05:22:01 PDT 2026


https://github.com/jhuber6 commented:

I would like to move away from shipping `.bc` files entirely. Now that every offloading language uses the new driver by default we should be able to just enforce that we use linkers that handle static libraries.

The only thing that `mlink-builtin-bitcode` does that's different from static library linking is propagating target attributes, but these builtins don't do anything creative with the IR so we don't need that. The bitcode format for LLVM libc was when I was testing it w/ HIP, but now that HIP uses the new driver it's less useful.

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


More information about the llvm-commits mailing list