commit | 6083bb935373020af240bdf8fbec1cdcf360303f | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Mon May 23 00:09:55 2011 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Mon May 23 00:09:55 2011 +0000 |
tree | 6cee60be7a7c991f8e68a26ab18b22800ed2b1a5 | |
parent | b3f0673d52b72f34434dec13c4e2044c82012ef6 [diff] |
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