]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
RISC-V: Fix typo
authorJuzhe-Zhong <juzhe.zhong@rivai.ai>
Sun, 26 Nov 2023 00:46:16 +0000 (08:46 +0800)
committerPan Li <pan2.li@intel.com>
Sun, 26 Nov 2023 01:48:19 +0000 (09:48 +0800)
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

index 68b9af07d991f07397ffd45195e691c586a97aa6..7a741c25d2b3a6892b6930df64eaa5287fc69c32 100644 (file)
@@ -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