[PATCH] D72518: [clang] New __attribute__((__clang_arm_mve_strict_polymorphism)).

Simon Tatham via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jan 14 09:08:56 PST 2020


simon_tatham updated this revision to Diff 237999.
simon_tatham marked 7 inline comments as done.
simon_tatham added a comment.

- Renamed the attribute as suggested.
- Made it target-specific.
- Added a diagnostic when it's applied to anything other than a vector type with a vector kind of `NeonVector`.
- Added some error tests demonstrating the new diagnostic.
- Added code examples to the docs.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D72518/new/

https://reviews.llvm.org/D72518

Files:
  clang/include/clang/Basic/Attr.td
  clang/include/clang/Basic/AttrDocs.td
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/lib/AST/TypePrinter.cpp
  clang/lib/Sema/SemaOverload.cpp
  clang/lib/Sema/SemaType.cpp
  clang/test/Sema/overload-arm-mve.c
  clang/utils/TableGen/MveEmitter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D72518.237999.patch
Type: text/x-patch
Size: 12272 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200114/fa7bee55/attachment-0001.bin>


More information about the cfe-commits mailing list