cfgexpand.c (add_reg_br_prob_note): New function.
authorJan Hubicka <jh@suse.cz>
Thu, 23 Sep 2004 00:50:37 +0000 (02:50 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Thu, 23 Sep 2004 00:50:37 +0000 (00:50 +0000)
commite53de54da399b14c108c994a81c047502cf4a513
treeb424c4477beb895f8bc28d96a8c822154f4b71bc
parentd0259e11e7c68f2dbc212e5a31efc2a02dd79add
cfgexpand.c (add_reg_br_prob_note): New function.

* cfgexpand.c (add_reg_br_prob_note): New function.
(expand_gimple_cond_expr): Use it.
(tree_expand_cfg): No longer kill the profile.
* cfgrt.c (rtl_verify_flow_info_1): Check profile consistency
only if it is present.
* passes.c (rest_of_handle_loop_optimize): Kill the profile.
* predict.c (combine_predictions_for_insn): Set the probabilities
based on REG_BR_PROB note if present.
* predict.c (branch_prob): Profile is read only with
flag_branch_probabilities.

From-SVN: r87910
gcc/ChangeLog
gcc/cfgexpand.c
gcc/cfgrtl.c
gcc/passes.c
gcc/predict.c
gcc/profile.c