[PATCH] D139253: [InstCombine] fold more icmp + select patterns by distributive laws

chenglin.bi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 4 00:41:51 PST 2022


bcl5980 updated this revision to Diff 479901.
bcl5980 added a comment.

update tests and fix two bugs.


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

https://reviews.llvm.org/D139253

Files:
  llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
  llvm/test/Transforms/InstCombine/opaque-ptr.ll
  llvm/test/Transforms/InstCombine/select-bitext.ll
  llvm/test/Transforms/InstCombine/select-cmp.ll
  llvm/test/Transforms/InstCombine/select-gep.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139253.479901.patch
Type: text/x-patch
Size: 15707 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221204/1b5a9e97/attachment.bin>


More information about the llvm-commits mailing list