summaryrefslogtreecommitdiff
path: root/gcc/loop-unswitch.c
diff options
context:
space:
mode:
authorrakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4>2007-01-14 20:07:42 +0000
committerrakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4>2007-01-14 20:07:42 +0000
commit99b6a86ea2247b631cda7ebef623d925fae5ce20 (patch)
tree18a27a7ce6c6eb581f08c16c0df3ef47d68304a3 /gcc/loop-unswitch.c
parent2a77e260cfe366b8e2af8aa706debe124abd3f07 (diff)
downloadgcc-99b6a86ea2247b631cda7ebef623d925fae5ce20.tar.gz
* loop-unswitch.c (unswitch_loop): Do not call fix_loop_placement.
* cfgloopmanip.c (fix_loop_placement): Made static. Use get_loop_exit_edges. Changed return type to bool. * cfgloop.h (fix_loop_placement): Declaration removed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120782 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/loop-unswitch.c')
-rw-r--r--gcc/loop-unswitch.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/loop-unswitch.c b/gcc/loop-unswitch.c
index b0e2aaa12be..05530adcfaf 100644
--- a/gcc/loop-unswitch.c
+++ b/gcc/loop-unswitch.c
@@ -458,11 +458,6 @@ unswitch_loop (struct loop *loop, basic_block unswitch_on, rtx cond, rtx cinsn)
remove_path (true_edge);
remove_path (false_edge);
- /* One of created loops do not have to be subloop of the outer loop now,
- so fix its placement in loop data structure. */
- fix_loop_placement (loop);
- fix_loop_placement (nloop);
-
/* Preserve the simple loop preheaders. */
split_edge (loop_preheader_edge (loop));
split_edge (loop_preheader_edge (nloop));