[llvm-commits] [PATCH] optimization of (x & y) | (x ^ y), (x & y) + (x ^ y)
Chad Rosier
mcrosier at apple.com
Thu Apr 26 16:30:30 PDT 2012
Manman,
LGTM. I've applied this in r155674.
Chad
On Apr 25, 2012, at 9:32 AM, Manman Ren wrote:
>
>
> This patch is intended to reduce both (x & y) | (x ^ y) and (x & y) + (x ^y) to bitwise or.
> It modified two source files: lib/Transforms/InstCombine/InstCombineAndOrXor.cpp and lib/Transforms/InstCombine/InstCombineAddSub.cpp.
> A test case is also included in the patch.
>
> Please review & provide feedback.
>
> Thanks,
>
> <opt_to_or.patch>_______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list