[PATCH] D142274: [ADT] Add llvm::byteswap to bit.h
Kazu Hirata via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 21 16:04:40 PST 2023
kazu updated this revision to Diff 491107.
kazu added a comment.
In this iteration, I've removed all the dependence on intrinsics
except for the 64-bit case on MSVC, which does not recognize the
idiom.
I'm also including stdlib.h for _byteswap_uint64.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D142274/new/
https://reviews.llvm.org/D142274
Files:
llvm/include/llvm/ADT/bit.h
llvm/unittests/ADT/BitTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D142274.491107.patch
Type: text/x-patch
Size: 5372 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230122/6a26464b/attachment.bin>
More information about the llvm-commits
mailing list