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: Diego Novillo <dnovillo at redhat dot com>
- To: Jeff Law <law at redhat dot com>
- Cc: "gcc-patches at gcc dot gnu dot org" <gcc-patches at gcc dot gnu dot org>
- Date: 14 Jul 2003 16:15:33 -0400
- Subject: Re: [tree-ssa] must-alias analysis
- Organization: Red Hat Canada
- References: <200307141804.h6EI4PXX024750@speedy.slc.redhat.com>
On Mon, 2003-07-14 at 14:04, law@redhat.com wrote:
> Cool. Do we make sure and clear TREE_ADDRESSABLE on these variables?
>
Yup. tree-must-alias.c:promote_var. There's a FIXME note in there to
address a problem I was running into when flipping TREE_ADDRESSABLE on
arrays and structures. The RTL expanders tend to get upset whenever we
do that.
> You might look and see if you're calling put_var_into_stack and
> fixup_var_refs*. If you are, then we should fix that! :-)
>
OK.
> I've always wanted to have a quick and dirty DCE pass that could be
> run whenever we need it. tree-ssa-dce.c is too heavyweight for that
> kind of use.
>
Yeah, we will be doing DCE more often now. Several passes, including
the dominator opts tend to leave dead code that we may want to remove
quickly.
> We've *REALLY* got to fix our handling of NOP_EXPRs. REALLY REALLY REALLY.
>
Agreed.
Diego.