[clang] [llvm] [clang][AArch64] Parse more features in getHostCPUFeatures (PR #146323)
Ricardo Jesus via llvm-commits
llvm-commits at lists.llvm.org
Tue Jul 1 00:21:16 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")
+ .Case("svesm4", "sve2-sm4")
----------------
rj-jesus wrote:
As discussed offline, we should probably only enable `sve2-sm4` if SVE2 is also enabled to avoid defining the latter transitively.
https://github.com/llvm/llvm-project/pull/146323
More information about the llvm-commits
mailing list