diff options
author | rakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-12-20 14:15:53 +0000 |
---|---|---|
committer | rakdver <rakdver@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-12-20 14:15:53 +0000 |
commit | f3c40e6dbeefd9efe87c6919805b669e3eb8b223 (patch) | |
tree | c833734dce382efda016f8ef594a2fe91177e6ef /gcc/tree-ssa-loop-manip.c | |
parent | e99f512dc08a5c316088d2df0d19665bcfd8b42e (diff) | |
download | gcc-f3c40e6dbeefd9efe87c6919805b669e3eb8b223.tar.gz |
* loop-unswitch.c (unswitch_loop): Update arguments of
duplicate_loop_to_header_edge call.
* tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Ditto.
* loop-unroll.c (peel_loop_completely, unroll_loop_constant_iterations,
unroll_loop_runtime_iterations, peel_loop_simple, unroll_loop_stupid):
Ditto.
* cfgloopmanip.c (loop_version): Ditto.
(duplicate_loop_to_header_edge): Change
type of to_remove to VEC(edge), remove n_to_remove argument.
* tree-ssa-loop-manip.c (tree_duplicate_loop_to_header_edge):
Change type of to_remove to VEC(edge), remove n_to_remove argument.
(tree_unroll_loop): Update arguments of
tree_duplicate_loop_to_header_edge call.
* cfghooks.c (cfg_hook_duplicate_loop_to_header_edge):
Change type of to_remove to VEC(edge), remove n_to_remove argument.
* cfghooks.h (struct cfg_hooks): Type of
cfg_hook_duplicate_loop_to_header_edge changed.
(cfg_hook_duplicate_loop_to_header_edge): Declaration changed.
* cfgloop.h (duplicate_loop_to_header_edge): Ditto.
* tree-flow.h (tree_duplicate_loop_to_header_edge): Ditto.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120074 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-ssa-loop-manip.c')
-rw-r--r-- | gcc/tree-ssa-loop-manip.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/tree-ssa-loop-manip.c b/gcc/tree-ssa-loop-manip.c index 22e5847b2f3..e68ca555166 100644 --- a/gcc/tree-ssa-loop-manip.c +++ b/gcc/tree-ssa-loop-manip.c @@ -562,8 +562,8 @@ copy_phi_node_args (unsigned first_new_block) bool tree_duplicate_loop_to_header_edge (struct loop *loop, edge e, unsigned int ndupl, sbitmap wont_exit, - edge orig, edge *to_remove, - unsigned int *n_to_remove, int flags) + edge orig, VEC (edge, heap) **to_remove, + int flags) { unsigned first_new_block; @@ -578,7 +578,7 @@ tree_duplicate_loop_to_header_edge (struct loop *loop, edge e, first_new_block = last_basic_block; if (!duplicate_loop_to_header_edge (loop, e, ndupl, wont_exit, - orig, to_remove, n_to_remove, flags)) + orig, to_remove, flags)) return false; /* Readd the removed phi args for e. */ @@ -853,7 +853,7 @@ tree_unroll_loop (struct loop *loop, unsigned factor, sbitmap_ones (wont_exit); ok = tree_duplicate_loop_to_header_edge (loop, loop_latch_edge (loop), factor - 1, - wont_exit, NULL, NULL, NULL, DLTHE_FLAG_UPDATE_FREQ); + wont_exit, exit, NULL, DLTHE_FLAG_UPDATE_FREQ); free (wont_exit); gcc_assert (ok); update_ssa (TODO_update_ssa); |