[PATCH] D29060: InstCombine: Reduce minnum/maxnum if inputs are casted
Matt Arsenault via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jan 23 16:25:14 PST 2017
arsenm created this revision.
Herald added a subscriber: wdng.
Also canonicalize constants to RHS.
https://reviews.llvm.org/D29060
Files:
lib/Transforms/InstCombine/InstCombineCalls.cpp
test/Transforms/InstCombine/maxnum.ll
test/Transforms/InstCombine/minnum.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29060.85487.patch
Type: text/x-patch
Size: 5775 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170124/c6ed6575/attachment-0001.bin>
More information about the llvm-commits
mailing list