public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [Committed] RISC-V: Fix typo
@ 2023-11-26  0:46 Juzhe-Zhong
  0 siblings, 0 replies; 2+ messages in thread
From: Juzhe-Zhong @ 2023-11-26  0:46 UTC (permalink / raw)
  To: gcc-patches; +Cc: Juzhe-Zhong

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 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
-- 
2.36.3


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Committed] RISC-V: Fix typo
@ 2023-12-26 10:53 Juzhe-Zhong
  0 siblings, 0 replies; 2+ messages in thread
From: Juzhe-Zhong @ 2023-12-26 10:53 UTC (permalink / raw)
  To: gcc-patches; +Cc: Juzhe-Zhong

gcc/testsuite/ChangeLog:

	* gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul4-10.c: Fix typo.

---
 .../gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul4-10.c          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul4-10.c b/gcc/testsuite/gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul4-10.c
index f3c2315c2c5..e47af25aa9b 100644
--- a/gcc/testsuite/gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul4-10.c
+++ b/gcc/testsuite/gcc.dg/vect/costmodel/riscv/rvv/dynamic-lmul4-10.c
@@ -19,5 +19,5 @@ bar (int *x, int a, int b, int n)
 
 /* { dg-final { scan-assembler {e32,m4} } } */
 /* { dg-final { scan-assembler-not {jr} } } */
-/* { dg-final { scan-assembler-times {ret} 2 } } *
+/* { dg-final { scan-assembler-times {ret} 2 } } */
 /* { dg-final { scan-tree-dump-times "Preferring smaller LMUL loop because it has unexpected spills" 1 "vect" } } */
-- 
2.36.3


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-12-26 10:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-11-26  0:46 [Committed] RISC-V: Fix typo Juzhe-Zhong
2023-12-26 10:53 Juzhe-Zhong

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).