From 4e88c4809a3e050fccd21a4fd6248160d2d0376d Mon Sep 17 00:00:00 2001 From: Juzhe-Zhong Date: Sun, 26 Nov 2023 08:46:16 +0800 Subject: [PATCH] RISC-V: Fix typo Fix typo. Committed. gcc/ChangeLog: * config/riscv/riscv-avlprop.cc (alv_can_be_propagated_p): Fix typo. (avl_can_be_propagated_p): Ditto. (vlmax_ta_p): Ditto. --- gcc/config/riscv/riscv-avlprop.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/config/riscv/riscv-avlprop.cc b/gcc/config/riscv/riscv-avlprop.cc index 68b9af07d991..7a741c25d2b3 100644 --- a/gcc/config/riscv/riscv-avlprop.cc +++ b/gcc/config/riscv/riscv-avlprop.cc @@ -106,7 +106,7 @@ avlprop_type_to_str (enum avlprop_type type) /* Return true if the AVL of the INSN can be propagated. */ static bool -alv_can_be_propagated_p (rtx_insn *rinsn) +avl_can_be_propagated_p (rtx_insn *rinsn) { /* The index of "vrgather dest, source, index" may pick up the element which has index >= AVL, so we can't strip the elements @@ -118,7 +118,7 @@ static bool vlmax_ta_p (rtx_insn *rinsn) { return vlmax_avl_type_p (rinsn) && tail_agnostic_p (rinsn) - && alv_can_be_propagated_p (rinsn); + && avl_can_be_propagated_p (rinsn); } static machine_mode -- 2.47.2