[all-commits] [llvm/llvm-project] 77a08d: [AArch64][llvm] Allow +hcx to be specified as opti...

Jonathan Thackray via All-commits all-commits at lists.llvm.org
Mon Jul 13 05:27:25 PDT 2026


  Branch: refs/heads/users/jthackray/allow_feature_hcx_as_optional
  Home:   https://github.com/llvm/llvm-project
  Commit: 77a08d12d20395541b51c507f46b96ca79e53eee
      https://github.com/llvm/llvm-project/commit/77a08d12d20395541b51c507f46b96ca79e53eee
  Author: Jonathan Thackray <jonathan.thackray at arm.com>
  Date:   2026-07-13 (Mon, 13 Jul 2026)

  Changed paths:
    M clang/test/CIR/CodeGen/attr-target-aarch64.c
    M clang/test/CodeGen/AArch64/targetattr.c
    M clang/test/Driver/print-supported-extensions-aarch64.c
    M llvm/lib/Target/AArch64/AArch64Features.td

  Log Message:
  -----------
  [AArch64][llvm] Allow +hcx to be specified as optional for Armv8.6

The `HCRX_EL2` system register can be accessed if FEAT_HCX is
implemented, and is optional from Armv8.6 (and mandatory in Armv8.7).

Allow `clang -march=armv8.6-a+hcx` by making FeatureHCX an
optional argument.


  Commit: 5a30011a5e766d343d62ee79f8d73aa7fce78f92
      https://github.com/llvm/llvm-project/commit/5a30011a5e766d343d62ee79f8d73aa7fce78f92
  Author: Jonathan Thackray <jonathan.thackray at arm.com>
  Date:   2026-07-13 (Mon, 13 Jul 2026)

  Changed paths:
    M clang/test/CIR/CodeGen/attr-target-aarch64.c
    M clang/test/CodeGen/AArch64/targetattr.c
    M clang/test/Driver/print-supported-extensions-aarch64.c
    M llvm/lib/Target/AArch64/AArch64Features.td
    M llvm/lib/Target/AArch64/AArch64SystemOperands.td
    M llvm/test/MC/AArch64/armv8.7a-hcx.s
    M llvm/test/MC/Disassembler/AArch64/armv8.7a-hcx.txt

  Log Message:
  -----------
  fixup! Okay, change PR so we just remover the gating from sys reg and leave FEAT_HCX in the code


  Commit: c324cd339afd5c039cec97fa3b4939c25a1a97ca
      https://github.com/llvm/llvm-project/commit/c324cd339afd5c039cec97fa3b4939c25a1a97ca
  Author: Jonathan Thackray <jonathan.thackray at arm.com>
  Date:   2026-07-13 (Mon, 13 Jul 2026)

  Changed paths:
    M llvm/test/MC/AArch64/armv8.7a-hcx.s
    M llvm/test/MC/Disassembler/AArch64/armv8.7a-hcx.txt

  Log Message:
  -----------
  fixup! Remove superfluous testcases


Compare: https://github.com/llvm/llvm-project/compare/24fd04b7c44a...c324cd339afd

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