[PATCH] D141798: Drop the ZeroBehavior parameter from countLeadingZeros and the like (NFC)

Kazu Hirata via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 19 08:56:31 PST 2023


kazu added a comment.

In D141798#4065025 <https://reviews.llvm.org/D141798#4065025>, @RKSimon wrote:

> @kazu Thanks for dealing with this!
>
> I'd like to build on this and create llvm variants of the C++20 <bit> countl_zero/countr_zero/countl_one/countr_one template functions similar to what I did for popcount in D132407 <https://reviews.llvm.org/D132407> (and have MathExtras.h reuse it) - I just wanted to ensure you hadn't already started anything similar?

I just uploaded:

https://reviews.llvm.org/D142078


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D141798/new/

https://reviews.llvm.org/D141798



More information about the cfe-commits mailing list