commit | c0730628a4956986bda54f99da21590cb6ad33ce | [log] [tgz] |
---|---|---|
author | Sanjoy Das <sanjoy@playingwithpointers.com> | Thu Apr 30 04:56:00 2015 +0000 |
committer | Sanjoy Das <sanjoy@playingwithpointers.com> | Thu Apr 30 04:56:00 2015 +0000 |
tree | fd20bd3ad4f885c2b5f88eb1a5675e39d2a01767 | |
parent | deedba2a369a693905c467b805449a3109fca6c7 [diff] |
[InstCombine] Add a new formula for SMIN. Summary: After this change `MatchSelectPattern` recognizes the following form of SMIN: Y >s C ? ~Y : ~C == ~Y <s ~C ? ~Y : ~C = SMIN(~Y, ~C) Reviewers: majnemer Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D9352 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236202 91177308-0d34-0410-b5e6-96231b3b80d8