> -----Original Message----- > From: Andre Vieira (lists) <andre.simoesdiasvie...@arm.com> > Sent: 27 April 2020 14:22 > To: gcc-patches@gcc.gnu.org > Cc: Kyrylo Tkachov <kyrylo.tkac...@arm.com> > Subject: [PATCH][GCC][Arm]: Fix bootstrap failure with rtl-checking > > Hi, > > The code change that caused this regression was not meant to affect neon > code-gen, however I missed the REG fall through. This patch makes sure > we only get the left-hand of the PLUS if it is indeed a PLUS expr. > > I suggest that in gcc-11 this code is cleaned up, as I do not think we > even need the overlap checks, NEON only loads from or stores to FP > registers and these can't be used in its addressing modes. > > Bootstrapped arm-linux-gnueabihf with '--enable-checking=yes,rtl' for > armv7-a and amrv8-a. > > Is this OK for trunk?
Ok. Thanks, Kyrill > > gcc/ChangeLog: > 2020-04-27 Andre Vieira <andre.simoesdiasvie...@arm.com> > > * config/arm/arm.c (output_move_neon): Only get the first operand, > if addr is PLUS.