This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: some tree-ssa vs mainline stats
- From: Steven Bosscher <s dot bosscher at student dot tudelft dot nl>
- To: law at redhat dot com
- Cc: Dan Nicolaescu <dann at ics dot uci dot edu>, gcc at gcc dot gnu dot org
- Date: Fri, 20 Jun 2003 00:28:52 +0200
- Subject: Re: some tree-ssa vs mainline stats
- References: <200306191438.h5JEcrw7028832@speedy.slc.redhat.com>
law@redhat.com wrote:
>Total number # of insns in .00.rtl
>generate-3.4.ii SSA 417674
>generate-3.4.ii HEAD 728202
>combine.i SSA 41528
>combine.i HEAD 35524
I don't know if the reduction in insns for generate.ii is due to tree-ssa
optimizing better or doing something like not inlining as well. I tend to
suspect the latter as most of the time it tends to produce more insns
than without tree-ssa.
Hmmm how would that be? The inlining heuristics are completely fixed by
the front end (via DECL_NUM_STMTS), so inlining on the tree-ssa branch
should be exactly the same as on mainline (The only difference is that
inline candidates can now have optimized function trees). So maybe the
tree-ssa optimizers help reduce the number of insns in this case.
Gr.
Steven