re PR tree-optimization/77283 (Revision 238005 disables loop unrolling)
authorRichard Biener <rguenther@suse.de>
Fri, 13 Jan 2017 08:11:01 +0000 (08:11 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 13 Jan 2017 08:11:01 +0000 (08:11 +0000)
commit10b70b8e5eb8d4b5ab175785366cfc6cbe837390
treecaf56ce1cf53d62119b36465ce668fc8202fd10d
parent53b586f27080c634a8c2a85d1d0619d1aa7e997c
re PR tree-optimization/77283 (Revision 238005 disables loop unrolling)

2017-01-13  Richard Biener  <rguenther@suse.de>

PR tree-optimization/77283
* gimple-ssa-split-paths.c: Include gimple-ssa.h, tree-phinodes.h
and ssa-iterators.h.
(is_feasible_trace): Implement a cost model based on joiner
PHI node uses.

* gcc.dg/tree-ssa/split-path-7.c: Adjust.
* gcc.dg/tree-ssa/split-path-8.c: New testcase.
* gcc.dg/tree-ssa/split-path-9.c: Likewise.

From-SVN: r244392
gcc/gimple-ssa-split-paths.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/split-path-7.c
gcc/testsuite/gcc.dg/tree-ssa/split-path-8.c [new file with mode: 0644]
gcc/testsuite/gcc.dg/tree-ssa/split-path-9.c [new file with mode: 0644]