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
Loading
Please sign in to comment
which is more efficient than countPopulation - use it. llvm-svn: 124283