tree-vect-loop.c (vect_is_simple_reduction): Simplify and allow stmts other than...
authorRichard Biener <rguenther@suse.de>
Wed, 9 Oct 2019 13:36:33 +0000 (13:36 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 9 Oct 2019 13:36:33 +0000 (13:36 +0000)
commit4a8841c0413d52261a8d024577381582d07a866a
tree3712adea8ae16b2dc23efff0acb676db8d75eb98
parent531b0a3172ed423175d7ebbf317cd79f4613735e
tree-vect-loop.c (vect_is_simple_reduction): Simplify and allow stmts other than GIMPLE_ASSIGN in nested cycles.

2019-10-09  Richard Biener  <rguenther@suse.de>

* tree-vect-loop.c (vect_is_simple_reduction): Simplify and
allow stmts other than GIMPLE_ASSIGN in nested cycles.

* gcc.dg/vect/vect-outer-call-1.c: New testcase.

From-SVN: r276760
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/vect-outer-call-1.c [new file with mode: 0644]
gcc/tree-vect-loop.c