[PATCH] D127762: [Clang][AArch64] Add ACLE attributes for SME.

Sander de Smalen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jun 21 03:14:28 PDT 2022


sdesmalen updated this revision to Diff 438624.
sdesmalen added a comment.

- Increased test-coverage by adding positive tests for:
  - template instantiations
  - function overloading
  - lambda function with attribute
  - (indirect) pointer to pointer to an attributed function type.

- Also added negative tests for:
  - passing an operand to an arm_streaming attribute
  - Adding an arm_streaming attribute to a non-function type.

- Rewritten the CHECK lines for aarch64-sme-attrs.cpp, such that the attributes are checked with named labels, e.g. #[[SM_ENABLED_CALL]].


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/lib/AST/Type.cpp
  clang/lib/AST/TypePrinter.cpp
  clang/lib/Basic/Targets/AArch64.cpp
  clang/lib/Basic/Targets/AArch64.h
  clang/lib/CodeGen/CGCall.cpp
  clang/lib/CodeGen/CodeGenModule.cpp
  clang/lib/Sema/SemaDeclAttr.cpp
  clang/lib/Sema/SemaExpr.cpp
  clang/lib/Sema/SemaType.cpp
  clang/test/CodeGen/aarch64-sme-intrinsics/aarch64-sme-attrs.cpp
  clang/test/Misc/pragma-attribute-supported-attributes-list.test
  clang/test/Sema/aarch64-sme-attrs-no-sme.c
  clang/test/Sema/aarch64-sme-func-attrs.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D127762.438624.patch
Type: text/x-patch
Size: 52749 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220621/4347424e/attachment-0001.bin>


More information about the cfe-commits mailing list