aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
diff options
context:
space:
mode:
authorIlya Leoshkevich <iii@linux.ibm.com>2023-10-24 19:39:50 +0200
committerGitHub <noreply@github.com>2023-10-24 19:39:50 +0200
commit34459b72da82eeee0e82b25f9151efad05bdc0c3 (patch)
tree8dbcd2dfe5324e3d033a6c8342eaa44d886eb7c3 /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp
parent122c89b271af30b86536cad7bac64ea9c56615ed (diff)
downloadllvm-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