[libc-commits] [compiler-rt] [libc] [libclc] [llvm] [openmp] [runtimes] Add RUNTIMES_LTO to select the kind of LTO for GPU runtimes (PR #235660)

Joseph Huber via libc-commits libc-commits at lists.llvm.org
Tue Nov 3 09:47:28 PST 2026


https://github.com/jhuber6 commented:

I'd assume this would be handled like the LLVM sanitizer runtimes builds. Though I'm wondering if that would cause problems. The GPU builds are all LTO for both performance and ABI stability.

@petrhosek any idea if it's reasonable to have a flag that pushes LLVM-IR for the whole runtimes build? Only problem I can imagine is compiler-rt libcalls, but even in those cases I think the current toolchain will link everything.

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


More information about the libc-commits mailing list