[AArch64] PR tree-optimization/64946: XFAIL gcc.target/aarch64/vect-abs-compile.c

Message ID 5A719078.2070405@foss.arm.com
State New
Headers show
Series
  • [AArch64] PR tree-optimization/64946: XFAIL gcc.target/aarch64/vect-abs-compile.c
Related show

Commit Message

Kyrill Tkachov Jan. 31, 2018, 9:46 a.m.
Hi all,

This test has been failing since forever, it has never passed AFAIK.
The PR details the vectoriser deficiency.
I propose we xfail this with a reference to the PR.

Ok for trunk?

Thanks,
Kyrill

2018-01-31  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

     PR tree-optimization/64946
     * gcc.target/aarch64/vect-abs-compile.c: XFAIL byte and half-word
     scan-assembler checks.

Comments

James Greenhalgh Jan. 31, 2018, 9:58 a.m. | #1
On Wed, Jan 31, 2018 at 09:46:32AM +0000, Kyrill Tkachov wrote:
> Hi all,

> 

> This test has been failing since forever, it has never passed AFAIK.

> The PR details the vectoriser deficiency.

> I propose we xfail this with a reference to the PR.

> 

> Ok for trunk?


Yes please. We're long overdue on silencing this failure. It has failed since
the day the test was committed along with the initial AArch64 port.

OK for trunk.

James

> 2018-01-31  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

> 

>      PR tree-optimization/64946

>      * gcc.target/aarch64/vect-abs-compile.c: XFAIL byte and half-word

>      scan-assembler checks.

Patch

diff --git a/gcc/testsuite/gcc.target/aarch64/vect-abs-compile.c b/gcc/testsuite/gcc.target/aarch64/vect-abs-compile.c
index 19082d73ea8530a277013fec252a88e8bd1dcc4b..856e7a738e5efbdc79b5b6200c1048ea1d6583b9 100644
--- a/gcc/testsuite/gcc.target/aarch64/vect-abs-compile.c
+++ b/gcc/testsuite/gcc.target/aarch64/vect-abs-compile.c
@@ -6,7 +6,8 @@ 
 
 #include "vect-abs.x"
 
-/* { dg-final { scan-assembler "abs\\tv\[0-9\]+\.16b" } } */
-/* { dg-final { scan-assembler "abs\\tv\[0-9\]+\.8h" } } */
+/* XFAIL due to PR tree-optimization/64946.  */
+/* { dg-final { scan-assembler "abs\\tv\[0-9\]+\.16b" { xfail *-*-* } } } */
+/* { dg-final { scan-assembler "abs\\tv\[0-9\]+\.8h" { xfail *-*-* } } } */
 /* { dg-final { scan-assembler "abs\\tv\[0-9\]+\.4s" } } */
 /* { dg-final { scan-assembler "abs\\tv\[0-9\]+\.2d" } } */