Speed-up indirect-call instrumentation
commit696ee0c705c1adc91fe5bbb33965ec55df191ddc
authormarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 Jun 2017 12:54:53 +0000 (9 12:54 +0000)
committermarxin <marxin@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 9 Jun 2017 12:54:53 +0000 (9 12:54 +0000)
treee9a69c8567c8e3789ca0f89d0560978b67d5d97b
parentdc11a00c390b61f607a7c662a5f5877c86883e4c
Speed-up indirect-call instrumentation

2017-06-09  Martin Liska  <mliska@suse.cz>

* tree-profile.c (gimple_gen_ic_profiler): Update comment.
(gimple_gen_ic_func_profiler): Emit direct comparison
of __gcov_indirect_call_callee with NULL.
(gimple_gen_time_profiler): Change probability from
PROB_VERY_UNLIKELY to PROB_UNLIKELY.
2017-06-09  Martin Liska  <mliska@suse.cz>

* libgcov-profiler.c (__gcov_indirect_call_profiler_v2):
Reset __gcov_indirect_call_callee to NULL.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@249058 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/tree-profile.c
libgcc/ChangeLog
libgcc/libgcov-profiler.c