re PR tree-optimization/92324 (ICE in expand_direct_optab_fn, at internal-fn.c:2890)
authorRichard Biener <rguenther@suse.de>
Fri, 15 Nov 2019 12:48:34 +0000 (12:48 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 15 Nov 2019 12:48:34 +0000 (12:48 +0000)
commitd03431d0f59f5aa5c2a8e2e5ea94ea1660b240f8
tree224553aa798f2c7b6d41788fe7abd395243b11eb
parent8eea62d8ab9c621b9d46926eb4c5380fe5606e4f
re PR tree-optimization/92324 (ICE in expand_direct_optab_fn, at internal-fn.c:2890)

2019-11-15  Richard Biener  <rguenther@suse.de>

PR tree-optimization/92324
* tree-vect-loop.c (vect_create_epilog_for_reduction): Fix
singedness of SLP reduction epilouge operations.  Also reduce
the vector width for SLP reductions before doing elementwise
operations if possible.

* gcc.dg/vect/pr92324-4.c: New testcase.

From-SVN: r278289
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/pr92324-4.c [new file with mode: 0644]
gcc/tree-vect-loop.c