[PATCH] D127762: [Clang][AArch64] Add/implement ACLE keywords for SME.
Sander de Smalen via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 30 08:17:08 PDT 2023
sdesmalen updated this revision to Diff 536260.
sdesmalen marked 11 inline comments as done.
sdesmalen added a comment.
Updated patch:
- Addressed review comments (clarified documentation, minor refactoring)
- Added new tests (codegen + sema tests to make sure attributes are propagated to types when using variadic templates). If there's any other specific tests you'd like me to add, let me know.
I waited a bit to update this patch, because I wasn't sure if the syntax might still change pending the conversation on D148700 <https://reviews.llvm.org/D148700>, but at the moment the status is that the keywords have a specific benefit over C++ style attributes in that they are not silently ignored. If the concensus on this changes we can easily support the other syntax through another patch. I hope this patch with semantic support can land if everyone is happy with the implementation. I think I've addressed all outstanding comments now.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D127762/new/
https://reviews.llvm.org/D127762
Files:
clang/include/clang/AST/Type.h
clang/include/clang/AST/TypeProperties.td
clang/include/clang/Basic/Attr.td
clang/include/clang/Basic/AttrDocs.td
clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/include/clang/Sema/Sema.h
clang/lib/AST/Type.cpp
clang/lib/AST/TypePrinter.cpp
clang/lib/CodeGen/CGCall.cpp
clang/lib/CodeGen/CodeGenModule.cpp
clang/lib/Sema/SemaDecl.cpp
clang/lib/Sema/SemaDeclAttr.cpp
clang/lib/Sema/SemaDeclCXX.cpp
clang/lib/Sema/SemaExpr.cpp
clang/lib/Sema/SemaOverload.cpp
clang/lib/Sema/SemaType.cpp
clang/test/AST/ast-dump-sme-attributes.cpp
clang/test/CodeGen/aarch64-sme-intrinsics/aarch64-sme-attrs.cpp
clang/test/Modules/aarch64-sme-keywords.cppm
clang/test/Sema/aarch64-sme-func-attrs.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127762.536260.patch
Type: text/x-patch
Size: 67404 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230630/ff89dbb0/attachment-0001.bin>
More information about the cfe-commits
mailing list