Hi Andre, > -----Original Message----- > From: Andre Vieira (lists) <andre.simoesdiasvie...@arm.com> > Sent: 17 February 2021 14:17 > To: gcc-patches@gcc.gnu.org > Cc: Kyrylo Tkachov <kyrylo.tkac...@arm.com>; Richard Sandiford > <richard.sandif...@arm.com> > Subject: [AArch64] PR98657: Fix vec_duplicate creation in SVE's > <ASHIFT:optab><mode>3 > > Hi, > > This patch prevents generating a vec_duplicate with illegal predicate. > > Regression tested on aarch64-linux-gnu. > > OK for trunk? > > gcc/ChangeLog: > 2021-02-17 Andre Vieira <andre.simoesdiasvie...@arm.com> > > PR target/98657 > * config/aarch64/aarch64-sve.md: Use 'expand_vector_broadcast' > to emit vec_duplicate's > in '<ASHIFT:optab><mode>3' pattern.
This entry should be * config/aarch64/aarch64-sve.md (<ASHIFT:optab><mode>3'): Use expand_vector_broadcast.... Ok with the ChangeLog fixed. Thanks, Kyrill > > gcc/testsuite/ChangeLog: > 2021-02-17 Andre Vieira <andre.simoesdiasvie...@arm.com> > > PR target/98657 > * gcc.target/aarch64/sve/pr98657.c: New test.