Skip to content
Commit 8a337332 authored by Duncan Sands's avatar Duncan Sands
Browse files

APInt has a method for determining whether a number is a power of 2

which is more efficient than countPopulation - use it.

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