[PATCH] D122152: [InstCombine] Fold two select patterns into and-or

chenglin.bi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 22 07:09:23 PDT 2022


bcl5980 updated this revision to Diff 417287.
bcl5980 added a comment.

account for the case where the 'not' is operand 1 of the other bitwise logic op


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

https://reviews.llvm.org/D122152

Files:
  llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
  llvm/test/Transforms/InstCombine/select-and-or.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122152.417287.patch
Type: text/x-patch
Size: 5077 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220322/32fe2767/attachment.bin>


More information about the llvm-commits mailing list