Added CountLeadingZeros<T> for signed and unsigned types to count the number
of leading zeros. On platforms with __builtin_clz, the builtin is used, otherwise
a generic fallback is provided. Unlike __builtin_clz, the method returns the
bit width of the type for 0.
Details
Details
- Reviewers
Bigcheese jfb dexonsmith
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
- Build Status
Buildable 37602 Build 37601: arc lint + arc unit