[clang] [llvm] [clang][AArch64] Parse more features in getHostCPUFeatures (PR #146323)

Ricardo Jesus via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 30 03:04:00 PDT 2025


================
@@ -2082,8 +2082,13 @@ const StringMap<bool> sys::getHostCPUFeatures() {
                                    .Case("fp", "fp-armv8")
                                    .Case("crc32", "crc")
                                    .Case("atomics", "lse")
+                                   .Case("sha3", "sha3")
+                                   .Case("sm4", "sm4")
                                    .Case("sve", "sve")
                                    .Case("sve2", "sve2")
+                                   .Case("sveaes", "sve-aes")
+                                   .Case("svesha3", "sve-sha3")
----------------
rj-jesus wrote:

I think the clang feature for SVE2 SHA3 instructions is `sve2-sha3`.

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


More information about the llvm-commits mailing list