Add memmove to value profiling

Programming / Compilers / GCC - marxin [138bc75d-0d04-0410-961f-82ee72b054a4] - 1 August 2018 10:21 EDT

2018-08-01 Martin Liska

PR value-prof/35543
- value-prof.c (interesting_stringop_to_profile_p): Simplify the code and add BUILT_IN_MEMMOVE. (gimple_stringops_transform): Likewise. 2018-08-01 Martin Liska

PR value-prof/35543
- gcc.dg/tree-prof/val-prof-7.c: Add __builtin_memmove.

e1fe4185168 Add memmove to value profiling.
gcc/ChangeLog | 7 +++++++
gcc/testsuite/ChangeLog | 5 +++++
gcc/testsuite/gcc.dg/tree-prof/val-prof-7.c | 10 ++++++++++
gcc/value-prof.c | 8 +++-----
4 files changed, 25 insertions(+), 5 deletions(-)

Upstream: gcc.gnu.org


  • Share