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][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



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