================
@@ -8607,6 +8610,10 @@ void Sema::ProcessDeclAttributeList(
Diag(D->getLocation(), diag::err_attribute_wrong_decl_type)
<< A << A->isRegularKeywordAttribute() << ExpectedKernelFunction;
D->setInvalidDecl();
+ } else if (const auto *A = D->getAttr<AMDGPUKernargPreloadCountAttr>()) {
----------------
AaronBallman wrote:
The FIXME above the block of code is getting closer to being a requirement,
just in case you feel like being nerd sniped into doing some refactoring work
before working on this PR. :-D
https://github.com/llvm/llvm-project/pull/211059
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits