value-prof.c (interesting_stringop_to_profile): Do not return early for BUILT_IN_MEMPCPY.

* value-prof.c (interesting_stringop_to_profile): Do not
        return early for BUILT_IN_MEMPCPY.

From-SVN: r135141
This commit is contained in:
Uros Bizjak 2008-05-10 13:55:25 +02:00 committed by Uros Bizjak
parent 372b05fcbb
commit d35910bf73
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2008-05-10 Uros Bizjak <ubizjak@gmail.com>
* value-prof.c (interesting_stringop_to_profile): Do not
return early for BUILT_IN_MEMPCPY.
2008-05-09 H.J. Lu <hongjiu.lu@intel.com>
* calls.c (expand_call): Don't use callgraph to increase

View File

@ -1209,8 +1209,8 @@ interesting_stringop_to_profile_p (tree fndecl, tree call)
{
enum built_in_function fcode = DECL_FUNCTION_CODE (fndecl);
if (fcode != BUILT_IN_MEMSET && fcode != BUILT_IN_MEMCPY
&& fcode != BUILT_IN_BZERO)
if (fcode != BUILT_IN_MEMCPY && fcode != BUILT_IN_MEMPCPY
&& fcode != BUILT_IN_MEMSET && fcode != BUILT_IN_BZERO)
return false;
switch (fcode)