predict.c (tree_estimate_probability_bb): Add LOCAL_ONLY.
authorJan Hubicka <hubicka@ucw.cz>
Tue, 6 Jun 2017 08:07:31 +0000 (10:07 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Tue, 6 Jun 2017 08:07:31 +0000 (08:07 +0000)
commit52261a21e8e74b98a943b2e9de1b9bef659bb28f
treef665b1228f58eeb2c1de5f21abf8a0c865ad3f74
parentce6ec23497cbe4cbac8165b927deaba220a523d8
predict.c (tree_estimate_probability_bb): Add LOCAL_ONLY.

* predict.c (tree_estimate_probability_bb): Add LOCAL_ONLY.
(tree_guess_outgoing_edge_probabilities): New.
* predict.h (tree_guess_outgoing_edge_probabilities): Declare.
* tree-cfg.c (gimple_find_sub_bbs): Propagate profile.

From-SVN: r248912
gcc/ChangeLog
gcc/predict.c
gcc/predict.h
gcc/tree-cfg.c