On Wed, 30 Sep 2015, Michael Collison wrote:
Richard and Marc,
Latest patch attached which incorporates all comments.
2015-09-30 Michael Collison <michael.colli...@linaro.org>
Andrew Pinski <andrew.pin...@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.
You are still missing at least the indentation.
+/* { dg-final { scan-tree-dump "MIN_EXPR" 1 "optimized" } } */
I believe it is only scan-tree-dump-times that takes a number.
scan-tree-dump seems to have only 2 arguments.
--
Marc Glisse