[PATCH] D41603: [InstCombine] fold min/max tree with common operand (PR35717)

Sanjay Patel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Jan 3 14:33:21 PST 2018

spatel updated this revision to Diff 128565.
spatel edited the summary of this revision.
spatel added a comment.


Patch updated:
I adjusted the use checks to be '<='. This accounts for non-canonical min/max patterns as seen in the motivating test (the compare operands are not the same as the select operands). So now this patch should be the last step towards solving PR35717.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41603.128565.patch
Type: text/x-patch
Size: 7700 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180103/3ab06f57/attachment.bin>

More information about the llvm-commits mailing list