[Openmp-commits] [PATCH] D138737: [openmp] Use GCC style intrinsics for atomics on Clang-cl on aarch64 too

David Spickett via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Nov 28 03:18:04 PST 2022


DavidSpickett added a comment.

Can you explain the structure of the existing #ifdef? I'm having trouble following it.

I think the idea is that gcc on AArch64 would end up in the following `#elif (KMP_ASM_INTRINS && KMP_OS_UNIX) || !(KMP_ARCH_X86 || KMP_ARCH_X86_64)`. On Windows, you'd fall down into the `#else`. But what each of those blocks includes I'm not sure.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D138737/new/

https://reviews.llvm.org/D138737



More information about the Openmp-commits mailing list