[clang] [llvm] Reland [clang][AArch64] Add getHostCPUFeatures to query for enabled f… (PR #115467)

Elvina Yakubova via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 12 03:11:30 PST 2024


================
@@ -210,6 +210,9 @@ def have_host_clang_repl_cuda():
 config.substitutions.append(("%host_cc", config.host_cc))
 config.substitutions.append(("%host_cxx", config.host_cxx))
 
+# Determine whether the test target is compatible with execution on the host.
+if config.host_arch in config.target_triple:
+    config.available_features.add("host-arch-compatible")
----------------
ElvinaYakubova wrote:

Thanks for the suggestion, renamed it 

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


More information about the cfe-commits mailing list