[PATCH] Added InstCombine transform for pattern " ( ( A ^ B ) ^ ( ( ~A ) | B ) -> ( A | ( ~ B ) ) ".
David Majnemer
david.majnemer at gmail.com
Fri Aug 22 11:02:55 PDT 2014
Looking at it some more, the generalized from can be simplified.
`(A ^ B) ^ ((A ^ C) | B)` -> `C ^ (B & (A ^ C))`
This takes us from four binops to three binops.
http://reviews.llvm.org/D5001
More information about the llvm-commits
mailing list