[PATCH] D139076: [InstCombine] fold icmp + select pattern by distributive laws

chenglin.bi via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 2 10:04:51 PST 2022


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

rebase code and shorten the condition by comments.


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

https://reviews.llvm.org/D139076

Files:
  llvm/lib/Transforms/InstCombine/InstCombineSelect.cpp
  llvm/test/Transforms/InstCombine/select-cmp.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D139076.479668.patch
Type: text/x-patch
Size: 6142 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221202/a8741ab0/attachment.bin>


More information about the llvm-commits mailing list