This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: SSA_NAMES: should there be an unused, un-free limbo?


On Sun, 2006-12-24 at 09:08 +0100, Zdenek Dvorak wrote:

> 
> As expected, more complications than I believed appeared.  The changes
> to bsi_remove and release_defs would be basically sufficient for ssa
> names for real operands, however we are losing ssa names for virtual
> operands everywhere, and on several places relying on that they are not
> released.
> 
> One problem with the patch seems to be that it appears to increase
> compile times significantly (by some 4% on compiling preprocessed gcc
> sources), I did not investigate where does this slowdown come from.
If the slowdown was with an ENABLE_CHECKING compiler, then the extra
walk over the BBs and statements and the operands within the statements
could be a significant hunk.  

Finding a way to mark the names as part of an existing walk in the
verification step might help siginificantly.

I already approved a hunk of this patch that Robert submitted
separately.

jeff



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]