[Openmp-commits] [openmp] [OpenMP] Remove OS checks for ARM and AArch64 (PR #165640)

Martin Storsjö via Openmp-commits openmp-commits at lists.llvm.org
Wed Oct 29 23:31:06 PDT 2025


================
@@ -2736,8 +2736,7 @@ int __kmp_get_load_balance(int max) {
 
 #endif // USE_LOAD_BALANCE
 
-#if !(KMP_ARCH_X86 || KMP_ARCH_X86_64 || KMP_MIC ||                            \
-      ((KMP_OS_LINUX || KMP_OS_DARWIN) && KMP_ARCH_AARCH64) ||                 \
+#if !(KMP_ARCH_X86 || KMP_ARCH_X86_64 || KMP_MIC || KMP_ARCH_AARCH64 ||        \
----------------
mstorsjo wrote:

I was a bit worried about this change, as it didn't have any `KMP_OS_WINDOWS` in it - but this file (labelled Linux) isn't compiled in Windows builds - contrary to `z_Linux_asm.S` which is used for Windows as well these days...

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


More information about the Openmp-commits mailing list