Re: Fix permute handling when vectorising scatters

2018-01-09 Thread Richard Biener
On Tue, Jan 9, 2018 at 12:34 PM, Richard Sandiford wrote: > As mentioned in https://gcc.gnu.org/ml/gcc-patches/2017-11/msg01575.html , > the scatter handling in vectorizable_store seems to be dead code at the > moment. Enabling it with the vect_analyze_data_ref_access part of > that patch trigger

Fix permute handling when vectorising scatters

2018-01-09 Thread Richard Sandiford
As mentioned in https://gcc.gnu.org/ml/gcc-patches/2017-11/msg01575.html , the scatter handling in vectorizable_store seems to be dead code at the moment. Enabling it with the vect_analyze_data_ref_access part of that patch triggered an ICE in the avx512f-scatter-*.c tests (which previously didn't