From 60178a322b4e8d0dc6cf50f57f8fa1fdf624a1f0 Mon Sep 17 00:00:00 2001 From: Tamar Christina Date: Fri, 29 Nov 2019 09:22:15 +0000 Subject: [PATCH] Testsuite: Turn off vect-epilogue-nomask for slp-rect-3 Without epiloque no mask it would only try HI modes, but thanks to the epiloques nomask It tries QI mode as well which succeeds. The xfail then generates an xpass since the condition on it checks for HI to SI and not QI. So I disabled the epiloque mask since it seems to violate the conditions the test actually wanted to test for. gcc/testsuite/ChangeLog: * gcc.dg/vect/slp-reduc-3.c: Turn off epilogue-nomask. From-SVN: r278834 --- gcc/testsuite/ChangeLog | 4 ++++ gcc/testsuite/gcc.dg/vect/slp-reduc-3.c | 1 + 2 files changed, 5 insertions(+) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 5d323652dba..a38389451c6 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2019-11-29 Tamar Christina + + * gcc.dg/vect/slp-reduc-3.c: Turn off epilogue-nomask. + 2019-11-29 Richard Biener PR tree-optimization/92715 diff --git a/gcc/testsuite/gcc.dg/vect/slp-reduc-3.c b/gcc/testsuite/gcc.dg/vect/slp-reduc-3.c index 9c8124c9b5f..7358275c3cb 100644 --- a/gcc/testsuite/gcc.dg/vect/slp-reduc-3.c +++ b/gcc/testsuite/gcc.dg/vect/slp-reduc-3.c @@ -1,4 +1,5 @@ /* { dg-require-effective-target vect_int } */ +/* { dg-additional-options "--param=vect-epilogues-nomask=0" } */ #include #include "tree-vect.h" -- 2.30.2