[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:44:31 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:

Ah, you're right of course, I think keeping `sve-sha3` only should be enough. Sorry for the noise!

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


More information about the llvm-commits mailing list