diff options
author | Teresa Johnson <tejohnson@google.com> | 2014-09-30 18:19:59 +0000 |
---|---|---|
committer | Teresa Johnson <tejohnson@gcc.gnu.org> | 2014-09-30 18:19:59 +0000 |
commit | 63e037f44b4feecc820be07eccd76ff43c1fbf33 (patch) | |
tree | be50f652bc5e038c0a3da95c9efb2964a3ed6c88 /libcpp | |
parent | dd5d5481bebf401a855eb362fa5ffc2101ba06f2 (diff) | |
download | gcc-63e037f44b4feecc820be07eccd76ff43c1fbf33.zip gcc-63e037f44b4feecc820be07eccd76ff43c1fbf33.tar.gz gcc-63e037f44b4feecc820be07eccd76ff43c1fbf33.tar.bz2 |
Redesign jump threading profile updates to avoid introducing insanities.
gcc:
2014-09-30 Teresa Johnson <tejohnson@google.com>
* tree-ssa-threadupdate.c (struct ssa_local_info_t): New
duplicate_blocks bitmap.
(remove_ctrl_stmt_and_useless_edges): Ditto.
(create_block_for_threading): Ditto.
(compute_path_counts): New function.
(update_profile): Ditto.
(recompute_probabilities): Ditto.
(update_joiner_offpath_counts): Ditto.
(freqs_to_counts_path): Ditto.
(clear_counts_path): Ditto.
(ssa_fix_duplicate_block_edges): Update profile info.
(ssa_create_duplicates): Pass new parameter.
(ssa_redirect_edges): Remove old profile update.
(thread_block_1): New duplicate_blocks bitmap,
remove old profile update.
(thread_single_edge): Pass new parameter.
gcc/testsuite:
2014-09-30 Teresa Johnson <tejohnson@google.com>
* testsuite/gcc.dg/tree-prof/20050826-2.c: New test.
* testsuite/gcc.dg/tree-prof/cmpsf-1.c: Ditto.
From-SVN: r215739
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions