================ @@ -2693,6 +2693,17 @@ An error will be given if: }]; } +def AMDGPULibFunDocs : Documentation { + let Category = DocCatAMDGPUAttributes; + let Content = [{ +The ``amdgpu_lib_fun`` attribute can be applied to a function for AMDGPU target +to indicate it is a library function which are handled specially in backend. +An AMDGPU library function is not internalized and can be used to fullfill +calls generated by LLVM passes or instruction selection. Unused AMDGPU library +functions will be eliminated by the backend. ---------------- yxsamliu wrote:
will do https://github.com/llvm/llvm-project/pull/74737 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits