mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-10 07:04:27 +08:00
bb-reorder.c (find_traces_1_round): Do not send basic block to next round when we are in the last round.
* bb-reorder.c (find_traces_1_round): Do not send basic block to next round when we are in the last round. From-SVN: r68633
This commit is contained in:
parent
1af3e06bee
commit
a487649ce8
@ -1,3 +1,8 @@
|
|||||||
|
2003-06-28 Josef Zlomek <zlomekj@suse.cz>
|
||||||
|
|
||||||
|
* bb-reorder.c (find_traces_1_round): Do not send basic block
|
||||||
|
to next round when we are in the last round.
|
||||||
|
|
||||||
2003-06-28 Neil Booth <neil@daikokuya.co.uk>
|
2003-06-28 Neil Booth <neil@daikokuya.co.uk>
|
||||||
|
|
||||||
* Makefile.in: Update.
|
* Makefile.in: Update.
|
||||||
|
@ -374,8 +374,9 @@ find_traces_1_round (int branch_th, int exec_th, gcov_type count_th,
|
|||||||
fprintf (rtl_dump_file, "Getting bb %d\n", bb->index);
|
fprintf (rtl_dump_file, "Getting bb %d\n", bb->index);
|
||||||
|
|
||||||
/* If the BB's frequency is too low send BB to the next round. */
|
/* If the BB's frequency is too low send BB to the next round. */
|
||||||
if (bb->frequency < exec_th || bb->count < count_th
|
if (round < N_ROUNDS - 1
|
||||||
|| ((round < N_ROUNDS - 1) && probably_never_executed_bb_p (bb)))
|
&& (bb->frequency < exec_th || bb->count < count_th
|
||||||
|
|| probably_never_executed_bb_p (bb)))
|
||||||
{
|
{
|
||||||
int key = bb_to_key (bb);
|
int key = bb_to_key (bb);
|
||||||
bbd[bb->index].heap = new_heap;
|
bbd[bb->index].heap = new_heap;
|
||||||
|
Loading…
Reference in New Issue
Block a user