================ @@ -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]; ---------------- sarnex wrote:
Thanks, I wasn't sure how strict we were with that, will add documentation. https://github.com/llvm/llvm-project/pull/137882 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits