]> git.ipfire.org Git - thirdparty/gcc.git/commit
2019-06-14 Richard Biener <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 14 Jun 2019 11:29:44 +0000 (11:29 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 14 Jun 2019 11:29:44 +0000 (11:29 +0000)
commit2ab89918e26a3999ec1df110d45464cf7489fe88
tree43a482d1b56a79b82c0422e99490701c1090d933
parent3f075e5606899bb1ab5bd00f6cee766c44675b88
2019-06-14  Richard Biener  <rguenther@suse.de>

* tree-loop-distribution.c (classify_partition): Return
whether a reduction appeared in all partitions and do not
stop builtin detection because of this.
(distribute_loop): Sort a non-builtin partition last if
there's a reduction in all partitions and make sure the
partition prevailing as last is not a builtin.

* gcc.dg/tree-ssa/ldist-26.c: Adjust.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@272284 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-ssa/ldist-26.c
gcc/tree-loop-distribution.c