[Clang] Allow 'Complex float __attribute__((mode(HC)))'
authorJolanta Jensen <jolanta.jensen@arm.com>
Fri, 17 Jun 2022 11:15:19 +0000 (12:15 +0100)
committerMalhar Jajoo <malhar.jajoo@arm.com>
Fri, 17 Jun 2022 11:39:52 +0000 (12:39 +0100)
commitc80c57674e4d9887dfa9159de9981941d9e6d18e
tree60fae3eaafd532aa5a4eab89f0c7b2cc552c6a8f
parentb3ebe3beeda64ab0072a2ef97a64520ed5d8d73f
[Clang] Allow 'Complex float __attribute__((mode(HC)))'

Adding half float to types that can be represented by __attribute__((mode(xx))).
Original implementation authored by George Steed.

Differential Revision: https://reviews.llvm.org/D126479
clang/docs/ReleaseNotes.rst
clang/include/clang/Basic/TargetInfo.h
clang/lib/AST/ASTContext.cpp
clang/lib/Basic/TargetInfo.cpp
clang/lib/Basic/Targets/X86.h
clang/test/CodeGen/aarch64-attr-mode-complex.c [new file with mode: 0644]
clang/test/CodeGen/aarch64-attr-mode-float.c [new file with mode: 0644]
clang/test/Sema/attr-mode-vector-types.c
clang/test/Sema/attr-mode.c