Sets cgraph_node count during AutoFDO annotation, otherwise execute_fixup_cfg
commitf6dff8d418e402b678e321af097c9473033d2fd8
authordehao <dehao@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 19 Sep 2013 20:26:30 +0000 (19 20:26 +0000)
committerdehao <dehao@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 19 Sep 2013 20:26:30 +0000 (19 20:26 +0000)
tree8368df189824976029554320a8b698841805c717
parent417b3570c3edaaa053bae87ed8ad6f54938a0ba2
Sets cgraph_node count during AutoFDO annotation, otherwise execute_fixup_cfg
will clear all the BB counts.

2013-09-19  Dehao Chen  <dehao@google.com>

* gcc/auto-profile.c (afdo_annotate_cfg): Sets cgraph_node count.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/google@202760 138bc75d-0d04-0410-961f-82ee72b054a4
gcc-4_8/gcc/auto-profile.c