]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
RISC-V Regression test: Fix FAIL of pr45752.c for RVV
authorJuzhe-Zhong <juzhe.zhong@rivai.ai>
Mon, 9 Oct 2023 13:02:18 +0000 (21:02 +0800)
committerPan Li <pan2.li@intel.com>
Mon, 9 Oct 2023 13:10:19 +0000 (21:10 +0800)
RVV use load_lanes with stride = 5 vectorize this case with -fno-vect-cost-model
instead of SLP.

gcc/testsuite/ChangeLog:

* gcc.dg/vect/pr45752.c: Adapt dump check for target supports load_lanes with stride = 5.

gcc/testsuite/gcc.dg/vect/pr45752.c

index e8b364f29eb0c4b20bb2b2be5d49db3aab5ac39b..3c87d9b04fcad4523dfa07758ec5d83c1a0f8bf2 100644 (file)
@@ -159,4 +159,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" 2 "vect" } } */
+/* { dg-final { scan-tree-dump-times "vectorizing stmts using SLP" 2 "vect" {target { ! { vect_load_lanes && vect_strided5 } } } } } */