This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] must-alias analysis
- From: Andrew MacLeod <amacleod at redhat dot com>
- To: Diego Novillo <dnovillo at redhat dot com>
- Cc: gcc-patches <gcc-patches at gcc dot gnu dot org>
- Date: 14 Jul 2003 09:14:04 -0400
- Subject: Re: [tree-ssa] must-alias analysis
- References: <1058187784.4973.106.camel@frodo.toronto.redhat.com>
On Mon, 2003-07-14 at 09:03, Diego Novillo wrote:
> There are a few things that I'd like to fix in the current
> implementation.
>
> We now do a full DCE pass right after SSA construction just to get the
> 'PTR = &VAR' statements removed. We could probably get by with a very
> simplistic pass that just looked for these assignments. It would be
> less powerful, but it would catch most of the cases we are interested
> in.
Im not sure I'd worry about this one just yet. If we do end up doing any
scalarization of component refs or 'localization' of global variables, I
suspect we'll be exposing some other dead code which would be beneficial
to remove at this time too. We'll see :-)
DCE ought not be very expensive anyway...
Andrew