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: Patch [tree-profiling]: propagate profiling in loop headers


Hello,

> 2004-12-02  Dale Johannesen  <dalej@apple.com>
> 
>         * basic-block.h (scale_bbs_frequencies_int):  New declaration.
>         (scale_bbs_frequencies_gcov_type):  New declaration.
>         * cfgloopmanip.c (scale_bbs_frequencies):  Renamed to
>         scale_bbs_frequencies_int and moved to cfg.c.
>         (scale_loop_frequencies):  Adjust call to it.
>         (duplicate_loop_to_header_edge):  Adjust calls to it.
>         * cfg.c (RDIV): New (copied from cfgloopmanip.c).
>         (scale_bbs_frequencies_int):  Moved from cfgloopmanip.c.
>         (scale_bbs_frequencies_gcov_type):  New.
>         * tree-ssa-loop-ch.c (copy_loop_headers):  Propagate profiling 
> info.

this seems OK to me (I have spoken with Honza, feel free to commit this
to the tree-profiling branch).

Zdenek


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