[llvm] [AArch64] Add missing SubtargetFeature for hip12 core (PR #205246)

Zhiheng Xie via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 24 19:49:12 PDT 2026


https://github.com/eastB233 updated https://github.com/llvm/llvm-project/pull/205246

>From eee327ba98095fc081083c1e37e014d282aead7d Mon Sep 17 00:00:00 2001
From: Zhiheng Xie <xiezhiheng at huawei.com>
Date: Tue, 23 Jun 2026 10:34:11 +0800
Subject: [PATCH] [AArch64] Add missing SubtargetFeature for hip12 core

The initial patch for the hip12 core had omitted several subtarget features:

  FeatureFP16FML, FeatureFlagM, FeaturePredRes, FeatureSB, FeatureSSBS,
  FeatureCCIDX, FeatureRandGen.
---
 llvm/lib/Target/AArch64/AArch64Processors.td | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/llvm/lib/Target/AArch64/AArch64Processors.td b/llvm/lib/Target/AArch64/AArch64Processors.td
index a4dcaa2d535ec..dfa2bd46c8e56 100644
--- a/llvm/lib/Target/AArch64/AArch64Processors.td
+++ b/llvm/lib/Target/AArch64/AArch64Processors.td
@@ -1213,7 +1213,9 @@ def ProcessorFeatures {
   list<SubtargetFeature> HIP12 = [HasV8_7aOps, FeatureSVE, FeatureSVE2,
                                   FeatureSVEBitPerm, FeatureSVEAES,
                                   FeatureSVESM4, FeatureSVESHA3,
-                                  FeatureFullFP16, FeaturePerfMon,
+                                  FeatureFullFP16, FeatureFP16FML, FeaturePerfMon,
+                                  FeatureFlagM, FeaturePredRes, FeatureSB, FeatureSSBS,
+                                  FeatureCCIDX, FeatureRandGen,
                                   FeatureETE, FeatureTRBE, FeatureSPE,
                                   FeatureSPE_EEF, FeatureNMI,
                                   FeatureHBC, FeatureRCPC3, FeatureBF16,



More information about the llvm-commits mailing list