[PATCH] D112338: [InstCombine] Fold `(~(a | b) & c) | ~(a | c)` into `~((b & c) | a)`

Stanislav Mekhanoshin via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 25 14:37:42 PDT 2021


rampitec updated this revision to Diff 382130.
rampitec added a comment.

Added more commute and use tests.


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

https://reviews.llvm.org/D112338

Files:
  llvm/lib/Transforms/InstCombine/InstCombineAndOrXor.cpp
  llvm/test/Transforms/InstCombine/and-xor-or.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112338.382130.patch
Type: text/x-patch
Size: 8403 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211025/0cd2882f/attachment-0001.bin>


More information about the llvm-commits mailing list