Re: [PATCH] vect: Try to remove single-vector permutes from SLP graph

2022-09-01 Thread Richard Biener via Gcc-patches
On Thu, 1 Sep 2022, Richard Sandiford wrote: > This patch extends the SLP layout optimisation pass so that it > tries to remove layout changes that are brought about by permutes > of existing vectors. This fixes the bb-slp-pr54400.c regression on > x86_64 and also means that we can remove the per

[PATCH] vect: Try to remove single-vector permutes from SLP graph

2022-09-01 Thread Richard Sandiford via Gcc-patches
This patch extends the SLP layout optimisation pass so that it tries to remove layout changes that are brought about by permutes of existing vectors. This fixes the bb-slp-pr54400.c regression on x86_64 and also means that we can remove the permutes in cases like: typedef float v4sf __attribute__