Re: [PATCH] vect: Fix missed gather load opportunity

2022-09-16 Thread Richard Biener via Gcc-patches
On Fri, 16 Sep 2022, Richard Sandiford wrote: While writing a testcase for PR106794, I noticed that we failed to vectorise the testcase in the patch for SVE. The code that recognises gather loads tries to optimise the point at which the offset is calculated, to avoid unnecessary extensions o

[PATCH] vect: Fix missed gather load opportunity

2022-09-16 Thread Richard Sandiford via Gcc-patches
While writing a testcase for PR106794, I noticed that we failed to vectorise the testcase in the patch for SVE. The code that recognises gather loads tries to optimise the point at which the offset is calculated, to avoid unnecessary extensions or truncations: /* Don't include the conve