[llvm] Deprecate PowerOf2Floor and ByteSwap_{16,32,64}
authorKazu Hirata <kazu@google.com>
Mon, 13 Feb 2023 05:42:07 +0000 (21:42 -0800)
committerKazu Hirata <kazu@google.com>
Mon, 13 Feb 2023 05:42:07 +0000 (21:42 -0800)
commitb49b429fde3a282664289d7a2155d994085eb232
treebe54771a40ca78fd34a34f78aff98ad1c231b2f4
parent9c401687eb460211bee0654956145386a27a6f37
[llvm] Deprecate PowerOf2Floor and ByteSwap_{16,32,64}

llvm/include/llvm/ADT/bit.h now has equivalent functions
forward-ported from C++20.

Differential Revision: https://reviews.llvm.org/D143858
llvm/include/llvm/Support/MathExtras.h
llvm/include/llvm/Support/SwapByteOrder.h
llvm/unittests/Support/MathExtrasTest.cpp
llvm/unittests/Support/SwapByteOrderTest.cpp