Add memmove to value profiling.
authorMartin Liska <mliska@suse.cz>
Wed, 1 Aug 2018 10:21:49 +0000 (12:21 +0200)
committerMartin Liska <marxin@gcc.gnu.org>
Wed, 1 Aug 2018 10:21:49 +0000 (10:21 +0000)
commit181f2e99d142db78be636becfe6966fdbef61cb8
tree0d354dc225c4450a7c650abe655f83e23517f035
parent00d29b97d9ed9af957f896b8279ae85d2e16deb4
Add memmove to value profiling.

2018-08-01  Martin Liska  <mliska@suse.cz>

        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  <mliska@suse.cz>

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

From-SVN: r263201
gcc/ChangeLog
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/tree-prof/val-prof-7.c
gcc/value-prof.c