diff options
author | Jan Hubicka <jh@suse.cz> | 2000-05-25 23:38:49 +0200 |
---|---|---|
committer | Richard Henderson <rth@gcc.gnu.org> | 2000-05-25 14:38:49 -0700 |
commit | 7f1c097d36682769f1f3f8fd72c7845d545104ed (patch) | |
tree | d95b18f4384b97d8d27889e062c1e3644fa14f68 /gcc/flow.c | |
parent | acad7ed35f094e0456334422554ef2558851367c (diff) | |
download | gcc-7f1c097d36682769f1f3f8fd72c7845d545104ed.zip gcc-7f1c097d36682769f1f3f8fd72c7845d545104ed.tar.gz gcc-7f1c097d36682769f1f3f8fd72c7845d545104ed.tar.bz2 |
combine.c (try_combine): Use any_condjump_p...
* combine.c (try_combine): Use any_condjump_p, any_uncondjump_p
and pc_set at the place of simplejump_p and condjump_p.
* cse.c (record_jump_equiv): Likewise.
* emit-rtl.c (emit): Likewise.
* explow.c (find_next_ref): Likewise.
* flow.c (tidy_fallthru_edge): Likewise.
(init_propagate_block_info): Likewise.
* gcse.c (delete_null_pointer_checks): Likewise.
* ifcvt.c (cond_exec_get_condition, noce_get_condition,
dead_or_predicable): Likewise.
* integrate.c (copy_insn_list): Likewise.
* loop.c (scan_loop, verify_dominator, find_and_verify_loops,
for_each_insn_in_loop, check_dbra_loop, get_condition,
insert_bct, load_mems): Likewise.
* resource.c (find_dead_or_set_registers): Likewise.
* sibcalls.c (simplejump_p): Likewise.
* unroll.c (copy_loop_body, reg_dead_after_loop): Likewise.
From-SVN: r34175
Diffstat (limited to 'gcc/flow.c')
-rw-r--r-- | gcc/flow.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -2454,13 +2454,14 @@ tidy_fallthru_edge (e, b, c) note. */ q = b->end; if (GET_CODE (q) == JUMP_INSN - && (simplejump_p (q) + && onlyjump_p (q) + && (any_uncondjump_p (q) || (b->succ == e && e->succ_next == NULL))) { #ifdef HAVE_cc0 /* If this was a conditional jump, we need to also delete the insn that set cc0. */ - if (! simplejump_p (q) && condjump_p (q) && sets_cc0_p (PREV_INSN (q))) + if (any_condjump_p (q) && sets_cc0_p (PREV_INSN (q))) q = PREV_INSN (q); #endif @@ -3589,8 +3590,7 @@ init_propagate_block_info (bb, live, local_set, flags) from one side of the branch and not the other, record the register as conditionally dead. */ if (GET_CODE (bb->end) == JUMP_INSN - && condjump_p (bb->end) - && ! simplejump_p (bb->end)) + && any_condjump_p (bb->end)) { regset_head diff_head; regset diff = INITIALIZE_REG_SET (diff_head); |