On Mon, May 21, 2018 at 3:14 PM Bin Cheng <bin.ch...@arm.com> wrote:

> Hi,
> As reported in PR85804, bump step is wrongly computed for vector(1) load
of
> single-element group access.  This patch fixes the issue by correcting
bump
> step computation for the specific VMAT_CONTIGUOUS case.

> Bootstrap and test on x86_64 and AArch64 ongoing, is it OK?

To me it looks like the classification as VMAT_CONTIGUOUS is bogus.
We'd fall into the grouped_load case otherwise which should handle
the situation correctly?

Richard?

Thanks,
Richard.


> Thanks,
> bin

> 2018-05-17  Bin Cheng  <bin.ch...@arm.com>

>          PR tree-optimization/85804
>          * tree-vect-stmts.c (vectorizable_load): Compute correct bump step
>          for vector(1) load in single-element group access.

> gcc/testsuite
> 2018-05-17  Bin Cheng  <bin.ch...@arm.com>

>          PR tree-optimization/85804
>          * gcc.c-torture/execute/pr85804.c: New test.

Reply via email to