[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 16:06:33 PST 2016
spatel updated this revision to Diff 80684.
spatel added a comment.
Patch updated:
Add and use a commutable SMin matcher as suggested by David.
https://reviews.llvm.org/D27531
Files:
include/llvm/IR/PatternMatch.h
lib/Transforms/InstCombine/InstCombineCompares.cpp
test/Transforms/InstCombine/smin-icmp.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D27531.80684.patch
Type: text/x-patch
Size: 7745 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161208/7967b586/attachment.bin>
More information about the llvm-commits
mailing list