[all-commits] [llvm/llvm-project] 2a130f: [NFC][Clang][SVE] Refactor AArch64SVEACLETypes.def...

Paul Walker via All-commits all-commits at lists.llvm.org
Wed Sep 11 06:03:24 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2a130f1a140613445b8f387d3fa54328c1b94cde
      https://github.com/llvm/llvm-project/commit/2a130f1a140613445b8f387d3fa54328c1b94cde
  Author: Paul Walker <paul.walker at arm.com>
  Date:   2024-09-11 (Wed, 11 Sep 2024)

  Changed paths:
    M clang/include/clang/Basic/AArch64SVEACLETypes.def
    M clang/lib/AST/ASTContext.cpp
    M clang/lib/AST/ItaniumMangle.cpp
    M clang/lib/CodeGen/CodeGenTypes.cpp

  Log Message:
  -----------
  [NFC][Clang][SVE] Refactor AArch64SVEACLETypes.def to enabled more uses. (#107599)

Some switch statements require all SVE builtin types to be manually
specified. This patch refactors the SVE_*_TYPE macros so that such code
can be generated during preprocessing.

I've tried to establish a minimal interface that covers all types where
no special information is required and then created a set of macros that
are dedicated to specific datatypes (i.e. int, float).

This patch is groundwork to simplify the changing of SVE tuple types to
become struct based as well as work to support the FP8 ACLE.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list