Skip to content
Commit 669775f9 authored by Shawn Landden's avatar Shawn Landden
Browse files

[Support] make countLeadingZeros() countTrailingZeros() countLeadingOnes() and...

[Support] make countLeadingZeros() countTrailingZeros() countLeadingOnes() and countTrailingOnes() return unsigned

This matches APInt's versions of these functions, and there is no need for these to be size_t.

(as well as __builtin_clzll())

Differential Revision: https://reviews.llvm.org/D60823

llvm-svn: 362503
parent d6de9426
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment