[PATCH] Added a new transformation " (sub (or A, B) (and A, B)) --> (xor A, B) "

Sean Silva chisophugis at gmail.com
Fri Nov 7 20:01:15 PST 2014


Upthread Suyog mentions a "similar" transformation in visitAdd, which was
added in r155674 referencing a rdar. I'm not sure how Suyog got from that
transformation to this one though (a script? seems difficult to deduce).

On Thu, Nov 6, 2014 at 10:54 PM, Anton Korobeynikov <anton at korobeynikov.info
> wrote:

> The question still applies (and actually is very in-line with Hal's
> comments in D5719) - you need to provide some evidence that such pattern
> indeed happens in practice (why it's so hard to count how many times it
> happens in test-suite? after more than month?). And it's not some random
> stuff which you simple want to commit in due to some reason you do not want
> to share with us.
>
> http://reviews.llvm.org/D5720
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141107/de5e1ceb/attachment.html>


More information about the llvm-commits mailing list