aboutsummaryrefslogtreecommitdiff
path: root/gcc/cfgcleanup.c
diff options
context:
space:
mode:
authorJosef Zlomek <zlomekj@suse.cz>2003-02-10 20:18:42 +0100
committerJosef Zlomek <zlomek@gcc.gnu.org>2003-02-10 19:18:42 +0000
commitaa634f11e65d7630b96742a4f3d187d920e0c87e (patch)
treedccf4963c7714b07bfd684853d4bc9111711b32d /gcc/cfgcleanup.c
parent17edbda5792c20f9f11d77c829d5dae9ad9b0e24 (diff)
downloadgcc-aa634f11e65d7630b96742a4f3d187d920e0c87e.zip
gcc-aa634f11e65d7630b96742a4f3d187d920e0c87e.tar.gz
gcc-aa634f11e65d7630b96742a4f3d187d920e0c87e.tar.bz2
Makefile.in (bb-reorder.o): Add dependency on $(FIBHEAP_H).
* Makefile.in (bb-reorder.o): Add dependency on $(FIBHEAP_H). * bb-reorder.c (make_reorder_chain): Deleted. (make_reorder_chain_1): Deleted. (find_traces): New function. (rotate_loop): New function. (mark_bb_visited): New function. (find_traces_1_round): New function. (copy_bb): New function. (bb_to_key): New function. (better_edge_p): New function. (connect_traces): New function. (copy_bb_p): New function. (get_uncond_jump_length): New function. (reorder_basic_blocks): Use new functions (Software Trace Cache). * cfgcleanup.c (outgoing_edges_match): Enable crossjumping across loop boundaries. From-SVN: r62645
Diffstat (limited to 'gcc/cfgcleanup.c')
-rw-r--r--gcc/cfgcleanup.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/gcc/cfgcleanup.c b/gcc/cfgcleanup.c
index 19e9fd5..2a23cc0 100644
--- a/gcc/cfgcleanup.c
+++ b/gcc/cfgcleanup.c
@@ -1143,17 +1143,6 @@ outgoing_edges_match (mode, bb1, bb2)
|| !onlyjump_p (bb2->end))
return false;
- /* Do not crossjump across loop boundaries. This is a temporary
- workaround for the common scenario in which crossjumping results
- in killing the duplicated loop condition, making bb-reorder rotate
- the loop incorrectly, leaving an extra unconditional jump inside
- the loop.
-
- This check should go away once bb-reorder knows how to duplicate
- code in this case or rotate the loops to avoid this scenario. */
- if (bb1->loop_depth != bb2->loop_depth)
- return false;
-
b1 = BRANCH_EDGE (bb1);
b2 = BRANCH_EDGE (bb2);
f1 = FALLTHRU_EDGE (bb1);