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

Simon Pilgrim via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Jan 19 03:19:04 PST 2023


RKSimon added a comment.

@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?


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