[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 08:11:52 PDT 2023


dtcxzyw updated this revision to Diff 553945.
dtcxzyw added a comment.

Add commuted tests and negative tests.


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.553945.patch
Type: text/x-patch
Size: 7458 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230828/f445c061/attachment.bin>


More information about the llvm-commits mailing list