This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix PR89618


> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]