[clang] [llvm] [clang] Add spir_kernel attribute (PR #137882)
Erich Keane via cfe-commits
cfe-commits at lists.llvm.org
Thu May 1 07:41:42 PDT 2025
================
@@ -1504,6 +1506,12 @@ def NVPTXKernel : InheritableAttr, TargetSpecificAttr<TargetNVPTX> {
let Documentation = [Undocumented];
}
+def SPIRKernel : InheritableAttr, TargetSpecificAttr<TargetAnySPIR> {
+ let Spellings = [Clang<"spir_kernel">];
+ let Subjects = SubjectList<[Function]>;
+ let Documentation = [Undocumented];
----------------
erichkeane wrote:
Why is this non-documented? WE very much don't approve/accept new undocumented attributes without good reason.
https://github.com/llvm/llvm-project/pull/137882
More information about the cfe-commits
mailing list