This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR89618
- From: Uros Bizjak <ubizjak at gmail dot com>
- To: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Cc: Richard Guenther <rguenther at suse dot de>, Jakub Jelinek <jakub at redhat dot com>
- Date: Sun, 10 Mar 2019 17:38:16 +0100
- Subject: Re: [PATCH] Fix PR89618
- References: <CAFULd4Z=VQZVxBFtReyPNSKfUzz450z=t4QmF5m=FZ478Kr58g@mail.gmail.com>
> This fixes a missed vectorization because loop_version (and in the end
> copy_loop_info) didn't copy IVDEP info (safelen) during if-conversion
> versioning.
>
> Bootstrap & regtest running on x86_64-unknown-linux-gnu.
>
> Even though this isn't a regression I'd like to fix this for GCC 9,
> it may appear as regression to the time we didn't do versioning in
> if-conversion for vectorization (but the testcase relies on AVX512
> support which is newer).
>
> Richard.
>
> 2019-04-07 Richard Biener <rguenther@suse.de>
>
> PR middle-end/89618
> * cfgloopmanip.c (copy_loop_info): Copy forgotten fields.
> * tree-inline.c (copy_loops): Simplify.
>
> * gcc.target/i386/pr89618.c: New testcase.
This patch caused PR89649 [1].
[1] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89649
Uros.