aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJuzhe-Zhong <juzhe.zhong@rivai.ai>2023-11-26 08:46:16 +0800
committerPan Li <pan2.li@intel.com>2023-11-26 09:48:19 +0800
commit4e88c4809a3e050fccd21a4fd6248160d2d0376d (patch)
tree79c1043376bcc45629f792eed873d14cd718d10e /gcc
parentb28229b35a77bdaacef5e0b276bac0c7ca6344f9 (diff)
downloadgcc-4e88c4809a3e050fccd21a4fd6248160d2d0376d.zip
gcc-4e88c4809a3e050fccd21a4fd6248160d2d0376d.tar.gz
gcc-4e88c4809a3e050fccd21a4fd6248160d2d0376d.tar.bz2
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.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/riscv/riscv-avlprop.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/riscv/riscv-avlprop.cc b/gcc/config/riscv/riscv-avlprop.cc
index 68b9af0..7a741c2 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