diff options
author | Ilya Leoshkevich <iii@linux.ibm.com> | 2023-10-24 19:39:50 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-24 19:39:50 +0200 |
commit | 34459b72da82eeee0e82b25f9151efad05bdc0c3 (patch) | |
tree | 8dbcd2dfe5324e3d033a6c8342eaa44d886eb7c3 /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp | |
parent | 122c89b271af30b86536cad7bac64ea9c56615ed (diff) | |
download | llvm-34459b72da82eeee0e82b25f9151efad05bdc0c3.zip llvm-34459b72da82eeee0e82b25f9151efad05bdc0c3.tar.gz llvm-34459b72da82eeee0e82b25f9151efad05bdc0c3.tar.bz2 |
[OpenMP] Provide big-endian bitfield definitions (#69995)
structs kmp_depend_info.flags and kmp_tasking_flags contain bitfields,
which overlay integer flag values. The current bitfield definitions
target little-endian machines. On big-endian machines bitfields are laid
out in the opposite order, so the current definitions do not work there.
There are two ways to fix this: either provide big-endian bitfield
definitions, or bit-swap integer flag values. Go with the former, since
it's localized to one place and therefore is more maintainable.
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions