[Committed] RISC-V: Fix typo

Message ID 20231126004616.2690148-1-juzhe.zhong@rivai.ai
State Unresolved
Headers
Series [Committed] RISC-V: Fix typo |

Checks

Context Check Description
snail/gcc-patch-check warning Git am fail log

Commit Message

juzhe.zhong@rivai.ai Nov. 26, 2023, 12:46 a.m. UTC
  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(-)
  

Patch

diff --git a/gcc/config/riscv/riscv-avlprop.cc b/gcc/config/riscv/riscv-avlprop.cc
index 68b9af07d99..7a741c25d2b 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