diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-06-17 22:05:47 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-06-17 22:05:47 +0000 |
commit | 4dd09cd053d8de897578324de5d26399126ad817 (patch) | |
tree | 771406ef318b419fb4f825bdb23a9db480bea5b8 /gcc/tree-vect-transform.c | |
parent | 38b660910705f81b525f218a4b5613f622242953 (diff) | |
download | gcc-4dd09cd053d8de897578324de5d26399126ad817.tar.gz |
* tree-vect-transform.c (vect_do_peeling_for_loop_bound): Use
initialize_original_copy_tables and free_original_copy_tables.
(vect_do_peeling_for_alignment): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@101140 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/tree-vect-transform.c')
-rw-r--r-- | gcc/tree-vect-transform.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/gcc/tree-vect-transform.c b/gcc/tree-vect-transform.c index 116f01a5fe4..4695e54ead4 100644 --- a/gcc/tree-vect-transform.c +++ b/gcc/tree-vect-transform.c @@ -1765,7 +1765,6 @@ static void vect_do_peeling_for_loop_bound (loop_vec_info loop_vinfo, tree *ratio, struct loops *loops) { - tree ni_name, ratio_mult_vf_name; struct loop *loop = LOOP_VINFO_LOOP (loop_vinfo); struct loop *new_loop; @@ -1778,6 +1777,8 @@ vect_do_peeling_for_loop_bound (loop_vec_info loop_vinfo, tree *ratio, if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC)) fprintf (vect_dump, "=== vect_do_peeling_for_loop_bound ==="); + initialize_original_copy_tables (); + /* Generate the following variables on the preheader of original loop: ni_name = number of iteration the original loop executes @@ -1816,7 +1817,7 @@ vect_do_peeling_for_loop_bound (loop_vec_info loop_vinfo, tree *ratio, /* After peeling we have to reset scalar evolution analyzer. */ scev_reset (); - return; + free_original_copy_tables (); } @@ -2000,6 +2001,8 @@ vect_do_peeling_for_alignment (loop_vec_info loop_vinfo, struct loops *loops) if (vect_print_dump_info (REPORT_DETAILS, UNKNOWN_LOC)) fprintf (vect_dump, "=== vect_do_peeling_for_alignment ==="); + initialize_original_copy_tables (); + ni_name = vect_build_loop_niters (loop_vinfo); niters_of_prolog_loop = vect_gen_niters_for_prolog_loop (loop_vinfo, ni_name); @@ -2023,7 +2026,7 @@ vect_do_peeling_for_alignment (loop_vec_info loop_vinfo, struct loops *loops) /* After peeling we have to reset scalar evolution analyzer. */ scev_reset (); - return; + free_original_copy_tables (); } |