[PATCH] D139299: [Instcombine] Canonicalize ~((A & B) ^ (A | ?)) -> (A & B) | ~(A | ?)

chenglin.bi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Dec 6 18:17:14 PST 2022


bcl5980 updated this revision to Diff 480728.
bcl5980 retitled this revision from "[Instcombine] Canonicalize xor to or for two logical-select case" to "[Instcombine] Canonicalize ~((A & B) ^ (A | ?)) -> (A & B) | ~(A | ?)".
bcl5980 edited the summary of this revision.

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

https://reviews.llvm.org/D139299

Files:
  llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  llvm/test/Transforms/InstCombine/xor2.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139299.480728.patch
Type: text/x-patch
Size: 9469 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221207/6a3ba5cb/attachment.bin>


More information about the llvm-commits mailing list