[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.
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...
Size: 7700 bytes
Desc: not available
More information about the llvm-commits