Re: [PATCH] vect: Fix mask handling for SLP gathers [PR103761]

2022-04-06 Thread Richard Biener via Gcc-patches
On Tue, 5 Apr 2022, Richard Sandiford wrote: > check_load_store_for_partial_vectors predates the support for SLP > gathers and so had a hard-coded assumption that gathers/scatters > (and load/stores lanes) would be non-SLP operations. This patch > passes down the slp_node so that the routine can

[PATCH] vect: Fix mask handling for SLP gathers [PR103761]

2022-04-05 Thread Richard Sandiford via Gcc-patches
check_load_store_for_partial_vectors predates the support for SLP gathers and so had a hard-coded assumption that gathers/scatters (and load/stores lanes) would be non-SLP operations. This patch passes down the slp_node so that the routine can work out how many vectors are needed in both the SLP