Fix vect-reduc-or_[12].c changes in r257022
authorRichard Sandiford <richard.sandiford@linaro.org>
Thu, 25 Jan 2018 10:21:08 +0000 (10:21 +0000)
committerRichard Sandiford <rsandifo@gcc.gnu.org>
Thu, 25 Jan 2018 10:21:08 +0000 (10:21 +0000)
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  <richard.sandiford@linaro.org>

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

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/vect-reduc-or_1.c
gcc/testsuite/gcc.dg/vect/vect-reduc-or_2.c

index ba13b88f70a144a8790239d73768624ab637c4e0..42665a2c64ec1f9df197b7ce4d605924b74aebe9 100644 (file)
@@ -1,3 +1,9 @@
+2018-01-25  Richard Sandiford  <richard.sandiford@linaro.org>
+
+       * 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  <meissner@linux.vnet.ibm.com>
 
        PR target/81550
index acb0e30383d46f6453b8b6deb151f3d161699f1e..dfbdce0aeecd3a9a9fbad7bbe75af595508493e4 100644 (file)
@@ -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 } } } */
index d8751185155049e5f8821aff2a963581bbdcefb1..5c67aa2dfe2e47654343474eced29a05f3fe1b22 100644 (file)
@@ -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 } } } */