Re: [GOOGLE] Add AutoFDO based indirect call value profiling to GCC

2013-04-17 Thread Xinliang David Li
https://codereview.appspot.com/8814043/diff/1/gcc/auto-profile.c File gcc/auto-profile.c (right): https://codereview.appspot.com/8814043/diff/1/gcc/auto-profile.c#newcode161 gcc/auto-profile.c:161: }; Why not sharing the same hist_type enum in value-prof.h? https://codereview.appspot.com/8814043/

[GOOGLE] Add AutoFDO based indirect call value profiling to GCC

2013-04-16 Thread Dehao Chen
This patch implements indirect call promotion for AutoFDO. Bootstrapped and passed gcc regression tests. Is it okay for gcc-4_7 branch? Thanks, Dehao http://codereview.appspot.com/8814043 diff --git a/gcc/Makefile.in b/gcc/Makefile.in index d17b250..c217846 100644 --- a/gcc/Makefile.in +++ b/g