re PR tree-optimization/77283 (Revision 238005 disables loop unrolling)
authorRichard Biener <rguenth@gcc.gnu.org>
Mon, 16 Jan 2017 09:33:12 +0000 (09:33 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 16 Jan 2017 09:33:12 +0000 (09:33 +0000)
commita99ce94c8acf996340013b836f45f81dc64a3f44
treee9ab73428279b8e07bd3f2c957fe685c0605e344
parent7d2f3f1d2968d16c89b0c046d730ab57fa6875d4
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: r244487
gcc/ChangeLog