[PATCH] D138853: [InstSimplify] Fold !(X || Y) && X --> false

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


bcl5980 created this revision.
bcl5980 added a reviewer: spatel.
Herald added a subscriber: hiraditya.
Herald added a project: All.
bcl5980 requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

!(X || Y) && X --> false
https://alive2.llvm.org/ce/z/693Jgv


https://reviews.llvm.org/D138853

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138853.478325.patch
Type: text/x-patch
Size: 5733 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221128/716099e9/attachment.bin>


More information about the llvm-commits mailing list