]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
RISC-V Regression: Fix FAIL of bb-slp-pr69907.c for RVV
authorJuzhe-Zhong <juzhe.zhong@rivai.ai>
Fri, 13 Oct 2023 05:45:19 +0000 (13:45 +0800)
committerLehua Ding <lehua.ding@rivai.ai>
Fri, 13 Oct 2023 06:03:31 +0000 (14:03 +0800)
Like ARM SVE and GCN, add RVV.

gcc/testsuite/ChangeLog:

* gcc.dg/vect/bb-slp-pr69907.c: Add RVV.

gcc/testsuite/gcc.dg/vect/bb-slp-pr69907.c

index b348526b62f03d06abb42da264a7e74fca2b0b83..f63b42a271afbf1af3118e32ca3dfd7d73f060e6 100644 (file)
@@ -22,5 +22,5 @@ void foo(unsigned *p1, unsigned short *p2)
 /* Disable for SVE because for long or variable-length vectors we don't
    get an unrolled epilogue loop.  Also disable for AArch64 Advanced SIMD,
    because there we can vectorize the epilogue using mixed vector sizes.
-   Likewise for AMD GCN.  */
-/* { dg-final { scan-tree-dump "BB vectorization with gaps at the end of a load is not supported" "slp1" { target { { ! aarch64*-*-* } && { ! amdgcn*-*-* } } } } } */
+   Likewise for AMD GCN and RVV.  */
+/* { dg-final { scan-tree-dump "BB vectorization with gaps at the end of a load is not supported" "slp1" { target { { ! aarch64*-*-* } && { { ! amdgcn*-*-* } && { ! riscv_v } } } } } } */