Re: [PATCH 01/10] vect: Simplify epilogue reduction code

2021-07-08 Thread Richard Biener via Gcc-patches
On Thu, Jul 8, 2021 at 2:41 PM Richard Sandiford via Gcc-patches wrote: > > vect_create_epilog_for_reduction only handles two cases: single-loop > reductions and double reductions. “nested cycles” (i.e. reductions > in the inner loop when vectorising an outer loop) are handled elsewhere > and don

[PATCH 01/10] vect: Simplify epilogue reduction code

2021-07-08 Thread Richard Sandiford via Gcc-patches
vect_create_epilog_for_reduction only handles two cases: single-loop reductions and double reductions. “nested cycles” (i.e. reductions in the inner loop when vectorising an outer loop) are handled elsewhere and don't need a vector->scalar reduction. The function had variables called nested_in_ve