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

Joseph Huber via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 9 12:00:46 PST 2024


================
@@ -2011,6 +2011,13 @@ def AMDGPUNumVGPR : InheritableAttr {
   let Subjects = SubjectList<[Function], ErrorDiag, "kernel functions">;
 }
 
+def AMDGPULibFun : InheritableAttr {
----------------
jhuber6 wrote:

Why isn't this a `TargetSpecificAttr`? We should have one for AMDGPU.

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


More information about the cfe-commits mailing list