[Openmp-commits] [openmp] [OpenMP][AArch64] Fix branch protection in microtasks (PR #102317)

Daniel Kiss via Openmp-commits openmp-commits at lists.llvm.org
Mon Aug 12 01:38:54 PDT 2024


================
@@ -17,6 +17,27 @@
 
 #include "kmp_config.h"
 
+#if KMP_OS_LINUX
----------------
DanielKristofKiss wrote:

Maybe this section could be moved into the 
`#if (KMP_OS_LINUX || KMP_OS_DARWIN || KMP_OS_WINDOWS) && (KMP_ARCH_AARCH64 || KMP_ARCH_AARCH64_32 || KMP_ARCH_ARM)` protected section.

```suggestion
#if KMP_OS_LINUX && (KMP_ARCH_AARCH64 || KMP_ARCH_AARCH64_32)
```
as it contains AARCH64 specific values. 

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


More information about the Openmp-commits mailing list