[PATCH] D27531: [InstCombine] add folds for icmp (smin X, Y), X
Sanjay Patel via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 7 13:24:52 PST 2016
spatel updated this revision to Diff 80649.
spatel added a comment.
Patch updated:
It makes the patch smaller (static function, no need for a switch) to not consider the fold to true/false cases that are obviously handled by InstSimplify, so I removed that part.
https://reviews.llvm.org/D27531
Files:
lib/Transforms/InstCombine/InstCombineCompares.cpp
test/Transforms/InstCombine/smin-icmp.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27531.80649.patch
Type: text/x-patch
Size: 7077 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161207/264ab5f0/attachment.bin>
More information about the llvm-commits
mailing list