| commit | 321c58fc41a52ccfb3aa0d2a0eeda84eb8be5dbe | [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 | c811f86f08448ab17f0f294656e2d54bd735a552 | |
| parent | 83791ced7ba2a2d43d37bb1350f28ddf83c029f9 [diff] |
use the valuetracking isPowerOfTwo function, which is more powerful than checking for a constant directly. Thanks to Duncan for pointing this out. llvm-svn: 131885