toplev.c (rest_of_compilation): Run branch shortening after reg-stack.

* toplev.c (rest_of_compilation): Run branch shortening after
        reg-stack.

From-SVN: r30978
This commit is contained in:
Jan Hubicka 1999-12-16 11:58:12 +01:00 committed by Jeff Law
parent 8cc24765ee
commit 5b772bbdc0
2 changed files with 9 additions and 6 deletions

View File

@ -1,5 +1,8 @@
Thu Dec 16 11:33:57 MET 1999 Jan Hubicka <hubicka@freesoft.cz>
* toplev.c (rest_of_compilation): Run branch shortening after
reg-stack.
* regclass.c (loop_depth): Remove
(scan_one_insn): Do not handle LOOP_NOTE insns.
(regclass): Go through basic blocks and set loop_cost

View File

@ -4393,12 +4393,6 @@ rest_of_compilation (decl)
ggc_collect ();
#endif
/* Shorten branches. */
TIMEVAR (shorten_branch_time,
{
shorten_branches (get_insns ());
});
#ifdef STACK_REGS
if (stack_reg_dump)
open_dump_file (".20.stack", decl_printable_name (decl, 2));
@ -4416,6 +4410,12 @@ rest_of_compilation (decl)
ggc_collect ();
#endif
/* Shorten branches. */
TIMEVAR (shorten_branch_time,
{
shorten_branches (get_insns ());
});
/* Now turn the rtl into assembler code. */
TIMEVAR (final_time,