[PATCH] D69336: [Support] Make BitVector::BitWord size_t

Ehud Katz via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 23 11:36:51 PDT 2019


ekatz added a comment.

In D69336#1719048 <https://reviews.llvm.org/D69336#1719048>, @kparzysz wrote:

> There is no guarantee that `size_t` will match the size of a pointer either.  Why do you want that anyway?


Correct. I will change it to `uintptr_t`.
This is needed for the heavy usage of `countPopulation`, `countTrailingZeros` and `countLeadingZeros`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D69336





More information about the llvm-commits mailing list