tree-ssa-loop.c (tree_vectorize): Return the result of vectorize_loops.
* tree-ssa-loop.c (tree_vectorize): Return the result of vectorize_loops. * tree-vectorizer.c (vectorize_loops): Return TODO_cleanup_cfg if anything changed. * tree-vectorizer.h (vectorize_loops): Declaration removed. * tree-flow.h (vectorize_loops): Declaration changed. From-SVN: r118731
This commit is contained in:
parent
911b3fdbe3
commit
4d2280f60d
5 changed files with 14 additions and 6 deletions
|
@ -1,3 +1,12 @@
|
|||
2006-11-12 Zdenek Dvorak <dvorakz@suse.cz>
|
||||
|
||||
* tree-ssa-loop.c (tree_vectorize): Return the result of
|
||||
vectorize_loops.
|
||||
* tree-vectorizer.c (vectorize_loops): Return TODO_cleanup_cfg
|
||||
if anything changed.
|
||||
* tree-vectorizer.h (vectorize_loops): Declaration removed.
|
||||
* tree-flow.h (vectorize_loops): Declaration changed.
|
||||
|
||||
2006-11-12 Zdenek Dvorak <dvorakz@suse.cz>
|
||||
|
||||
* tree-ssa-loop-prefetch.c (schedule_prefetches): Cleanup and improve
|
||||
|
|
|
@ -801,7 +801,7 @@ struct tree_niter_desc
|
|||
};
|
||||
|
||||
/* In tree-vectorizer.c */
|
||||
void vectorize_loops (struct loops *);
|
||||
unsigned vectorize_loops (struct loops *);
|
||||
extern bool vect_can_force_dr_alignment_p (tree, unsigned int);
|
||||
extern tree get_vectype_for_scalar_type (tree);
|
||||
|
||||
|
|
|
@ -189,8 +189,7 @@ struct tree_opt_pass pass_tree_unswitch =
|
|||
static unsigned int
|
||||
tree_vectorize (void)
|
||||
{
|
||||
vectorize_loops (current_loops);
|
||||
return 0;
|
||||
return vectorize_loops (current_loops);
|
||||
}
|
||||
|
||||
static bool
|
||||
|
|
|
@ -2151,7 +2151,7 @@ vect_is_simple_iv_evolution (unsigned loop_nb, tree access_fn, tree * init,
|
|||
|
||||
Entry Point to loop vectorization phase. */
|
||||
|
||||
void
|
||||
unsigned
|
||||
vectorize_loops (struct loops *loops)
|
||||
{
|
||||
unsigned int i;
|
||||
|
@ -2209,4 +2209,6 @@ vectorize_loops (struct loops *loops)
|
|||
destroy_loop_vec_info (loop_vinfo);
|
||||
loop->aux = NULL;
|
||||
}
|
||||
|
||||
return num_vectorized_loops > 0 ? TODO_cleanup_cfg : 0;
|
||||
}
|
||||
|
|
|
@ -345,8 +345,6 @@ extern bool supportable_widening_operation (enum tree_code, tree, tree,
|
|||
extern loop_vec_info new_loop_vec_info (struct loop *loop);
|
||||
extern void destroy_loop_vec_info (loop_vec_info);
|
||||
extern stmt_vec_info new_stmt_vec_info (tree stmt, loop_vec_info);
|
||||
/* Main driver. */
|
||||
extern void vectorize_loops (struct loops *);
|
||||
|
||||
|
||||
/** In tree-vect-analyze.c **/
|
||||
|
|
Loading…
Add table
Reference in a new issue