[llvm] [ADT] Add llvm::countr_zero_constexpr (PR #164188)

Jakub Kuderski via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 20 05:05:08 PDT 2025


================
@@ -177,6 +178,22 @@ template <typename T> [[nodiscard]] inline int popcount(T Value) noexcept {
   }
 }
 
+/// Count number of 0's from the least significant bit to the most
+///   stopping at the first 1.
----------------
kuhar wrote:

This indentation looks weird

https://github.com/llvm/llvm-project/pull/164188


More information about the llvm-commits mailing list