mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-09 22:45:33 +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>
|
||||
|
||||
* 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);
|
||||
|
||||
/* If the BB's frequency is too low send BB to the next round. */
|
||||
if (bb->frequency < exec_th || bb->count < count_th
|
||||
|| ((round < N_ROUNDS - 1) && probably_never_executed_bb_p (bb)))
|
||||
if (round < N_ROUNDS - 1
|
||||
&& (bb->frequency < exec_th || bb->count < count_th
|
||||
|| probably_never_executed_bb_p (bb)))
|
||||
{
|
||||
int key = bb_to_key (bb);
|
||||
bbd[bb->index].heap = new_heap;
|
||||
|
Loading…
Reference in New Issue
Block a user