[PATCH] D133919: [InstCombine] Fold ((x?1:4)&(y?1:4))==0 to x^y

Marc Auberer via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Sep 19 11:27:07 PDT 2022


marcauberer updated this revision to Diff 461284.
marcauberer added a comment.

Code improvements


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D133919

Files:
  llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
  llvm/test/Transforms/InstCombine/select_and_icmpeq.ll
  llvm/test/Transforms/InstCombine/select_and_icmpne.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D133919.461284.patch
Type: text/x-patch
Size: 11424 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220919/3db3abf3/attachment.bin>


More information about the llvm-commits mailing list