r279164 - in /trunk/gcc: ChangeLog tree-vect-lo...

rsandifo@gcc.gnu.org rsandifo@gcc.gnu.org
Tue Dec 10 12:20:00 GMT 2019


Author: rsandifo
Date: Tue Dec 10 12:20:12 2019
New Revision: 279164

URL: https://gcc.gnu.org/viewcvs?rev=279164&root=gcc&view=rev
Log:
Add missing conversion in vect_create_epilog_for_reduction

The direct_slp_reduc code in vect_create_epilog_for_reduction was
still assuming that all types involved in a reduction are the same
(up to types_compatible_p), whereas we now support differences in
sign.  This was causing an ICE in gcc.dg/vect/pr92324-4.c for SVE.

2019-12-10  Richard Sandiford  <richard.sandiford@arm.com>

gcc/
	* tree-vect-loop.c (vect_create_epilog_for_reduction): When
	handling direct_slp_reduc, allow the PHI arguments to have
	a different type from the vector elements.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/tree-vect-loop.c



More information about the Gcc-cvs mailing list