diff options
author | Juzhe-Zhong <juzhe.zhong@rivai.ai> | 2023-10-09 21:41:23 +0800 |
---|---|---|
committer | Pan Li <pan2.li@intel.com> | 2023-10-09 22:28:56 +0800 |
commit | db20b83cfffc692691156b67caf9d0228252accb (patch) | |
tree | f0aa1c2459e21d6fbe969dd92057ee6515e201cc /gcc | |
parent | 79e6ea48b7bb67a101f1fba22d633ff759d946d2 (diff) | |
download | gcc-db20b83cfffc692691156b67caf9d0228252accb.zip gcc-db20b83cfffc692691156b67caf9d0228252accb.tar.gz gcc-db20b83cfffc692691156b67caf9d0228252accb.tar.bz2 |
RISC-V Regression test: Fix FAIL of slp-reduc-4.c for RVV
RVV vectortizes this case with stride8 load_lanes.
gcc/testsuite/ChangeLog:
* gcc.dg/vect/slp-reduc-4.c: Adapt test for stride8 load_lanes.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/gcc.dg/vect/slp-reduc-4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/vect/slp-reduc-4.c b/gcc/testsuite/gcc.dg/vect/slp-reduc-4.c index 15f5c25..e2fe01b 100644 --- a/gcc/testsuite/gcc.dg/vect/slp-reduc-4.c +++ b/gcc/testsuite/gcc.dg/vect/slp-reduc-4.c @@ -60,6 +60,6 @@ int main (void) /* For variable-length SVE, the number of scalar statements in the reduction exceeds the number of elements in a 128-bit granule. */ /* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 1 "vect" { target { ! vect_multiple_sizes } xfail { vect_no_int_min_max || { aarch64_sve && vect_variable_length } } } } } */ -/* { dg-final { scan-tree-dump "vectorizing stmts using SLP" "vect" { target { vect_multiple_sizes } } } } */ +/* { dg-final { scan-tree-dump "vectorizing stmts using SLP" "vect" { target { vect_multiple_sizes && { ! { vect_load_lanes && vect_strided8 } } } } } } */ /* { dg-final { scan-tree-dump-times "VEC_PERM_EXPR" 0 "vect" { xfail { aarch64_sve && vect_variable_length } } } } */ |