[llvm-commits] [PATCH] Simplify negated bit test
David Majnemer
david.majnemer at gmail.com
Mon Dec 10 15:15:32 PST 2012
Implemented, patch attached.
On Mon, Dec 10, 2012 at 2:08 PM, Benjamin Kramer <benny.kra at gmail.com>wrote:
> Instead of the shift matching "isPowerOfTwo" from ValueTracking.h could be
> used to make the transformation more powerful. It handles the "1 << X" case
> and many others too.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121210/d6b54449/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bit_test.patch
Type: application/octet-stream
Size: 2248 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20121210/d6b54449/attachment.obj>
More information about the llvm-commits
mailing list