Re: Add missing conversion in vect_create_epilog_for_reduction

2019-12-10 Thread Richard Biener
On December 10, 2019 12:39:53 PM GMT+01:00, Richard Sandiford wrote: >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 a

Add missing conversion in vect_create_epilog_for_reduction

2019-12-10 Thread Richard Sandiford
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. Tested on aarch64-linux-gnu and