Re: [PATCH] fix useless unsharing of SLP tree

2020-09-10 Thread Richard Sandiford
Richard Biener writes: > On Thu, 10 Sep 2020, Richard Sandiford wrote: > >> Richard Biener writes: >> > This avoids unsharing the SLP tree when optimizing load permutations >> > for reductions but there is no actual permute taking place. >> > >> > Bootstrapped and tested on x86_64-unknown-linux-g

Re: [PATCH] fix useless unsharing of SLP tree

2020-09-10 Thread Richard Biener
On Thu, 10 Sep 2020, Richard Sandiford wrote: > Richard Biener writes: > > This avoids unsharing the SLP tree when optimizing load permutations > > for reductions but there is no actual permute taking place. > > > > Bootstrapped and tested on x86_64-unknown-linux-gnu, pushed. > > > > 2020-09-09

Re: [PATCH] fix useless unsharing of SLP tree

2020-09-10 Thread Richard Sandiford
Richard Biener writes: > This avoids unsharing the SLP tree when optimizing load permutations > for reductions but there is no actual permute taking place. > > Bootstrapped and tested on x86_64-unknown-linux-gnu, pushed. > > 2020-09-09 Richard Biener > > * tree-vect-slp.c (vect_attempt_sl