[PATCH] D148275: [InstCombine] support fold select(X|Y,X|Y,X) to X|Y

Congcong Cai via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 16 03:50:21 PDT 2023


HerrCai0907 updated this revision to Diff 513987.
HerrCai0907 added a comment.

add vector and more negative testcase


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D148275

Files:
  llvm/lib/Analysis/InstructionSimplify.cpp
  llvm/test/Transforms/InstSimplify/select_or_and.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148275.513987.patch
Type: text/x-patch
Size: 7063 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230416/a40b311f/attachment.bin>


More information about the llvm-commits mailing list