This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix abuse of PENDING_STMTs by edge redirection, make it use a VEC instead of allocating a tree list
- From: Richard Guenther <rguenther at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Cc: dnovillo at google dot com
- Date: Mon, 7 Jan 2008 17:45:12 +0100 (CET)
- Subject: Re: [PATCH] Fix abuse of PENDING_STMTs by edge redirection, make it use a VEC instead of allocating a tree list
- References: <Pine.LNX.4.64.0801071707060.3891@zhemvz.fhfr.qr>
On Mon, 7 Jan 2008, Richard Guenther wrote:
>
> This makes ssa_redirect_edge use a separate field in struct edge (memory
> usage on 64bit systems unchanged, as I packed fields better with
> mapped locations) to store removed PHI args. With the testcase from
> PR34683 the top tree node allocation was performed by this function
> (for the build_tree_list call).
>
> I don't have separate numers for this patch and this testcase (if you
> want, I can produce them), but I'm working on some "low-hanging fruit"
The patch in its current form doesn't help but even makes things
somewhat worse. But I'm going to commit the struct edge_def field
re-ordering as obvious later.
Richard.