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

Yingwei Zheng via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Aug 28 07:08:38 PDT 2023


dtcxzyw updated this revision to Diff 553918.
dtcxzyw edited the summary of this revision.
dtcxzyw added a comment.

Fix the transformation.

I will fix D122152 <https://reviews.llvm.org/D122152> in a separate patch.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D158983

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158983.553918.patch
Type: text/x-patch
Size: 6466 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230828/90774c3e/attachment.bin>


More information about the llvm-commits mailing list