Re: [PATCH 02/10] vect: Create array_slice of live-out stmts

2021-07-08 Thread Richard Biener via Gcc-patches
On Thu, Jul 8, 2021 at 2:42 PM Richard Sandiford via Gcc-patches wrote: > > This patch constructs an array_slice of the scalar statements that > produce live-out reduction results in the original unvectorised loop. > There are three cases: > > - SLP reduction chains: the final SLP stmt is live-out

[PATCH 02/10] vect: Create array_slice of live-out stmts

2021-07-08 Thread Richard Sandiford via Gcc-patches
This patch constructs an array_slice of the scalar statements that produce live-out reduction results in the original unvectorised loop. There are three cases: - SLP reduction chains: the final SLP stmt is live-out - full SLP reductions: all SLP stmts are live-out - non-SLP reductions: the single