[PATCH] Enhance urem to bitwise-and optimization
David Majnemer
david.majnemer at gmail.com
Wed May 8 15:22:33 PDT 2013
This patch replaces intelligence inside of InstCombiner::visitURem with a
call to isKnownToBeAPowerOfTwo.
By doing this, we can find more opportunities to transform urem
instructions to bitwise-and instructions.
--
David Majnemer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130508/8e014597/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: urem-to-and.diff
Type: application/octet-stream
Size: 2109 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130508/8e014597/attachment.obj>
More information about the llvm-commits
mailing list