From: H.J. Lu Date: Thu, 17 Dec 2020 19:00:02 +0000 (-0800) Subject: Update default_estimated_poly_value prototype in targhooks.h X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4a7a3110c70da8bad6978a36d9da3836538a0cc3;p=gcc.git Update default_estimated_poly_value prototype in targhooks.h commit 64432b680eab0bddbe9a4ad4798457cf6a14ad60 Author: Kyrylo Tkachov Date: Thu Dec 17 18:02:37 2020 +0000 vect, aarch64: Extend SVE vs Advanced SIMD costing decisions in vect_better_loop_vinfo_p changed default_estimated_poly_value to HOST_WIDE_INT default_estimated_poly_value (poly_int64 x, poly_value_estimate_kind) { return x.coeffs[0]; } Update default_estimated_poly_value prototype in targhooks.h to match it. * targhooks.h (default_estimated_poly_value): Updated. --- diff --git a/gcc/targhooks.h b/gcc/targhooks.h index 4542ba1b22d..4340a3b6222 100644 --- a/gcc/targhooks.h +++ b/gcc/targhooks.h @@ -221,7 +221,8 @@ extern int default_memory_move_cost (machine_mode, reg_class_t, bool); extern int default_register_move_cost (machine_mode, reg_class_t, reg_class_t); extern bool default_slow_unaligned_access (machine_mode, unsigned int); -extern HOST_WIDE_INT default_estimated_poly_value (poly_int64); +extern HOST_WIDE_INT default_estimated_poly_value (poly_int64, + poly_value_estimate_kind); extern bool default_use_by_pieces_infrastructure_p (unsigned HOST_WIDE_INT, unsigned int,