RE: [PATCH] Deal with (pattern) SLP consumed stmts in hybrid discovery

2020-11-20 Thread Richard Biener
Christina > > Subject: [PATCH] Deal with (pattern) SLP consumed stmts in hybrid discovery > > > > This makes hybrid SLP discovery deal with stmts indirectly consumed by SLP, > > for example via patterns. This means that all uses of a stmt end up in SLP > > vectorized stmt

RE: [PATCH] Deal with (pattern) SLP consumed stmts in hybrid discovery

2020-11-20 Thread Tamar Christina via Gcc-patches
Hi Richi, > -Original Message- > From: rguent...@ryzen.fritz.box On Behalf Of > Richard Biener > Sent: Friday, November 20, 2020 9:54 AM > To: gcc-patches@gcc.gnu.org > Cc: Tamar Christina > Subject: [PATCH] Deal with (pattern) SLP consumed stmts in hybrid disc

[PATCH] Deal with (pattern) SLP consumed stmts in hybrid discovery

2020-11-20 Thread Richard Biener
This makes hybrid SLP discovery deal with stmts indirectly consumed by SLP, for example via patterns. This means that all uses of a stmt end up in SLP vectorized stmts. This helps my prototype patches for PR97832 where I make SLP discovery re-associate chains to make operands match. This ends up