[PATCH] D67155: [InstCombine] Fold sub (and A, B) (or A, B)) to neg (xor A, B)

Dávid Bolvanský via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 4 05:47:42 PDT 2019


xbolva00 updated this revision to Diff 218660.
xbolva00 retitled this revision from "[InstCombine] Fold sub (and A, B) (or A, B)) to not (xor A, B)" to "[InstCombine] Fold sub (and A, B) (or A, B)) to neg (xor A, B)".
xbolva00 added a comment.

Addressed review notes


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67155/new/

https://reviews.llvm.org/D67155

Files:
  lib/Transforms/InstCombine/InstCombineAddSub.cpp
  test/Transforms/InstCombine/sub-and-or-not-xor.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67155.218660.patch
Type: text/x-patch
Size: 4273 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190904/cf5eab17/attachment.bin>


More information about the llvm-commits mailing list