[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


================
@@ -1,5 +1,7 @@
 // REQUIRES: aarch64-registered-target
 // RUN: %clang --target=aarch64 --print-enabled-extensions -mcpu=grace | FileCheck --strict-whitespace --implicit-check-not=FEAT_ %s
+// RUN: export LLVM_CPUINFO=%S/../Inputs/cpunative/grace
+// RUN: %clang --target=aarch64 --print-enabled-extensions -mcpu=native | FileCheck --strict-whitespace --implicit-check-not=FEAT_ %s
----------------
rj-jesus wrote:

Would it make sense to merge the export runline with the clang one? For example:
```
env LLVM_CPUINFO=... %clang ...
```

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


More information about the llvm-commits mailing list