Re: [PATCH] RFC: Extend SLP permutation optimisations

2022-08-04 Thread Richard Sandiford via Gcc-patches
Richard Biener writes: > On Tue, 2 Aug 2022, Richard Sandiford wrote: > >> Currently SLP tries to force permute operations "down" the graph >> from loads in the hope of reducing the total number of permutes >> needed or (in the best case) removing the need for the permutes >> entirely. This

Re: [PATCH] RFC: Extend SLP permutation optimisations

2022-08-03 Thread Richard Biener via Gcc-patches
On Tue, 2 Aug 2022, Richard Sandiford wrote: > Currently SLP tries to force permute operations "down" the graph > from loads in the hope of reducing the total number of permutes > needed or (in the best case) removing the need for the permutes > entirely. This patch tries to extend it as

[PATCH] RFC: Extend SLP permutation optimisations

2022-08-02 Thread Richard Sandiford via Gcc-patches
Currently SLP tries to force permute operations "down" the graph from loads in the hope of reducing the total number of permutes needed or (in the best case) removing the need for the permutes entirely. This patch tries to extend it as follows: - Allow loads to take a different permutation from