Re: [PATCH] SLP vectorize across PHI nodes

2020-11-15 Thread H.J. Lu via Gcc-patches
On Fri, Oct 30, 2020 at 2:46 AM Richard Biener wrote: > > On Fri, 30 Oct 2020, Richard Sandiford wrote: > > > Richard Biener writes: > > > On Wed, 28 Oct 2020, Christophe Lyon wrote: > > > > > >> On Wed, 28 Oct 2020 at 11:27, Christophe Lyon > > >> wrote: > > >> > > > >> > On Tue, 27 Oct 2020 at

Re: [PATCH] SLP vectorize across PHI nodes

2020-10-30 Thread Richard Biener
On Fri, 30 Oct 2020, Richard Sandiford wrote: > Richard Biener writes: > > On Wed, 28 Oct 2020, Christophe Lyon wrote: > > > >> On Wed, 28 Oct 2020 at 11:27, Christophe Lyon > >> wrote: > >> > > >> > On Tue, 27 Oct 2020 at 13:18, Richard Biener wrote: > >> > > > >> > > This makes SLP discovery

Re: [PATCH] SLP vectorize across PHI nodes

2020-10-30 Thread Richard Sandiford via Gcc-patches
Richard Biener writes: > On Wed, 28 Oct 2020, Christophe Lyon wrote: > >> On Wed, 28 Oct 2020 at 11:27, Christophe Lyon >> wrote: >> > >> > On Tue, 27 Oct 2020 at 13:18, Richard Biener wrote: >> > > >> > > This makes SLP discovery detect backedges by seeding the bst_map with >> > > the node to b

Re: [PATCH] SLP vectorize across PHI nodes

2020-10-28 Thread Richard Biener
On Wed, 28 Oct 2020, Christophe Lyon wrote: > On Wed, 28 Oct 2020 at 11:27, Christophe Lyon > wrote: > > > > On Tue, 27 Oct 2020 at 13:18, Richard Biener wrote: > > > > > > This makes SLP discovery detect backedges by seeding the bst_map with > > > the node to be analyzed so it can be picked up

Re: [PATCH] SLP vectorize across PHI nodes

2020-10-28 Thread Christophe Lyon via Gcc-patches
On Wed, 28 Oct 2020 at 11:27, Christophe Lyon wrote: > > On Tue, 27 Oct 2020 at 13:18, Richard Biener wrote: > > > > This makes SLP discovery detect backedges by seeding the bst_map with > > the node to be analyzed so it can be picked up from recursive calls. > > This removes the need to discover

Re: [PATCH] SLP vectorize across PHI nodes

2020-10-28 Thread Christophe Lyon via Gcc-patches
On Tue, 27 Oct 2020 at 13:18, Richard Biener wrote: > > This makes SLP discovery detect backedges by seeding the bst_map with > the node to be analyzed so it can be picked up from recursive calls. > This removes the need to discover backedges in a separate walk. > > This enables SLP build to handl

[PATCH] SLP vectorize across PHI nodes

2020-10-27 Thread Richard Biener
This makes SLP discovery detect backedges by seeding the bst_map with the node to be analyzed so it can be picked up from recursive calls. This removes the need to discover backedges in a separate walk. This enables SLP build to handle PHI nodes in full, continuing the SLP build to non-backedges.

[RFC2][PATCH] SLP vectorize across PHI nodes

2020-10-21 Thread Richard Biener
This enables SLP build to handle PHI nodes in full, continuing the SLP build to non-backedges. For loop vectorization this enables outer loop vectorization of nested SLP cycles and for BB vectorization this enables vectorization of PHIs at CFG merges. Vectorized backedge defs are now filled using