aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBlockPlacement.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2023-10-05 18:03:46 -0700
committerGitHub <noreply@github.com>2023-10-05 18:03:46 -0700
commit86d1f4c538e50e8f764e7700d167ffd1d8f70102 (patch)
tree7fa97b46a4a6aec91412e96afbb925e74c167e7b /llvm/lib/CodeGen/MachineBlockPlacement.cpp
parent1cf7b8f5e21d679bf1cb0efa4e1b80d8966fa07b (diff)
downloadllvm-86d1f4c538e50e8f764e7700d167ffd1d8f70102.zip
llvm-86d1f4c538e50e8f764e7700d167ffd1d8f70102.tar.gz
llvm-86d1f4c538e50e8f764e7700d167ffd1d8f70102.tar.bz2
[Support, ADT] Move llvm::endianness to bit.h (#68280)
In C++20, std::endian comes from `<bit>`. Following the same spirit, this patch moves llvm::endianness and the endian detection logic to bit.h. Without this patch, llvm::endianness::native is defined in terms of llvm::sys::IsBigEndianHost. This patch reverses the dependency. llvm::sys::IsBigEndianHost is now defined in terms of llvm::endianness::native.
Diffstat (limited to 'llvm/lib/CodeGen/MachineBlockPlacement.cpp')
0 files changed, 0 insertions, 0 deletions