This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [tree-ssa] Memory usage in compute_immediate_uses
- From: Diego Novillo <dnovillo at redhat dot com>
- To: Daniel Jacobowitz <drow at mvista dot com>
- Cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Tue, 16 Sep 2003 15:38:57 -0400
- Subject: Re: [tree-ssa] Memory usage in compute_immediate_uses
- Organization: Red Hat Canada
- References: <20030916183326.GA8717@nevyn.them.org>
On Tue, 2003-09-16 at 14:33, Daniel Jacobowitz wrote:
> And just a question. Sometimes all the immediate_uses varrays are already
> allocated. Nothing ever removes from the immediate_uses list. So...
> doesn't any call to compute_immediate_uses after they've already been
> computed put duplicates on the list? It's not a problem now that CCP is the
> only thing using it, but while SSA-PRE was using it that must have hurt
> performance elsewhere.
>
Thanks for the analysis, Daniel. Since you have it instrumented now,
would you mind doing a run over an entire bootstrap + target library
build?
Another thing we could use is ggc_collect() after each pass through
optimize_function_tree().
Diego.