Commit e22857eb by Kazu Hirata Committed by Kazu Hirata

flow.c (recompute_reg_usage): Remove all arguments.

	* flow.c (recompute_reg_usage): Remove all arguments.
	* passes.c (rest_of_compilation): Adjust the call to
	recompute_reg_usage.
	* rtl.h: Adjust the prototype for recompute_reg_usage.

From-SVN: r95058
parent 2e09ee33
...@@ -5,6 +5,11 @@ ...@@ -5,6 +5,11 @@
* passes.c (rest_of_handle_loop_optimize): Adjust the call to * passes.c (rest_of_handle_loop_optimize): Adjust the call to
find_basic_blocks. find_basic_blocks.
* flow.c (recompute_reg_usage): Remove all arguments.
* passes.c (rest_of_compilation): Adjust the call to
recompute_reg_usage.
* rtl.h: Adjust the prototype for recompute_reg_usage.
2005-02-14 Daniel Berlin <dberlin@dberlin.org> 2005-02-14 Daniel Berlin <dberlin@dberlin.org>
* tree-dump.c (dump_files): Update to reflect new member * tree-dump.c (dump_files): Update to reflect new member
......
...@@ -4205,17 +4205,11 @@ debug_regset (regset r) ...@@ -4205,17 +4205,11 @@ debug_regset (regset r)
register allocators to prioritize pseudos for allocation to hard regs. register allocators to prioritize pseudos for allocation to hard regs.
More accurate reference counts generally lead to better register allocation. More accurate reference counts generally lead to better register allocation.
F is the first insn to be scanned.
LOOP_STEP denotes how much loop_depth should be incremented per
loop nesting level in order to increase the ref count more for
references in a loop.
It might be worthwhile to update REG_LIVE_LENGTH, REG_BASIC_BLOCK and It might be worthwhile to update REG_LIVE_LENGTH, REG_BASIC_BLOCK and
possibly other information which is used by the register allocators. */ possibly other information which is used by the register allocators. */
void void
recompute_reg_usage (rtx f ATTRIBUTE_UNUSED, int loop_step ATTRIBUTE_UNUSED) recompute_reg_usage (void)
{ {
allocate_reg_life_data (); allocate_reg_life_data ();
/* distribute_notes in combiner fails to convert some of the REG_UNUSED notes /* distribute_notes in combiner fails to convert some of the REG_UNUSED notes
......
...@@ -1639,7 +1639,7 @@ rest_of_compilation (void) ...@@ -1639,7 +1639,7 @@ rest_of_compilation (void)
/* Any of the several passes since flow1 will have munged register /* Any of the several passes since flow1 will have munged register
lifetime data a bit. We need it to be up to date for scheduling lifetime data a bit. We need it to be up to date for scheduling
(see handling of reg_known_equiv in init_alias_analysis). */ (see handling of reg_known_equiv in init_alias_analysis). */
recompute_reg_usage (get_insns (), !optimize_size); recompute_reg_usage ();
#ifdef INSN_SCHEDULING #ifdef INSN_SCHEDULING
if (optimize > 0 && flag_modulo_sched) if (optimize > 0 && flag_modulo_sched)
......
...@@ -2019,7 +2019,7 @@ extern rtx move_by_pieces (rtx, rtx, unsigned HOST_WIDE_INT, ...@@ -2019,7 +2019,7 @@ extern rtx move_by_pieces (rtx, rtx, unsigned HOST_WIDE_INT,
unsigned int, int); unsigned int, int);
/* In flow.c */ /* In flow.c */
extern void recompute_reg_usage (rtx, int); extern void recompute_reg_usage (void);
extern int initialize_uninitialized_subregs (void); extern int initialize_uninitialized_subregs (void);
extern void delete_dead_jumptables (void); extern void delete_dead_jumptables (void);
extern void print_rtl_with_bb (FILE *, rtx); extern void print_rtl_with_bb (FILE *, rtx);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment