[PATCH] D138700: [InstSimplify] Fold (X || Y) ? X : Y --> X

chenglin.bi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 28 07:01:23 PST 2022


bcl5980 updated this revision to Diff 478230.
bcl5980 retitled this revision from "[InstSimplify] Fold two i1 select patterns" to "[InstSimplify] Fold (X || Y) ? X : Y --> X".
bcl5980 edited the summary of this revision.

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

https://reviews.llvm.org/D138700

Files:
  llvm/lib/Analysis/InstructionSimplify.cpp
  llvm/test/Transforms/InstSimplify/select-logical.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138700.478230.patch
Type: text/x-patch
Size: 4624 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221128/2d468031/attachment.bin>


More information about the llvm-commits mailing list