This patch adds the builtin type __SVCount_t to Clang, which is an opaque
scalable type defined in the SME2 C and C++ Language Extensions.
The type maps to the target("aarch64.svcount") LLVM IR type.
Paths
| Differential D136864
[Clang] Create opaque type for AArch64 SVE2p1/SME2 svcount_t. ClosedPublic Authored by sdesmalen on Oct 27 2022, 10:06 AM.
Details Summary This patch adds the builtin type __SVCount_t to Clang, which is an opaque The type maps to the target("aarch64.svcount") LLVM IR type.
Diff Detail
Event Timelinesdesmalen added a parent revision: D136863: [AArch64][SME] Add support for conditional select for svcount..Oct 27 2022, 10:06 AM Comment Actions Rebased patch to use target("aarch64.svcount")
This revision is now accepted and ready to land.Mar 6 2023, 10:07 AM This revision was landed with ongoing or failed builds.Mar 7 2023, 6:44 AM Closed by commit rG07158c54add9: [Clang] Create opaque type for AArch64 SVE2p1/SME2 svcount_t. (authored by sdesmalen). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 496103 clang/include/clang/AST/Type.h
clang/include/clang/Basic/AArch64SVEACLETypes.def
clang/lib/AST/ASTContext.cpp
clang/lib/AST/ItaniumMangle.cpp
clang/lib/CodeGen/CGDebugInfo.cpp
clang/lib/CodeGen/CodeGenTypes.cpp
clang/test/AST/ast-dump-aarch64-sve-types.c
clang/test/CodeGen/aarch64-debug-sve-vector-types.c
clang/test/CodeGen/aarch64-sve-inline-asm-crash.c
clang/test/CodeGenCXX/aarch64-mangle-sve-vectors.cpp
clang/test/CodeGenCXX/aarch64-sve-typeinfo.cpp
clang/unittests/AST/SizelessTypesTest.cpp
|
Given predicates are stored byte wise perhaps it's worth being more explicit and saying "only the first 2 bytes are relevant"?