OSDN Git Service

2009-09-18 Neil Vachharajani <nvachhar@google.com>
authornvachhar <nvachhar@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 18 Sep 2009 18:39:43 +0000 (18:39 +0000)
committernvachhar <nvachhar@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 18 Sep 2009 18:39:43 +0000 (18:39 +0000)
commite0b41cd1ce535eebcf0af1830a75929622bd09d6
tree39d0456d275590dc01f2d0f2848dcd8a0614b050
parentb784f978f781a74c42432a6a6d637006593c6bf4
2009-09-18  Neil Vachharajani  <nvachhar@google.com>

    * value-prof.c (interesting_stringop_to_profile_p): Added output
    argument to indicate which parameter is the size parameter.
    * value-prof.c (gimple_stringop_fixed_value): Use
    INTERESTING_STRINGOP_TO_PROFILE_P to find size argument.
    * value-prof.c (gimple_stringops_transform): Update call sites to
    INTERESTING_STRINGOP_TO_PROFILE_P to reflect parameter change.
    * testsuite/gcc.dg/tree-prof/val-prof-7.c: Added test case.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@151864 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/testsuite/gcc.dg/tree-prof/val-prof-7.c [new file with mode: 0644]
gcc/value-prof.c