[gcc r14-4508] RISC-V Regression test: Fix FAIL of pr45752.c for RVV
Pan Li
panli@gcc.gnu.org
Mon Oct 9 13:11:18 GMT 2023
https://gcc.gnu.org/g:1543f3e331b317c086d9acfbdc2681e510c3d4c8
commit r14-4508-g1543f3e331b317c086d9acfbdc2681e510c3d4c8
Author: Juzhe-Zhong <juzhe.zhong@rivai.ai>
Date: Mon Oct 9 21:02:18 2023 +0800
RISC-V Regression test: Fix FAIL of pr45752.c for RVV
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.
Diff:
---
gcc/testsuite/gcc.dg/vect/pr45752.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gcc/testsuite/gcc.dg/vect/pr45752.c b/gcc/testsuite/gcc.dg/vect/pr45752.c
index e8b364f29eb..3c87d9b04fc 100644
--- a/gcc/testsuite/gcc.dg/vect/pr45752.c
+++ b/gcc/testsuite/gcc.dg/vect/pr45752.c
@@ -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 } } } } } */
More information about the Gcc-cvs
mailing list