re PR tree-optimization/79245 (Inefficient loop distribution to memcpy)
authorRichard Biener <rguenther@suse.de>
Fri, 27 Jan 2017 13:56:59 +0000 (13:56 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 27 Jan 2017 13:56:59 +0000 (13:56 +0000)
commit40b6bff965d004095b06ad3827e8221ae5bcc25e
tree6a577a4fc19836a6e400bff7742ec6ea1a480f79
parentb2f8892e35a0faa8a3c52da0eda13c12ddb76cc4
re PR tree-optimization/79245 (Inefficient loop distribution to memcpy)

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

PR tree-optimization/79245
* tree-loop-distribution.c (distribute_loop): Apply cost
modeling also to detected patterns.

* gcc.dg/tree-ssa/ldist-23.c: XFAIL.
* gcc.dg/tree-ssa/ldist-25.c: New testcase.

From-SVN: r244976
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/ldist-23.c
gcc/testsuite/gcc.dg/tree-ssa/ldist-25.c [new file with mode: 0644]
gcc/tree-loop-distribution.c