This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][RFC] A fix for PR37955, recompute aliasing after vectorization, use ref-all pointer as fallback
- From: Ira Rosen <IRAR at il dot ibm dot com>
- To: Richard Guenther <rguenther at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Mon, 10 Nov 2008 09:28:45 +0200
- Subject: Re: [PATCH][RFC] A fix for PR37955, recompute aliasing after vectorization, use ref-all pointer as fallback
gcc-patches-owner@gcc.gnu.org wrote on 07/11/2008 17:45:32:
>
> This fixes PR37955. Finally we recompute alias information after
> vectorization (because we may end up creating a pointer kind we
> do not have computed flow insensitive alias information yet).
> Instead of asserting that we never hit the situation that the
> vectorized stmts do not conflict with the scalar stmts from an
> aliasing perspective (which they certainly should - otherwise we
> just have generated wrong code), we fixup the pointer used for the
> access to be a ref-all pointer which will always conflict with
> the original statement.
>
> Of course the ref-all fixup is quite a hack at the place I put it.
> I will see if I can find a more suitable place ...
>
> Bootstrapped and tested on x86_64-unknown-linux-gnu.
>
> Comments / tests appreciated.
Tested on Cell SPU and powerpc64-suse-linux.
Ira