use the valuetracking isPowerOfTwo function, which is more powerful than checking
authorChris Lattner <sabre@nondot.org>
Mon, 23 May 2011 00:09:55 +0000 (00:09 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 23 May 2011 00:09:55 +0000 (00:09 +0000)
commit6083bb935373020af240bdf8fbec1cdcf360303f
tree6cee60be7a7c991f8e68a26ab18b22800ed2b1a5
parentb3f0673d52b72f34434dec13c4e2044c82012ef6
use the valuetracking isPowerOfTwo function, which is more powerful than checking
for a constant directly.  Thanks to Duncan for pointing this out.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131885 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/InstCombine/InstCombineMulDivRem.cpp