[tree-ssa-mathopts] PR tree-optimization/87259: Call execute_cse_reciprocals_1 before...
authorKyrylo Tkachov <kyrylo.tkachov@arm.com>
Fri, 14 Sep 2018 13:13:14 +0000 (13:13 +0000)
committerKyrylo Tkachov <ktkachov@gcc.gnu.org>
Fri, 14 Sep 2018 13:13:14 +0000 (13:13 +0000)
commit115b470829a7d3ad0c60ea0e09fefef61d50b437
tree9263b042d8a51e68a058597e8972bae8b64c3ca8
parent310ee703a20393d2278ff4c08e6f97bd16198564
[tree-ssa-mathopts] PR tree-optimization/87259: Call execute_cse_reciprocals_1 before trying optimize_recip_sqrt

PR tree-optimization/87259
PR lto/87283
(pass_cse_reciprocals::execute): Run optimize_recip_sqrt after
execute_cse_reciprocals_1 has tried transforming.

PR tree-optimization/87259
* gcc.dg/pr87259.c: New test.

From-SVN: r264312
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr87259.c [new file with mode: 0644]
gcc/tree-ssa-math-opts.c