[clang] [llvm] [clang][AArch64] Add getHostCPUFeatures to query for enabled features in cpu info (PR #97749)

David Green via cfe-commits cfe-commits at lists.llvm.org
Tue Oct 29 00:26:29 PDT 2024


================
@@ -0,0 +1,137 @@
+// RUN: export LLVM_CPUINFO=%S/Inputs/cpunative/neoverse-v2
+// RUN: %clang --target=aarch64 --print-enabled-extensions -mcpu=native | FileCheck --strict-whitespace --check-prefix=CHECK-FEAT-NV2 --implicit-check-not=FEAT_ %s
+
----------------
davemgreen wrote:

Will this test need `// REQUIRES: aarch64-registered-target`?

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


More information about the cfe-commits mailing list