[all-commits] [llvm/llvm-project] 07158c: [Clang] Create opaque type for AArch64 SVE2p1/SME2...

sdesmalen-arm via All-commits all-commits at lists.llvm.org
Tue Mar 7 06:44:33 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 07158c54add927057690aa8c073d35d42eac7006
      https://github.com/llvm/llvm-project/commit/07158c54add927057690aa8c073d35d42eac7006
  Author: Sander de Smalen <sander.desmalen at arm.com>
  Date:   2023-03-07 (Tue, 07 Mar 2023)

  Changed paths:
    M clang/include/clang/AST/Type.h
    M clang/include/clang/Basic/AArch64SVEACLETypes.def
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/AST/ItaniumMangle.cpp
    M clang/lib/CodeGen/CGDebugInfo.cpp
    M clang/lib/CodeGen/CodeGenTypes.cpp
    M clang/test/AST/ast-dump-aarch64-sve-types.c
    M clang/test/CodeGen/aarch64-debug-sve-vector-types.c
    M clang/test/CodeGen/aarch64-sve-inline-asm-crash.c
    M clang/test/CodeGenCXX/aarch64-mangle-sve-vectors.cpp
    M clang/test/CodeGenCXX/aarch64-sve-typeinfo.cpp
    M clang/unittests/AST/SizelessTypesTest.cpp

  Log Message:
  -----------
  [Clang] Create opaque type for AArch64 SVE2p1/SME2 svcount_t.

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.

Reviewed By: paulwalker-arm

Differential Revision: https://reviews.llvm.org/D136864




More information about the All-commits mailing list