From b446e5a266b232e701fd4a9a7bd48f0aab8fc2c5 Mon Sep 17 00:00:00 2001 From: Jan Hubicka Date: Thu, 10 Jan 2002 21:37:43 +0100 Subject: basic-block.h (update_br_prob_note): Declare. * basic-block.h (update_br_prob_note): Declare. * cfgcleanup.c (try_simplify_condjump): Call update_br_prob_note. (try_forward_edges): Care negative frequencies and update note. (outgoing_edges_match): Tweek conditional merging heuristics. (try_crossjump_to_edge): use update_br_prob_note. * cfglayout.c (fixup_reorder_chain): Likewise. * cfrtl.c (update_br_prob_note): New. * ifcvt.c (dead_or_predicable): Call update_br_prob_note. * i386.c (ix86_decompose_address): Return -1 if address contains shift. (legitimate_address_p): Require ix86_decompose_address to return 1. * gcse.c (hash_scan_set): Use CONSTANT_INSN_P. (cprop_insn): Likewise. From-SVN: r48750 --- gcc/cfglayout.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gcc/cfglayout.c') diff --git a/gcc/cfglayout.c b/gcc/cfglayout.c index ef5206b..329e9f8 100644 --- a/gcc/cfglayout.c +++ b/gcc/cfglayout.c @@ -412,6 +412,7 @@ fixup_reorder_chain () { e_fall->flags &= ~EDGE_FALLTHRU; e_taken->flags |= EDGE_FALLTHRU; + update_br_prob_note (bb); e = e_fall, e_fall = e_taken, e_taken = e; } } @@ -423,6 +424,7 @@ fixup_reorder_chain () { e_fall->flags &= ~EDGE_FALLTHRU; e_taken->flags |= EDGE_FALLTHRU; + update_br_prob_note (bb); continue; } } -- cgit v1.1