From: Richard Sandiford Date: Thu, 25 Jan 2018 10:21:08 +0000 (+0000) Subject: Fix vect-reduc-or_[12].c changes in r257022 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b254c1a2322532451b419c8ce850ab7347f51469;p=gcc.git Fix vect-reduc-or_[12].c changes in r257022 I'd somehow thought that the dump lines in these two tests were already correctly guarded, but they weren't. 2018-01-25 Richard Sandiford gcc/testsuite/ * gcc.dg/vect/vect-reduc-or_1.c: Require whole_vector_shift for the shift dump line. * gcc.dg/vect/vect-reduc-or_2.c: Likewise. From-SVN: r257044 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ba13b88f70a..42665a2c64e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2018-01-25 Richard Sandiford + + * gcc.dg/vect/vect-reduc-or_1.c: Require whole_vector_shift for + the shift dump line. + * gcc.dg/vect/vect-reduc-or_2.c: Likewise. + 2018-01-24 Michael Meissner PR target/81550 diff --git a/gcc/testsuite/gcc.dg/vect/vect-reduc-or_1.c b/gcc/testsuite/gcc.dg/vect/vect-reduc-or_1.c index acb0e30383d..dfbdce0aeec 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-reduc-or_1.c +++ b/gcc/testsuite/gcc.dg/vect/vect-reduc-or_1.c @@ -45,5 +45,5 @@ main (unsigned char argc, char **argv) return 0; } -/* { dg-final { scan-tree-dump "Reduce using vector shifts" "vect" { target { ! vect_logical_reduc } } } } */ +/* { dg-final { scan-tree-dump "Reduce using vector shifts" "vect" { target { whole_vector_shift && { ! vect_logical_reduc } } } } } */ /* { dg-final { scan-tree-dump "Reduce using direct vector reduction" "vect" { target vect_logical_reduc } } } */ diff --git a/gcc/testsuite/gcc.dg/vect/vect-reduc-or_2.c b/gcc/testsuite/gcc.dg/vect/vect-reduc-or_2.c index d8751185155..5c67aa2dfe2 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-reduc-or_2.c +++ b/gcc/testsuite/gcc.dg/vect/vect-reduc-or_2.c @@ -44,5 +44,5 @@ main (unsigned char argc, char **argv) return 0; } -/* { dg-final { scan-tree-dump "Reduce using vector shifts" "vect" { target { ! vect_logical_reduc } } } } */ +/* { dg-final { scan-tree-dump "Reduce using vector shifts" "vect" { target { whole_vector_shift && { ! vect_logical_reduc } } } } } */ /* { dg-final { scan-tree-dump "Reduce using direct vector reduction" "vect" { target vect_logical_reduc } } } */