]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
RISC-V Regression: Fix FAIL of bb-slp-68.c for RVV
authorJuzhe-Zhong <juzhe.zhong@rivai.ai>
Fri, 13 Oct 2023 06:01:26 +0000 (14:01 +0800)
committerPan Li <pan2.li@intel.com>
Fri, 13 Oct 2023 12:04:41 +0000 (20:04 +0800)
Like comment said, this test failed on 64 bytes vector.
Both RVV and GCN has 64 bytes vector.

So it's more reasonable to use vect512.
gcc/testsuite/ChangeLog:

* gcc.dg/vect/bb-slp-68.c: Use vect512.

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

index e7573a14933e7c8d18423db8579d60d8f466839f..2dd3d8ee90c62d5ecb74e5f4452c306e3af6131d 100644 (file)
@@ -20,4 +20,4 @@ void foo ()
 
 /* We want to have the store group split into 4, 2, 4 when using 32byte vectors.
    Unfortunately it does not work when 64-byte vectors are available.  */
-/* { dg-final { scan-tree-dump-not "from scalars" "slp2" { xfail amdgcn-*-* } } } */
+/* { dg-final { scan-tree-dump-not "from scalars" "slp2" { xfail vect512 } } } */