aboutsummaryrefslogtreecommitdiff
path: root/gcc/unroll.c
diff options
context:
space:
mode:
authorJan Hubicka <jh@suse.cz>2000-05-25 23:38:49 +0200
committerRichard Henderson <rth@gcc.gnu.org>2000-05-25 14:38:49 -0700
commit7f1c097d36682769f1f3f8fd72c7845d545104ed (patch)
treed95b18f4384b97d8d27889e062c1e3644fa14f68 /gcc/unroll.c
parentacad7ed35f094e0456334422554ef2558851367c (diff)
downloadgcc-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/unroll.c')
-rw-r--r--gcc/unroll.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/unroll.c b/gcc/unroll.c
index b33fb65..f8dfc03 100644
--- a/gcc/unroll.c
+++ b/gcc/unroll.c
@@ -2124,7 +2124,7 @@ copy_loop_body (copy_start, copy_end, map, exit_label, last_iteration,
/* If this used to be a conditional jump insn but whose branch
direction is now known, we must do something special. */
- if (condjump_p (insn) && !simplejump_p (insn) && map->last_pc_value)
+ if (any_condjump_p (insn) && onlyjump_p (insn) && map->last_pc_value)
{
#ifdef HAVE_cc0
/* If the previous insn set cc0 for us, delete it. */
@@ -3281,7 +3281,7 @@ reg_dead_after_loop (loop, reg)
{
if (GET_CODE (PATTERN (insn)) == RETURN)
break;
- else if (! simplejump_p (insn)
+ else if (!any_uncondjump_p (insn)
/* Prevent infinite loop following infinite loops. */
|| jump_count++ > 20)
return 0;