]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
test: Fix FAIL of pr65518.c for RVV[PR112420]
authorJuzhe-Zhong <juzhe.zhong@rivai.ai>
Tue, 7 Nov 2023 13:30:14 +0000 (21:30 +0800)
committerPan Li <pan2.li@intel.com>
Tue, 7 Nov 2023 13:31:24 +0000 (21:31 +0800)
PR target/112420

gcc/testsuite/ChangeLog:

* gcc.dg/vect/pr65518.c: Fix check for RVV.

gcc/testsuite/gcc.dg/vect/pr65518.c

index 3e5b986183c04261430b6a0c1493716d534c96cf..189a65534f61372cfaf9777f246f7cf89f2d93bd 100644 (file)
@@ -49,4 +49,6 @@ int main ()
    sub-optimal and causes memory explosion (even though the cost model\r
    should reject that in the end).  */\r
 \r
-/* { dg-final { scan-tree-dump-times "vectorized 0 loops in function" 2 "vect" } } */\r
+/* { dg-final { scan-tree-dump-times "vectorized 0 loops in function" 2 "vect" { target {! riscv*-*-* } } } } */\r
+/* We end up using gathers for the strided load on RISC-V which would be OK.  */\r
+/* { dg-final { scan-tree-dump "using gather/scatter for strided/grouped access" "vect" { target { riscv*-*-* } } } } */\r