predict.c (maybe_hot_count_p): Use threshold from profiled working set instead of...
authorTeresa Johnson <tejohnson@google.com>
Fri, 23 Nov 2012 08:49:43 +0000 (08:49 +0000)
committerJan Hubicka <hubicka@gcc.gnu.org>
Fri, 23 Nov 2012 08:49:43 +0000 (08:49 +0000)
commitb131b583978ceadbe54325be3a09710a48481df2
treec3a33c43f2e5098a3927078c4b315cd7408551cc
parent3409d40e47ed30f1b6dca3fa074c4094efbf5b50
predict.c (maybe_hot_count_p): Use threshold from profiled working set instead of hard limit.

* predict.c (maybe_hot_count_p): Use threshold from profiled working
set instead of hard limit.
(cgraph_maybe_hot_edge_p): Invoke maybe_hot_count_p() instead of
directly checking limit.
* params.def (HOT_BB_COUNT_FRACTION): Remove.
(HOT_BB_COUNT_WS_PERMILLE): New parameter.
* invoke.texi (hot-bb-count-fraction): Remove.
(hot-bb-count-ws-permille): Document.

Co-Authored-By: Jan Hubicka <jh@suse.cz>
From-SVN: r193747
gcc/ChangeLog
gcc/doc/invoke.texi
gcc/params.def
gcc/predict.c