]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
[PATCH] testsuite: RISC-V: Fix the typo in param-autovec-mode.c
authorLiao Shihua <shihua@iscas.ac.cn>
Mon, 2 Jun 2025 03:11:25 +0000 (21:11 -0600)
committerJeff Law <jlaw@ventanamicro.com>
Mon, 2 Jun 2025 03:11:25 +0000 (21:11 -0600)
This patch fixes the typo in the test case `param-autovec-mode.c` in the RISC-V
autovec testsuite.

The option `autovec-mode` is changed to `riscv-autovec-mode` to match the
expected parameter name.

gcc/testsuite/ChangeLog:

* gcc.target/riscv/rvv/autovec/param-autovec-mode.c: Change
`autovec-mode` to `riscv-autovec-mode` in dg-options.

gcc/testsuite/gcc.target/riscv/rvv/autovec/param-autovec-mode.c

index b2ec8f9dc77409217f02c0fd0fd7eeba5e26e5c1..1ee7eb32e376d073a089ce837f2c03eec11ece3f 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O3 -march=rv64gcv -mabi=lp64d --param=autovec-mode=V4QI -fdump-tree-vect-details" } */
+/* { dg-options "-O3 -march=rv64gcv -mabi=lp64d --param=riscv-autovec-mode=V4QI -fdump-tree-vect-details" } */
 
 /* By default we will use RVVM1SI mode for vectorization because N is not
    known.  Check that we use V4QI and create an epilogue when the autovec-mode