fix build of targets not implementing add_stmt_cost
C++ makes mismatched prototype and implementation OK. 2020-05-05 Richard Biener <rguenther@suse.de> * targhooks.h (default_add_stmt_cost): Add vec_info * parameter.
This commit is contained in:
parent
700d457295
commit
cfbbceed1d
@ -118,7 +118,8 @@ extern opt_machine_mode default_vectorize_related_mode (machine_mode,
|
|||||||
extern opt_machine_mode default_get_mask_mode (machine_mode);
|
extern opt_machine_mode default_get_mask_mode (machine_mode);
|
||||||
extern bool default_empty_mask_is_expensive (unsigned);
|
extern bool default_empty_mask_is_expensive (unsigned);
|
||||||
extern void *default_init_cost (class loop *);
|
extern void *default_init_cost (class loop *);
|
||||||
extern unsigned default_add_stmt_cost (void *, int, enum vect_cost_for_stmt,
|
extern unsigned default_add_stmt_cost (class vec_info *, void *, int,
|
||||||
|
enum vect_cost_for_stmt,
|
||||||
class _stmt_vec_info *, int,
|
class _stmt_vec_info *, int,
|
||||||
enum vect_cost_model_location);
|
enum vect_cost_model_location);
|
||||||
extern void default_finish_cost (void *, unsigned *, unsigned *, unsigned *);
|
extern void default_finish_cost (void *, unsigned *, unsigned *, unsigned *);
|
||||||
|
Loading…
Reference in New Issue
Block a user