This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [10/n] PR85694: Split out check for vectorizable associative reductions
- From: Jeff Law <law at redhat dot com>
- To: gcc-patches at gcc dot gnu dot org, richard dot sandiford at arm dot com
- Date: Fri, 22 Jun 2018 22:53:51 -0600
- Subject: Re: [10/n] PR85694: Split out check for vectorizable associative reductions
- References: <878t7cf7zy.fsf@arm.com>
On 06/18/2018 09:07 AM, Richard Sandiford wrote:
> This patch adds an overload of vect_reassociating_reduction_p
> that checks for a vectorizable associative reduction,
> since the check was duplicated in three functions.
>
> Tested on aarch64-linux-gnu and x86_64-linux-gnu. OK to install?
>
> Richard
>
>
> 2018-06-18 Richard Sandiford <richard.sandiford@arm.com>
>
> gcc/
> * tree-vect-patterns.c (vect_reassociating_reduction_p): New function.
> (vect_recog_dot_prod_pattern, vect_recog_sad_pattern)
> (vect_recog_widen_sum_pattern): Use it.
OK.
jeff