[clang] [llvm] [compiler-rt] [AArch64][SME] Add support for sme-fa64 (PR #70809)

Pavel Iliin via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 15 08:29:58 PST 2023


================
@@ -1363,6 +1367,8 @@ static void __init_cpu_features_constructor(unsigned long hwcap,
     setCPUFeature(FEAT_SME_I64);
   if (hwcap2 & HWCAP2_SME_F64F64)
     setCPUFeature(FEAT_SME_F64);
+  if (hwcap2 & HWCAP2_SME_FA64)
+    setCPUFeature(FEAT_SME_FA64);
----------------
ilinpv wrote:

I think it is better to remove any code that become unused.

https://github.com/llvm/llvm-project/pull/70809


More information about the cfe-commits mailing list