From b4e04a78bbdd39021c1d643af309a24e48623796 Mon Sep 17 00:00:00 2001 From: Prathamesh Kulkarni Date: Mon, 30 May 2022 13:23:50 +0530 Subject: [ARM] Fix prototype for vec_perm_const hook. gcc/ChangeLog: * config/arm/arm.cc (arm_vectorize_vec_perm_const): Adjust prototype. --- gcc/config/arm/arm.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/config/arm/arm.cc b/gcc/config/arm/arm.cc index 70c2d50f0cc..7ecf7b74ffa 100644 --- a/gcc/config/arm/arm.cc +++ b/gcc/config/arm/arm.cc @@ -296,8 +296,8 @@ static int arm_cortex_a5_branch_cost (bool, bool); static int arm_cortex_m_branch_cost (bool, bool); static int arm_cortex_m7_branch_cost (bool, bool); -static bool arm_vectorize_vec_perm_const (machine_mode, rtx, rtx, rtx, - const vec_perm_indices &); +static bool arm_vectorize_vec_perm_const (machine_mode, machine_mode, rtx, rtx, + rtx, const vec_perm_indices &); static bool aarch_macro_fusion_pair_p (rtx_insn*, rtx_insn*); -- cgit v1.2.3