tree-loop-distribution.c (classify_partition): New parameter and better handle reduct...
authorBin Cheng <bin.cheng@arm.com>
Wed, 5 Jul 2017 12:05:44 +0000 (12:05 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Wed, 5 Jul 2017 12:05:44 +0000 (12:05 +0000)
commit4a52eb194ce8a5c9086dbc269210d17430ce706e
treecee4541aeccab4712ded26aec851773e6ce019c1
parentf1eb462193ff08532934a78671c5b721fd504169
tree-loop-distribution.c (classify_partition): New parameter and better handle reduction statement.

* tree-loop-distribution.c (classify_partition): New parameter and
better handle reduction statement.
(rdg_build_partitions): Revise comment.
(distribute_loop): Compute statements in all partitions and pass it
to classify_partition.

gcc/testsuite
* gcc.dg/tree-ssa/ldist-26.c: New test.

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