This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR60012
- From: Jakub Jelinek <jakub at redhat dot com>
- To: Richard Biener <rguenther at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 3 Feb 2014 16:46:04 +0100
- Subject: Re: [PATCH] Fix PR60012
- Authentication-results: sourceware.org; auth=none
- References: <alpine dot LSU dot 2 dot 11 dot 1402031637450 dot 29326 at zhemvz dot fhfr dot qr>
- Reply-to: Jakub Jelinek <jakub at redhat dot com>
On Mon, Feb 03, 2014 at 04:42:39PM +0100, Richard Biener wrote:
>
> This fixes PR60012 by considering TBAA for all DDRs in vectorizer
> dependence analysis because the vectorizer can rely on at least
> covering two scalar iterations.
>
> It _should_ be a regression from 4.4 but I can't make a testcase
> that has two TBAA disambiguatable types and is vectorized with 4.4
> it seems ...
>
> Bootstrapped and tested on x86_64-unknown-linux-gnu, ok at this stage?
Ok.
> 2014-02-03 Richard Biener <rguenther@suse.de>
>
> PR tree-optimization/60012
> * tree-vect-data-refs.c (vect_analyze_data_ref_dependence): Apply
> TBAA disambiguation to all DDRs.
>
> * gcc.dg/vect/pr60012.c: New testcase.
Jakub