<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">https://github.com/google/highway/issues/2317#issuecomment-2342469521

index a8d4a13f..e0ffb33a 100644
--- hwy/detect_targets.h.orig
+++ hwy/detect_targets.h
@@ -223,8 +223,12 @@
 #endif
 
 // SVE[2] require recent clang or gcc versions.
+//
+// SVE is not supported on Apple arm64 CPUs and also crashes the compiler:
+// https://github.com/llvm/llvm-project/issues/97198
 #if (HWY_COMPILER_CLANG &amp;&amp; HWY_COMPILER_CLANG &lt; 1100) || \
-    (HWY_COMPILER_GCC_ACTUAL &amp;&amp; HWY_COMPILER_GCC_ACTUAL &lt; 1000)
+    (HWY_COMPILER_GCC_ACTUAL &amp;&amp; HWY_COMPILER_GCC_ACTUAL &lt; 1000) || \
+    (HWY_OS_APPLE &amp;&amp; HWY_ARCH_ARM_A64)
 #define HWY_BROKEN_SVE (HWY_SVE | HWY_SVE2 | HWY_SVE_256 | HWY_SVE2_128)
 #else
 #define HWY_BROKEN_SVE 0
</pre></body></html>