[Openmp-commits] [openmp] [openmp] Add support for arm64ec to libomp (PR #176151)

David Truby via Openmp-commits openmp-commits at lists.llvm.org
Thu Jan 15 06:54:17 PST 2026


================
@@ -134,7 +135,7 @@ kmp_uint64 __kmp_test_then_and64(volatile kmp_uint64 *p, kmp_uint64 d) {
   return old_value;
 }
 
-#if KMP_ARCH_AARCH64 && KMP_COMPILER_MSVC
+#if (KMP_ARCH_AARCH64 && KMP_COMPILER_MSVC) || KMP_ARCH_ARM64EC
----------------
DavidTruby wrote:

Right, I see. I was hoping that the compiler would just work this out from C but I guess it can't tell if the function pointer will be varargs or not. I'll have a look into this.

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


More information about the Openmp-commits mailing list