value-prof.c (interesting_stringop_to_profile): Do not return early for BUILT_IN_MEMPCPY.
authorUros Bizjak <ubizjak@gmail.com>
Sat, 10 May 2008 11:55:25 +0000 (13:55 +0200)
committerUros Bizjak <uros@gcc.gnu.org>
Sat, 10 May 2008 11:55:25 +0000 (13:55 +0200)
        * value-prof.c (interesting_stringop_to_profile): Do not
        return early for BUILT_IN_MEMPCPY.

From-SVN: r135141

gcc/ChangeLog
gcc/value-prof.c

index d9cb32655eee297d8bcef16343a7fbbf38d35f80..b62535aa8329fa5db82f9f970bf595ea852a400e 100644 (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
index 124a3c866b1a25361301d7f22be3aafb0ab8f7ca..33ecded88c39f7a52fe6d5844309fc1a90987ae6 100644 (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)