The diff looks weird, but this only removes the first if
(TARGET_HAVE_MVE... ) block and updates the variable 'addr' which is
only used in the consecutive(TARGET_HAVE_MVE ..) blocks. So it doesn't
change NEON codegen.
It's unfortunate the diff looks so complicated :(
Cheers,
Andre
On 07/04/2
> -Original Message-
> From: Andre Vieira (lists)
> Sent: 07 April 2020 11:35
> To: gcc-patches@gcc.gnu.org; Kyrylo Tkachov
> Subject: [PATCH][GCC][Arm]: MVE: Fix constant load pattern
>
> Hi,
>
> This patch fixes the constant load pattern for MVE, this was not
> accounting correctly