[clang] [clang][Driver][SPIR-V] Allow linking IR using llvm-link (PR #169572)

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 5 08:24:21 PST 2026


jhuber6 wrote:

> Do you mean change the way to specify this behavior from the currently proposed `-emit-llvm (no -c)` to `-fuse-ld=llvm-link`?

On second thought, that's probably not bad because that's a hard error right now. Though I do think in order to truly replace the current behavior we have we'd want some way to run optimizations and not just `llvm-link`. I would like someone more familiar with the other ToolChains to chime in though.

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


More information about the cfe-commits mailing list