re PR tree-optimization/66726 (missed optimization, factor conversion out of COND_EXPR)
authorJoern Rennecke <joern.rennecke@riscy-ip.com>
Mon, 1 Jul 2019 21:48:55 +0000 (21:48 +0000)
committerJoern Rennecke <amylaar@gcc.gnu.org>
Mon, 1 Jul 2019 21:48:55 +0000 (22:48 +0100)
commit5cc8cb04de4285bfa85c16073e99185b41c38f85
tree351370b02de7ff80f730e5838e84ab8722d05fca
parent63c94f4cb0cffa6f3b316d4631092afee734506f
re PR tree-optimization/66726 (missed optimization, factor conversion out of COND_EXPR)

        PR middle-end/66726
        * tree-ssa-phiopt.c (factor_out_conditional_conversion):
        Tune heuristic from PR71016 to allow MIN / MAX.
        * testsuite/gcc.dg/tree-ssa/pr66726-4.c: New testcase.

From-SVN: r272911
gcc/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/pr66726-4.c [new file with mode: 0644]
gcc/tree-ssa-phiopt.c