diff options
author | Jan Hubicka <jh@suse.cz> | 2002-01-10 21:37:43 +0100 |
---|---|---|
committer | Jan Hubicka <hubicka@gcc.gnu.org> | 2002-01-10 20:37:43 +0000 |
commit | b446e5a266b232e701fd4a9a7bd48f0aab8fc2c5 (patch) | |
tree | 19471938dee687744538e8ca3cc2eb35fdb507c2 /gcc/cfglayout.c | |
parent | a01da83b2291abdccd8abe66eff604c50e3c71f0 (diff) | |
download | gcc-b446e5a266b232e701fd4a9a7bd48f0aab8fc2c5.zip gcc-b446e5a266b232e701fd4a9a7bd48f0aab8fc2c5.tar.gz gcc-b446e5a266b232e701fd4a9a7bd48f0aab8fc2c5.tar.bz2 |
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
Diffstat (limited to 'gcc/cfglayout.c')
-rw-r--r-- | gcc/cfglayout.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; } } |