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
On Tue, 16 Sep 2003, Diego Novillo wrote:
> 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().
Have you tried to see if this works right now?
Last i checked, it didn't.
>
>
> Diego.
>
>