[Mlir-commits] [mlir] [mlir][ArmSME] Enable native ArmSME integration testing on Darwin (PR #215296)
Federico Bruzzone
llvmlistbot at llvm.org
Wed Aug 12 00:59:36 PDT 2026
================
@@ -2,8 +2,46 @@
# the moment these are used when configuring MLIR integration tests.
# Checks whether the specified hardware capability is supported by the host
-# Linux system. This is implemented by checking auxiliary vector feature
-# provided by the Linux kernel.
+# Darwin (macOS) system. This is implemented via `sysctl`, which is the
+# Darwin equivalent of Linux's auxiliary vector feature bits. Only the
+# mappings actually needed by callers in this file are provided; unmapped
+# hwcap_spec values conservatively report unsupported.
+#
+# check_hwcap_darwin(
+# hwcap_spec
+# output_var
+# )
+function(check_hwcap_darwin hwcap_spec output)
----------------
FedericoBruzzone wrote:
Good point :'D
Renamed to `check_sme_support_on_darwin`, and at this point I moved it out of `check_hwcap` into `check_emulator`, which now dispatches on `APPLE` itself.
https://github.com/llvm/llvm-project/pull/215296
More information about the Mlir-commits
mailing list