On 24/01/17 17:22, Bin Cheng wrote:
> Hi,
> Test gcc.dg/vect/vect-24.c starts passing after my vectorizer changes, but 
> not on all targets.  For x86_64, looks like other passes still mess up the IR 
> and prevent it from being vectorized.  This patch removes xfail for ARM 
> targets.
> Test result checked.  Is it OK?
> 
> Thanks,
> bin
> 
> gcc/testsuite/ChangeLog
> 2017-01-23  Bin Cheng  <bin.ch...@arm.com>
> 
>       * gcc.dg/vect/vect-24.c: Remove xfail on ARM targets.
> 
> 
> xfail-2.txt
> 
> 
> diff --git a/gcc/testsuite/gcc.dg/vect/vect-24.c 
> b/gcc/testsuite/gcc.dg/vect/vect-24.c
> index 09a6d7e..0511f7b 100644
> --- a/gcc/testsuite/gcc.dg/vect/vect-24.c
> +++ b/gcc/testsuite/gcc.dg/vect/vect-24.c
> @@ -122,6 +122,5 @@ int main (void)
>  
>    return main1 ();
>  }
> -
> -/* { dg-final { scan-tree-dump-times "vectorized 3 loops" 1 "vect" { xfail 
> *-*-* } } } */
> +/* { dg-final { scan-tree-dump-times "vectorized 3 loops" 1 "vect" { xfail { 
> { ! aarch64*-*-* } && { ! arm-*-* } } } } } */
>  /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 
> "vect" } } */
> 

OK.

R.

Reply via email to