On Thu, 28 Apr 2022, Andre Vieira (lists) wrote:

> 
> On 27/04/2022 15:03, Richard Biener wrote:
> > On Wed, 27 Apr 2022, Richard Biener wrote:
> >
> >> The following makes sure to take into account prologue peeling
> >> when trying to narrow down the maximum number of iterations
> >> computed for the epilogue of a vectorized epilogue.
> >>
> >> Bootstrap & regtest running on x86_64-unknown-linux-gnu.
> >>
> >> I did not verify this solves the original aarch64 testcase yet
> >> but it looks like a simpler fix and explains why I don't see
> >> the issue on the 11 branch which does otherwise the same transforms.
> > Can you verify the original aarch64 case is fixed and maybe add
> > a testcase for that to gcc.target/aarch64?
> 
> Your committed patch fixes the original testcase, but I'll stick to the
> testcase you have as it's less fiddly, but I will add the options required to
> make it originally fail for aarch64.
> 
> Is the attached patch OK for trunk?

Yes.

Thanks,
Richard.

> 
>     gcc/ChangeLog:
> 
>             PR tree-optimization/105219
>             * testsuite/gcc.dg/vect/pr105219.c: Add aarch64 target option.
> 

-- 
Richard Biener <rguent...@suse.de>
SUSE Software Solutions Germany GmbH, Maxfeldstrasse 5, 90409 Nuernberg,
Germany; GF: Ivo Totev; HRB 36809 (AG Nuernberg)

Reply via email to