[libclc] [libclc] Restore always_inline for SPIR-V targets (PR #202891)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 15 23:56:30 PDT 2026
Eric-Guo-NXP wrote:
> LGTM, please update PR title and message accordingly.
>
> `-disable-llvm-passes` should be better than `-O0`. SPIRV is generic target and doesn't have TTI interface, which can cause optimizations pass to make suboptimal decisions. An alternative approach is to selectively disable some passes , but this is not trivial.
done.
https://github.com/llvm/llvm-project/pull/202891
More information about the cfe-commits
mailing list