[libclc] [libclc] Restore always_inline for SPIR-V targets (PR #202891)

via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 10 23:17:24 PDT 2026


Eric-Guo-NXP wrote:

> > targets build at -O0 and never run 'opt', so helpers are no longer inlined and survive as real calls,
> 
> Which shouldn't be a problem?

AddLibclc.cmake also  provides a `--internalize --only-needed` flag, which removes any functions that are not inlined.

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


More information about the cfe-commits mailing list