rd [mailto:richard.sandif...@arm.com]
> > Sent: Friday, June 12, 2020 3:48 PM
> > To: zhoukaipeng (A)
> > Cc: gcc-patches@gcc.gnu.org; rguent...@suse.de; am...@gcc.gnu.org;
> > rgue...@gcc.gnu.org
> > Subject: Re: [PATCH PR95199] vect: Remove extra variable created for
&
ge-
> From: Richard Sandiford [mailto:richard.sandif...@arm.com]
> Sent: Friday, June 12, 2020 3:48 PM
> To: zhoukaipeng (A)
> Cc: gcc-patches@gcc.gnu.org; rguent...@suse.de; am...@gcc.gnu.org;
> rgue...@gcc.gnu.org
> Subject: Re: [PATCH PR95199] vect: Remove extra variable created for
> m
"zhoukaipeng (A)" writes:
> Hi,
>
> This is a fix for pr95199.
> In vectorization, vinfo->ivexpr_map is supposed to catch those "IV base
> and/or step expressions". Just call cse_and_gimplify_to_preheader to handle
> gathering/scattering to avoid the extra variable.
>
> Bootstrap and tested on