[compiler-rt] [compiler-rt] Add COMPILER_RT_GPU_THIN_LTO to build with -flto=thin (PR #226916)

Wenju He via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 28 23:54:35 PDT 2026


wenju-he wrote:

> I wonder if we should find a more canonical way to set this. Doesn't LLVM have a toggle for the kind of LTO to use globally? Curious if I should look into just setting something similar that works in runtimes.

This is a good idea. I have a similar change for libclc as well. A runtime-level toggle would avoid the duplicate for each runtime.

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


More information about the llvm-commits mailing list