2015-09-30 Michael Collison <michael.collison@linaro.org>
authorMichael Collison <michael.collison@linaro.org>
Thu, 15 Oct 2015 22:21:22 +0000 (22:21 +0000)
committerMichael Collison <collison@gcc.gnu.org>
Thu, 15 Oct 2015 22:21:22 +0000 (22:21 +0000)
commit4f7a56926513835ec1f05e8e59e49db938ebfd2a
treea882b73ddf5b1e398610a0b3ee8acb3b667cfb75
parent9418279db60955fac838eb1a9f2cdedb9f7f66ba
2015-09-30  Michael Collison  <michael.collison@linaro.org>
    Andrew Pinski <andrew.pinski@caviumnetworks.com>

* match.pd ((x < y) && (x < z) -> x < min (y,z),
(x > y) and (x > z) -> x > max (y,z))
* testsuite/gcc.dg/tree-ssa/minmax-loopend.c: New test.

Co-Authored-By: Andrew Pinski <andrew.pinski@caviumnetworks.com>
From-SVN: r228854
gcc/ChangeLog
gcc/match.pd
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/minmax-loopend.c [new file with mode: 0644]