On Tue, 29 Sep 2020, Joel Hutton wrote:

>  Hi All,
> 
> The following patch adds a simple check to prevent slp stmts from vector 
> constructors being rearranged. vect_attempt_slp_rearrange_stmts tries to 
> rearrange to avoid a load permutation.
> 
> This fixes PR target/96837 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96827
> gcc/ChangeLog:

OK for trunk and branch(es)

Thanks,
Richard.

> 2020-09-29  Joel Hutton  <joel.hut...@arm.com>
> 
>         PR target/96837
>         * tree-vect-slp.c (vect_analyze_slp): Do not call 
> vect_attempt_slp_rearrange_stmts for vector constructors.
> 
> gcc/testsuite/ChangeLog:
> 
> 2020-09-29  Joel Hutton  <joel.hut...@arm.com>
> 
>         PR target/96837
>         * gcc.dg/vect/bb-slp-49.c: New test.

-- 
Richard Biener <rguent...@suse.de>
SUSE Software Solutions Germany GmbH, Maxfeldstrasse 5, 90409 Nuernberg,
Germany; GF: Felix Imend

Reply via email to