Re: [PATCH] Fall back to masked_gather_load/masked_scatter_store

2021-08-17 Thread Richard Biener via Gcc-patches
On Tue, 17 Aug 2021, Richard Sandiford wrote: > Richard Biener via Gcc-patches writes: > > This adds a fallback to the masked_ variants for gather_load > > and scatter_store if the latter are not available. > > > > Bootstrap / regtest running on x86_64-unknown-linux-gnu. > > LGTM FWIW. I don't

Re: [PATCH] Fall back to masked_gather_load/masked_scatter_store

2021-08-17 Thread Richard Sandiford via Gcc-patches
Richard Biener via Gcc-patches writes: > This adds a fallback to the masked_ variants for gather_load > and scatter_store if the latter are not available. > > Bootstrap / regtest running on x86_64-unknown-linux-gnu. LGTM FWIW. I don't know the history behind the TREE_CODE (*mask) != SSA_NAME che

[PATCH] Fall back to masked_gather_load/masked_scatter_store

2021-08-17 Thread Richard Biener via Gcc-patches
This adds a fallback to the masked_ variants for gather_load and scatter_store if the latter are not available. Bootstrap / regtest running on x86_64-unknown-linux-gnu. 2021-08-17 Richard Biener * optabs-query.c (supports_vec_gather_load_p): Also check for masked optabs.