[all-commits] [llvm/llvm-project] 110141: [OpenMP] fix endianness dependent definitions in O...
Vadim Paretsky via All-commits
all-commits at lists.llvm.org
Sat Mar 9 10:47:54 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 110141b37813dc48af33de5e1407231e56acdfc5
https://github.com/llvm/llvm-project/commit/110141b37813dc48af33de5e1407231e56acdfc5
Author: Vadim Paretsky <vadim.paretsky at intel.com>
Date: 2024-03-09 (Sat, 09 Mar 2024)
Changed paths:
M openmp/runtime/src/kmp.h
M openmp/runtime/src/kmp_lock.h
M openmp/runtime/test/tasking/bug_nested_proxy_task.c
M openmp/runtime/test/tasking/bug_proxy_task_dep_waiting.c
M openmp/runtime/test/tasking/hidden_helper_task/common.h
Log Message:
-----------
[OpenMP] fix endianness dependent definitions in OMP headers for MSVC (#84540)
MSVC does not define __BYTE_ORDER__ making the check for BigEndian
erroneously evaluate to true and breaking the struct definitions in MSVC
compiled builds correspondingly. The fix adds an additional check for
whether __BYTE_ORDER__ is defined by the compiler to fix these.
---------
Co-authored-by: Vadim Paretsky <b-vadipa at microsoft.com>
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list