Follow-on patch to r197595 to complete the replacement of truncating divides
commit7007400071d3afc1525ca1691c93ae77c509349f
authortejohnson <tejohnson@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 2 May 2013 13:20:47 +0000 (2 13:20 +0000)
committertejohnson <tejohnson@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 2 May 2013 13:20:47 +0000 (2 13:20 +0000)
treee9eaf4c390a4ad7d8e3e0600f9736eb3868af2dc
parent4817649a7d71cac4236204ad8eecc15dee6bd6d9
Follow-on patch to r197595 to complete the replacement of truncating divides
in profile scaling code with rounding divide equivalents using helper routines
in basic-block.h.

In addition to bootstrap and profiledbootstrap builds and tests (with and
without LTO), I built and tested performance of the SPEC cpu2006 benchmarks
with FDO on a Nehalem system. I didn't see any performance changes that
looked significant.

2013-05-02  Teresa Johnson  <tejohnson@google.com>

* loop-unswitch.c (unswitch_loop): Use helper routines with rounding
        divides.
* cfg.c (update_bb_profile_for_threading): Ditto.
* tree-inline.c (copy_bb): Ditto.
(copy_edges_for_bb): Ditto.
(initialize_cfun): Ditto.
(copy_cfg_body): Ditto.
(expand_call_inline): Ditto.
* ipa-inline-analysis.c (estimate_edge_size_and_time): Ditto.
(estimate_node_size_and_time): Ditto.
(inline_merge_summary): Ditto.
* cgraphclones.c (cgraph_clone_edge): Ditto.
(cgraph_clone_node): Ditto.
* sched-rgn.c (compute_dom_prob_ps): Ditto.
(compute_trg_info): Ditto.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198532 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/cfg.c
gcc/cgraphclones.c
gcc/ipa-inline-analysis.c
gcc/loop-unswitch.c
gcc/sched-rgn.c
gcc/tree-inline.c