[Openmp-commits] [openmp] [OpenMP][AIX]Define struct kmp_base_tas_lock with the order of two members swapped for big-endian (PR #79188)

Brad Smith via Openmp-commits openmp-commits at lists.llvm.org
Tue Jan 23 17:33:18 PST 2024


================
@@ -120,8 +120,15 @@ extern void __kmp_validate_locks(void);
 
 struct kmp_base_tas_lock {
   // KMP_LOCK_FREE(tas) => unlocked; locked: (gtid+1) of owning thread
+#if __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__ && KMP_ARCH_PPC64
----------------
brad0 wrote:

I question whether ```KMP_ARCH_PPC64``` should be there.

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


More information about the Openmp-commits mailing list