[PATCH] D150360: [InstCombine] Optimize compares with multiple selects as operands
Tejas Joshi via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed May 24 05:34:11 PDT 2023
tejas updated this revision to Diff 525124.
tejas retitled this revision from "[InstSimplify] Optimize compares with multiple selects as operands" to "[InstCombine] Optimize compares with multiple selects as operands".
tejas edited the summary of this revision.
tejas added a comment.
Made the transformation generic as suggested and moved it to InstCombine.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D150360/new/
https://reviews.llvm.org/D150360
Files:
llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
llvm/test/Transforms/InstCombine/icmp-with-selects.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D150360.525124.patch
Type: text/x-patch
Size: 5365 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20230524/5e3e155c/attachment.bin>
More information about the llvm-commits
mailing list