Re: [PATCH 08/10] vect: Generalise neutral_op_for_slp_reduction

2021-07-08 Thread Richard Biener via Gcc-patches
On Thu, Jul 8, 2021 at 2:48 PM Richard Sandiford via Gcc-patches wrote: > > This patch generalises the interface to neutral_op_for_slp_reduction > so that it can be used for non-SLP reductions too. This isn't much > of a win on its own, but it helps later patches. I guess that makes sense - OK.

[PATCH 08/10] vect: Generalise neutral_op_for_slp_reduction

2021-07-08 Thread Richard Sandiford via Gcc-patches
This patch generalises the interface to neutral_op_for_slp_reduction so that it can be used for non-SLP reductions too. This isn't much of a win on its own, but it helps later patches. gcc/ * tree-vect-loop.c (neutral_op_for_slp_reduction): Replace with... (neutral_op_for_reductio