RE: [PATCH v2 3/16]middle-end Add basic SLP pattern matching scaffolding.

2020-11-04 Thread Richard Biener
.suse.de On > > > > Behalf Of Richard Biener > > > > Sent: Wednesday, November 4, 2020 12:41 PM > > > > To: Tamar Christina > > > > Cc: Richard Sandiford ; nd ; > > > > gcc-patches@gcc.gnu.org > > > > Subject:

RE: [PATCH v2 3/16]middle-end Add basic SLP pattern matching scaffolding.

2020-11-04 Thread Tamar Christina via Gcc-patches
t; > To: Tamar Christina > > > Cc: Richard Sandiford ; nd ; > > > gcc-patches@gcc.gnu.org > > > Subject: RE: [PATCH v2 3/16]middle-end Add basic SLP pattern > > > matching scaffolding. > > > > > > On Tue, 3 Nov 2020, Tamar Christina wrote: > &

RE: [PATCH v2 3/16]middle-end Add basic SLP pattern matching scaffolding.

2020-11-04 Thread Richard Biener
That > > probably asks for hybrid SLP discovery and relevance marking > > to be combined somehow. You can probably create a simple > > testcase by storing a lane of a complex op via a non-grouped > > store. > > > > + STMT_VINFO_RELEVANT (stmt_info) = vect_unu

RE: [PATCH v2 3/16]middle-end Add basic SLP pattern matching scaffolding.

2020-11-04 Thread Tamar Christina via Gcc-patches
> -Original Message- > From: rguent...@c653.arch.suse.de On > Behalf Of Richard Biener > Sent: Wednesday, November 4, 2020 12:41 PM > To: Tamar Christina > Cc: Richard Sandiford ; nd ; > gcc-patches@gcc.gnu.org > Subject: RE: [PATCH v2 3/16]middle-end Add ba

RE: [PATCH v2 3/16]middle-end Add basic SLP pattern matching scaffolding.

2020-11-04 Thread Richard Biener
(vect_analyze_slp): Call pattern matcher. > * tree-vectorizer.h (enum _complex_operation): > (class vect_pattern_match, class vect_pattern): New. > * tree-vect-slp-patterns.c: New file. > > > -Original Message- > > From: rguent...@c653.arch.suse.de

RE: [PATCH v2 3/16]middle-end Add basic SLP pattern matching scaffolding.

2020-11-03 Thread Tamar Christina via Gcc-patches
rguent...@c653.arch.suse.de On > Behalf Of Richard Biener > Sent: Tuesday, September 29, 2020 10:42 AM > To: Richard Sandiford > Cc: Tamar Christina ; nd ; gcc- > patc...@gcc.gnu.org > Subject: Re: [PATCH v2 3/16]middle-end Add basic SLP pattern matching > scaffolding. >

Re: [PATCH v2 3/16]middle-end Add basic SLP pattern matching scaffolding.

2020-09-29 Thread Richard Biener
On Tue, 29 Sep 2020, Richard Sandiford wrote: > Richard Biener writes: > >> > > @@ -2192,6 +2378,17 @@ vect_analyze_slp_instance (vec_info *vinfo, > >> > > &tree_size, bst_map); > >> > >if (node != NULL) > >> > > { > >> > > + /* Temporarily allow add_st

Re: [PATCH v2 3/16]middle-end Add basic SLP pattern matching scaffolding.

2020-09-29 Thread Richard Sandiford
Richard Biener writes: >> > > @@ -2192,6 +2378,17 @@ vect_analyze_slp_instance (vec_info *vinfo, >> > > &tree_size, bst_map); >> > >if (node != NULL) >> > > { >> > > + /* Temporarily allow add_stmt calls again. */ >> > > + vinfo->stmt_vec_info_ro =

RE: [PATCH v2 3/16]middle-end Add basic SLP pattern matching scaffolding.

2020-09-28 Thread Richard Biener
> From: rguent...@c653.arch.suse.de On > > > Behalf Of Richard Biener > > > Sent: Monday, September 28, 2020 1:37 PM > > > To: Tamar Christina > > > Cc: gcc-patches@gcc.gnu.org; nd ; o...@ucw.cz > > > Subject: Re: [PATCH v2 3/16]middle-end Add basic

RE: [PATCH v2 3/16]middle-end Add basic SLP pattern matching scaffolding.

2020-09-28 Thread Tamar Christina
> -Original Message- > From: Gcc-patches On Behalf Of Tamar > Christina > Sent: Monday, September 28, 2020 3:56 PM > To: Richard Biener > Cc: nd ; gcc-patches@gcc.gnu.org; o...@ucw.cz > Subject: RE: [PATCH v2 3/16]middle-end Add basic SLP pattern matching > sc

RE: [PATCH v2 3/16]middle-end Add basic SLP pattern matching scaffolding.

2020-09-28 Thread Tamar Christina
w.cz > Subject: Re: [PATCH v2 3/16]middle-end Add basic SLP pattern matching > scaffolding. > > On Fri, 25 Sep 2020, Tamar Christina wrote: > > > Hi All, > > > > This patch adds the basic infrastructure for doing pattern matching on SLP > trees. > > This is

Re: [PATCH v2 3/16]middle-end Add basic SLP pattern matching scaffolding.

2020-09-28 Thread Richard Biener
On Fri, 25 Sep 2020, Tamar Christina wrote: > Hi All, > > This patch adds the basic infrastructure for doing pattern matching on SLP > trees. > This is done immediately after the SLP tree creation because it can change the > shape of the tree in radical ways and so we would like to do it before