This is the mail archive of the gcc-patches@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: [tree-ssa] CCP compile time improvements


On Thu, 2003-09-18 at 17:56, Andrew MacLeod wrote:

> This made another nice difference, dropping the time in CCP to about 12
> seconds, and the overall compile time to about 77 seconds.
> 
Very nice!

The patch is fine, thanks.  I would only change the return type of
cfg_blocks_empty() from int to bool and maybe rename it to
cfg_blocks_empty_p().

> There is a little more overhead in implementing a queue, so I did a
> compile time comparison of a phase of gcc bootstrapping. Time spent in
> CCP rose from about 5.5 cumulative seconds over all files to about 5.7
> seconds, so nothing I'd be too concerned about.
> 
I wonder how this affects the other big CCP users like POOMA.  I'll take
a look.


Diego.


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