* tree-loop-distribution.c (classify_partition): New parameter and
commit8d95fe31028a93feb22efbd3f001cab69c000f61
authoramker <amker@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 Jul 2017 12:05:44 +0000 (5 12:05 +0000)
committeramker <amker@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 Jul 2017 12:05:44 +0000 (5 12:05 +0000)
treecee4541aeccab4712ded26aec851773e6ce019c1
parentf024aa045a1cee7c04ccf73261846ed4c649785d
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@249993 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/ldist-26.c [new file with mode: 0644]
gcc/tree-loop-distribution.c