Re: [PATCH 09/10] vect: Simplify get_initial_def_for_reduction

2021-07-08 Thread Richard Biener via Gcc-patches
On Thu, Jul 8, 2021 at 2:49 PM Richard Sandiford via Gcc-patches wrote: > > After previous patches, we can now easily provide the neutral op > as an argument to get_initial_def_for_reduction. This in turn > allows the adjustment calculation to be moved outside of > get_initial_def_for_reduction,

[PATCH 09/10] vect: Simplify get_initial_def_for_reduction

2021-07-08 Thread Richard Sandiford via Gcc-patches
After previous patches, we can now easily provide the neutral op as an argument to get_initial_def_for_reduction. This in turn allows the adjustment calculation to be moved outside of get_initial_def_for_reduction, which is the main motivation of the patch. gcc/ * tree-vect-loop.c (get_in