This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Release some SSA_NAMEs
- From: Jeffrey Law <law at redhat dot com>
- To: Robert Kennedy <jimbob at google dot com>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 03 Jan 2007 12:23:51 -0700
- Subject: Re: [PATCH] Release some SSA_NAMEs
- References: <17819.1958.382072.833220@whippen.corp.google.com>
- Reply-to: law at redhat dot com
On Tue, 2007-01-02 at 17:32 -0800, Robert Kennedy wrote:
> Attached is a patch suggested by Zdenek to release SSA_NAMEs that
> become disused as a result of basic block merging. More work appears
> to be required to release all virtual SSA_NAMEs that become disused,
> but in my testing this patch seems sufficient to be able to iterate
> simply over all real (non-virtual) SSA_NAMEs currently in use.
>
> Bootstrapped and tested on i686-pc-linux-gnu.
>
> -- Robert Kennedy
>
> ------------------------------
>
> 2007-01-02 Robert Kennedy <jimbob@google.com>
>
> * tree-cfg.c (tree_merge_blocks): Release SSA_NAME phi results
> whose definitions are deleted due to basic block merging.
Approved. Please install.
Thanks,
Jeff