aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGenPrepare.cpp
diff options
context:
space:
mode:
authorKazu Hirata <kazu@google.com>2023-01-22 09:29:35 -0800
committerKazu Hirata <kazu@google.com>2023-01-22 09:29:35 -0800
commit51454e05112abf6345625f8fff620facd62f2d03 (patch)
treeb5b9b6ad3cde231dacdf51829026f56380264b98 /llvm/lib/CodeGen/CodeGenPrepare.cpp
parent9f7b0a3b6c03268d054652c48619f96677fafcd4 (diff)
downloadllvm-51454e05112abf6345625f8fff620facd62f2d03.zip
llvm-51454e05112abf6345625f8fff620facd62f2d03.tar.gz
llvm-51454e05112abf6345625f8fff620facd62f2d03.tar.bz2
[ADT] Add llvm::byteswap to bit.h
This patch adds C++23-style byteswap to bit.h. The implementation and tests are largely taken from llvm/include/llvm/Support/SwapByteOrder.h and llvm/unittests/Support/SwapByteOrderTest.cpp, respectively. Differential Revision: https://reviews.llvm.org/D142274
Diffstat (limited to 'llvm/lib/CodeGen/CodeGenPrepare.cpp')
0 files changed, 0 insertions, 0 deletions