]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
RISC-V Regression test: Fix slp-perm-4.c FAIL for RVV
authorJuzhe-Zhong <juzhe.zhong@rivai.ai>
Mon, 9 Oct 2023 13:39:25 +0000 (21:39 +0800)
committerPan Li <pan2.li@intel.com>
Mon, 9 Oct 2023 14:37:50 +0000 (22:37 +0800)
RVV vectorize it with stride5 load_lanes.

gcc/testsuite/ChangeLog:

* gcc.dg/vect/slp-perm-4.c: Adapt test for stride5 load_lanes.

gcc/testsuite/gcc.dg/vect/slp-perm-4.c

index 107968f1f7ce65c53bf0280e700f659f625d8c1e..f4bda39c837dbe17985caa7880f00b1d4d4e357d 100644 (file)
@@ -115,4 +115,4 @@ int main (int argc, const char* argv[])
 
 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
 /* { dg-final { scan-tree-dump-times "gaps requires scalar epilogue loop" 0 "vect" } } */
-/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 1 "vect" } } */
+/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 1 "vect" { target { ! { vect_load_lanes && vect_strided5 } } } } } */