[all-commits] [llvm/llvm-project] 8e1044: [AArch64] Remove unused feature flags from AArch64...

tyb0807 via All-commits all-commits at lists.llvm.org
Tue Feb 22 08:14:17 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8e10448cbbd98e2496f8bc8985b6ee499b7ffcdd
      https://github.com/llvm/llvm-project/commit/8e10448cbbd98e2496f8bc8985b6ee499b7ffcdd
  Author: tyb0807 <sontuan.vu at arm.com>
  Date:   2022-02-22 (Tue, 22 Feb 2022)

  Changed paths:
    M clang/lib/Basic/Targets/AArch64.cpp
    M clang/lib/Basic/Targets/AArch64.h

  Log Message:
  -----------
  [AArch64] Remove unused feature flags from AArch64TargetInfo

This removes two feature flags from `AArch64TargetInfo` class:

- `HasHBC`: this feature does not involve generating any IR intrinsics,
so clang does not need to know about whether it is set

- `HasCrypto`: this feature is deprecated in favor of finer grained
features such as AES, SHA2, SHA3 and SM4. The associated ACLE macro
__ARM_FEATURE_CRYPTO is thus no longer used.

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




More information about the All-commits mailing list