vect test: Remove xfail for riscv

Message ID 20230829065102.3279474-1-juzhe.zhong@rivai.ai
State Accepted
Headers
Series vect test: Remove xfail for riscv |

Checks

Context Check Description
snail/gcc-patch-check success Github commit url

Commit Message

juzhe.zhong@rivai.ai Aug. 29, 2023, 6:51 a.m. UTC
  We are planning to enable "vect" testsuite with scalable vector auto-vectorization.

This case XPASS:
XPASS: gcc.dg/vect/no-scevccp-outer-12.c scan-tree-dump-times vect "OUTER LOOP VECTORIZED." 1

like ARM SVE.

---
 gcc/testsuite/gcc.dg/vect/no-scevccp-outer-12.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Richard Biener Aug. 29, 2023, 6:53 a.m. UTC | #1
On Tue, 29 Aug 2023, Juzhe-Zhong wrote:

> We are planning to enable "vect" testsuite with scalable vector auto-vectorization.
> 
> This case XPASS:
> XPASS: gcc.dg/vect/no-scevccp-outer-12.c scan-tree-dump-times vect "OUTER LOOP VECTORIZED." 1
> 
> like ARM SVE.

OK

> ---
>  gcc/testsuite/gcc.dg/vect/no-scevccp-outer-12.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-12.c b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-12.c
> index e9ec4ca0da3..c2d3031bc0c 100644
> --- a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-12.c
> +++ b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-12.c
> @@ -47,4 +47,4 @@ int main (void)
>  }
>  
>  /* Until we support multiple types in the inner loop  */
> -/* { dg-final { scan-tree-dump-times "OUTER LOOP VECTORIZED." 1 "vect" { xfail { ! aarch64*-*-* } } } } */
> +/* { dg-final { scan-tree-dump-times "OUTER LOOP VECTORIZED." 1 "vect" { xfail { ! { aarch64*-*-* riscv*-*-* } } } } } */
>
  
Lehua Ding Aug. 29, 2023, 7:25 a.m. UTC | #2
Committed, thanks Richard.

On 2023/8/29 14:53, Richard Biener via Gcc-patches wrote:
> On Tue, 29 Aug 2023, Juzhe-Zhong wrote:
> 
>> We are planning to enable "vect" testsuite with scalable vector auto-vectorization.
>>
>> This case XPASS:
>> XPASS: gcc.dg/vect/no-scevccp-outer-12.c scan-tree-dump-times vect "OUTER LOOP VECTORIZED." 1
>>
>> like ARM SVE.
> 
> OK
> 
>> ---
>>   gcc/testsuite/gcc.dg/vect/no-scevccp-outer-12.c | 2 +-
>>   1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-12.c b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-12.c
>> index e9ec4ca0da3..c2d3031bc0c 100644
>> --- a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-12.c
>> +++ b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-12.c
>> @@ -47,4 +47,4 @@ int main (void)
>>   }
>>   
>>   /* Until we support multiple types in the inner loop  */
>> -/* { dg-final { scan-tree-dump-times "OUTER LOOP VECTORIZED." 1 "vect" { xfail { ! aarch64*-*-* } } } } */
>> +/* { dg-final { scan-tree-dump-times "OUTER LOOP VECTORIZED." 1 "vect" { xfail { ! { aarch64*-*-* riscv*-*-* } } } } } */
>>
>
  

Patch

diff --git a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-12.c b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-12.c
index e9ec4ca0da3..c2d3031bc0c 100644
--- a/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-12.c
+++ b/gcc/testsuite/gcc.dg/vect/no-scevccp-outer-12.c
@@ -47,4 +47,4 @@  int main (void)
 }
 
 /* Until we support multiple types in the inner loop  */
-/* { dg-final { scan-tree-dump-times "OUTER LOOP VECTORIZED." 1 "vect" { xfail { ! aarch64*-*-* } } } } */
+/* { dg-final { scan-tree-dump-times "OUTER LOOP VECTORIZED." 1 "vect" { xfail { ! { aarch64*-*-* riscv*-*-* } } } } } */