llvm/include/llvm/ADT/bit.h now has equivalent functions
forward-ported from C++20.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
| Paths 
 |  Differential  D143858  
[llvm] Deprecate PowerOf2Floor and ByteSwap_{16,32,64} ClosedPublic Authored by kazu on Feb 12 2023, 2:14 PM. 
Details Summary llvm/include/llvm/ADT/bit.h now has equivalent functions 
Diff Detail 
 Event TimelineThis revision is now accepted and ready to land.Feb 12 2023, 8:59 PM Closed by commit rGb49b429fde3a: [llvm] Deprecate PowerOf2Floor and ByteSwap_{16,32,64} (authored by kazu).  ·  Explain WhyFeb 12 2023, 9:42 PM This revision was automatically updated to reflect the committed changes. 
Revision Contents 
 
Diff 496839 llvm/include/llvm/Support/MathExtras.h
 llvm/include/llvm/Support/SwapByteOrder.h
 llvm/unittests/Support/MathExtrasTest.cpp
 llvm/unittests/Support/SwapByteOrderTest.cpp
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||