r139755 - in /trunk/gcc: ChangeLog cp/ChangeLog...
hubicka@gcc.gnu.org
hubicka@gcc.gnu.org
Fri Aug 29 08:40:00 GMT 2008
Author: hubicka
Date: Fri Aug 29 08:40:01 2008
New Revision: 139755
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=139755
Log:
* cp-gimplify.c (cp_gimplify_expr): Add PRED_CONTINUE heuristic.
* tree-pass.h (pass_strip_predict_hints): Declare.
* predict.c (strip_builtin_expect): Rename to ...
(strip_predict_hints): ... this one; strip also GIMPLE_PREDICT.
(tree_bb_level_predictions): Do not remove GIMPLE_PREDICT.
(tree_estimate_probability): Do not strip builtin_expect.
(pass_strip_predict_hints): New pass.
* tree-inline.c (expand_call_inline): When inlining cold function, predict
it as unlikely.
* passes.c (init_optimization_passes): Add pass_strip_predict_hints.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/cp-gimplify.c
trunk/gcc/passes.c
trunk/gcc/predict.c
trunk/gcc/tree-inline.c
trunk/gcc/tree-pass.h
More information about the Gcc-cvs
mailing list