[clang] [AMDGPU] add function attrbute amdgpu-lib-fun (PR #74737)

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 9 11:57:11 PST 2024


MaskRay wrote:

> An AMDGPU library function is not internalized and can be used to fullfill calls generated by LLVM passes or instruction selection.

I am confused by the description of "internalized". Do you refer to LTO internalization? You can leverage `llvm.used` to disable LTO internalization.

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


More information about the cfe-commits mailing list