================ @@ -2011,6 +2011,13 @@ def AMDGPUNumVGPR : InheritableAttr { let Subjects = SubjectList<[Function], ErrorDiag, "kernel functions">; } +def AMDGPULibFun : InheritableAttr { ---------------- yxsamliu wrote: will do https://github.com/llvm/llvm-project/pull/74737