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

chenglin.bi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 5 00:40:19 PST 2022


bcl5980 created this revision.
bcl5980 added reviewers: spatel, RKSimon.
Herald added a subscriber: hiraditya.
Herald added a project: All.
bcl5980 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

https://alive2.llvm.org/ce/z/58JRye


https://reviews.llvm.org/D139300

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139300.480009.patch
Type: text/x-patch
Size: 5657 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221205/198e60d9/attachment.bin>


More information about the llvm-commits mailing list