[llvm-commits] [Patch] Missed instsimplify transformation

Hans Wennborg hwennborg at google.com
Tue Jul 26 11:11:11 PDT 2011


Hi all,

The attached patch adds a simplification for

((A & 1) == 0) | (A == 0) to
(A & 1) == 0

Is this ok to add to instsimplify?

Thanks,
Hans
-------------- next part --------------
A non-text attachment was scrubbed...
Name: inst-simplify.patch
Type: text/x-patch
Size: 1947 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110726/f1d7f8dc/attachment.bin>


More information about the llvm-commits mailing list