Hi David,
Another small patch in instcombine. Can you please review the patch.
Proof:
$ cat t.cvc
A, B : BITVECTOR(32);
QUERY BVXOR((A | ~B),BVXOR(~A,B)) = (A & ~B);
$ cvc3 t.cvc
Valid.
Thanks,
Mayur
Differential D4940
InstCombine ((x | ~y) ^ (~x ^ y)) to (x & ~y) mayurp on Aug 16 2014, 1:14 AM. Authored by
Details
Hi David, Another small patch in instcombine. Can you please review the patch. Proof: Thanks,
Diff Detail Event TimelineComment Actions Hi Anton, I think we should not miss out on any optimization opportunity in general. The number of instructions saved in this case is a big win wherever such pattern occurs. Saying that, I strongly believe that there should be a general approach to combining instructions. A discussion is going on regarding the same at: Thanks, Comment Actions Hi David, Updated the patch as per your comments to make it more generalized. Please help in reviewing the same. Thanks, |