Re: vect: Restore variable-length SLP permutes [PR97513]

2021-04-06 Thread Richard Biener via Gcc-patches
On Tue, Apr 6, 2021 at 12:05 PM Richard Sandiford via Gcc-patches wrote: > > Many of the gcc.target/sve/slp-perm*.c tests started failing > after the introduction of separate SLP permute nodes. > This patch adds variable-length support using a similar > technique to vect_transform_slp_perm_load. >

vect: Restore variable-length SLP permutes [PR97513]

2021-04-06 Thread Richard Sandiford via Gcc-patches
Many of the gcc.target/sve/slp-perm*.c tests started failing after the introduction of separate SLP permute nodes. This patch adds variable-length support using a similar technique to vect_transform_slp_perm_load. As there, the idea is to detect when every permute mask vector is the same and can b