aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorPan Li <pan2.li@intel.com>2024-11-29 11:57:34 +0800
committerPan Li <pan2.li@intel.com>2024-12-02 09:37:17 +0800
commit12e30d82cc7ef614ec7a7f2bfae219fe8f99d94b (patch)
tree9f450726d5feab02dfd45e5d32709eeb1c361614 /gcc
parentaedb306a457496bac3b0029c6b4a1e63c738ddde (diff)
downloadgcc-12e30d82cc7ef614ec7a7f2bfae219fe8f99d94b.zip
gcc-12e30d82cc7ef614ec7a7f2bfae219fe8f99d94b.tar.gz
gcc-12e30d82cc7ef614ec7a7f2bfae219fe8f99d94b.tar.bz2
RISC-V: Fix incorrect optimization options passing to widden
Like the strided load/store, the testcases of vector widen are designed to pick up different sorts of optimization options but actually these option are ignored according to the Execution log of gcc.log. This patch would like to make it correct almost the same as what we fixed for strided load/store. The below test suites are passed for this patch. * The rv64gcv fully regression test. It is test only patch and obvious up to a point, will commit it directly if no comments in next 48H. gcc/testsuite/ChangeLog: * gcc.target/riscv/rvv/rvv.exp: Fix the incorrect optimization options passing to testcases. Signed-off-by: Pan Li <pan2.li@intel.com>
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/gcc.target/riscv/rvv/rvv.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.target/riscv/rvv/rvv.exp b/gcc/testsuite/gcc.target/riscv/rvv/rvv.exp
index 8f5860c..87c5ecb 100644
--- a/gcc/testsuite/gcc.target/riscv/rvv/rvv.exp
+++ b/gcc/testsuite/gcc.target/riscv/rvv/rvv.exp
@@ -90,7 +90,7 @@ set AUTOVEC_TEST_OPTS [list \
{-ftree-vectorize -O2 -mrvv-max-lmul=m4} ]
foreach op $AUTOVEC_TEST_OPTS {
dg-runtest [lsort [glob -nocomplain $srcdir/$subdir/autovec/widen/*.\[cS\]]] \
- "" "$op"
+ "$op" ""
}
# VLS-VLMAX tests