Re: [SLP][VECT] Add check to fix 96837

2020-09-29 Thread Richard Biener
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

[SLP][VECT] Add check to fix 96837

2020-09-29 Thread Joel Hutton via Gcc-patches
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: 2020-09