diff options
author | Chris Lattner <sabre@nondot.org> | 2011-05-23 00:09:55 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2011-05-23 00:09:55 +0000 |
commit | 6083bb935373020af240bdf8fbec1cdcf360303f (patch) | |
tree | 6cee60be7a7c991f8e68a26ab18b22800ed2b1a5 /lib/Transforms/Utils/Utils.cpp | |
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
Diffstat (limited to 'lib/Transforms/Utils/Utils.cpp')
0 files changed, 0 insertions, 0 deletions