tree-vectorizer.h (vect_get_single_scalar_iteraion_cost): Fix typo.
* tree-vectorizer.h (vect_get_single_scalar_iteraion_cost): Fix typo. * tree-vect-loop.c (vect_get_single_scalar_iteraion_cost): Likewise. (vect_estimate_min_profitable_iter): Adjust to above fix. * tree-vect-data-refs.c (vect_peeling_hash_get_lowest_cost): Likewise. From-SVN: r195148
This commit is contained in:
parent
53662a44d5
commit
77fd7d7410
|
@ -1,3 +1,10 @@
|
|||
2013-01-14 Eric Botcazou <ebotcazou@adacore.com>
|
||||
|
||||
* tree-vectorizer.h (vect_get_single_scalar_iteraion_cost): Fix typo.
|
||||
* tree-vect-loop.c (vect_get_single_scalar_iteraion_cost): Likewise.
|
||||
(vect_estimate_min_profitable_iter): Adjust to above fix.
|
||||
* tree-vect-data-refs.c (vect_peeling_hash_get_lowest_cost): Likewise.
|
||||
|
||||
2013-01-11 Michael Meissner <meissner@linux.vnet.ibm.com>
|
||||
|
||||
Backport from mainline
|
||||
|
|
|
@ -1296,7 +1296,7 @@ vect_peeling_hash_get_lowest_cost (void **slot, void *data)
|
|||
}
|
||||
|
||||
outside_cost += vect_get_known_peeling_cost (loop_vinfo, elem->npeel, &dummy,
|
||||
vect_get_single_scalar_iteraion_cost (loop_vinfo));
|
||||
vect_get_single_scalar_iteration_cost (loop_vinfo));
|
||||
|
||||
if (inside_cost < min->inside_cost
|
||||
|| (inside_cost == min->inside_cost && outside_cost < min->outside_cost))
|
||||
|
|
|
@ -2386,7 +2386,7 @@ vect_force_simple_reduction (loop_vec_info loop_info, gimple phi,
|
|||
|
||||
/* Calculate the cost of one scalar iteration of the loop. */
|
||||
int
|
||||
vect_get_single_scalar_iteraion_cost (loop_vec_info loop_vinfo)
|
||||
vect_get_single_scalar_iteration_cost (loop_vec_info loop_vinfo)
|
||||
{
|
||||
struct loop *loop = LOOP_VINFO_LOOP (loop_vinfo);
|
||||
basic_block *bbs = LOOP_VINFO_BBS (loop_vinfo);
|
||||
|
@ -2619,7 +2619,7 @@ vect_estimate_min_profitable_iters (loop_vec_info loop_vinfo)
|
|||
}
|
||||
}
|
||||
|
||||
scalar_single_iter_cost = vect_get_single_scalar_iteraion_cost (loop_vinfo);
|
||||
scalar_single_iter_cost = vect_get_single_scalar_iteration_cost (loop_vinfo);
|
||||
|
||||
/* Add additional cost for the peeled instructions in prologue and epilogue
|
||||
loop.
|
||||
|
|
|
@ -916,7 +916,7 @@ extern int vect_estimate_min_profitable_iters (loop_vec_info);
|
|||
extern tree get_initial_def_for_reduction (gimple, tree, tree *);
|
||||
extern int vect_min_worthwhile_factor (enum tree_code);
|
||||
extern int vect_get_known_peeling_cost (loop_vec_info, int, int *, int);
|
||||
extern int vect_get_single_scalar_iteraion_cost (loop_vec_info);
|
||||
extern int vect_get_single_scalar_iteration_cost (loop_vec_info);
|
||||
|
||||
/* In tree-vect-slp.c. */
|
||||
extern void vect_free_slp_instance (slp_instance);
|
||||
|
|
Loading…
Reference in New Issue