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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment