flow.c (mark_set_1, [...]): compute REG_FREQ using bb->frequency.
authorJan Hubicka <jh@suse.cz>
Fri, 22 Jun 2001 23:27:48 +0000 (01:27 +0200)
committerJan Hubicka <hubicka@gcc.gnu.org>
Fri, 22 Jun 2001 23:27:48 +0000 (23:27 +0000)
commit9401afe31a29a1b933a87eb5f11d20e950cae82d
tree1487bbd44b4837e8ff22896787a36be48e22e427
parent44f498639c0cdfd08c184f834ebae07b8dc51831
flow.c (mark_set_1, [...]): compute REG_FREQ using bb->frequency.

* flow.c (mark_set_1, attempt_auto_inc, mark_used_reg,
try_pre_increment_1): compute REG_FREQ using bb->frequency.

* regclass.c (loop_cost): Kill.
(frequency): New global variable.
(record_operand_costs): Replace loop_cost by frequency.
(scan_one_insn): Likewise.
(regclass): Likewise; set frequency according to bb->frequency.

* flow.c (split_edge): Set frequency.

From-SVN: r43523
gcc/ChangeLog
gcc/flow.c
gcc/regclass.c