[all-commits] [llvm/llvm-project] 336a4e: [ADT] Add llvm::has_single_bit helper similar to t...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Tue Aug 23 11:51:39 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 336a4e03a439b312092a03e0b005f9a0b7051518
https://github.com/llvm/llvm-project/commit/336a4e03a439b312092a03e0b005f9a0b7051518
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2022-08-23 (Tue, 23 Aug 2022)
Changed paths:
M llvm/include/llvm/ADT/bit.h
M llvm/include/llvm/Support/MathExtras.h
M llvm/unittests/ADT/BitTest.cpp
Log Message:
-----------
[ADT] Add llvm::has_single_bit helper similar to the c++20 std::has_single_bit implementation
Converted the llvm::isPowerOf2_32/64 helpers into wrappers
More information about the All-commits
mailing list