[testsuite] Fix PR93935 to guard case under vect_hw_misalign
authorKewen Lin <linkw@linux.ibm.com>
Fri, 13 Mar 2020 10:51:21 +0000 (05:51 -0500)
committerKewen Lin <linkw@linux.ibm.com>
Fri, 13 Mar 2020 11:52:42 +0000 (06:52 -0500)
This patch is to apply the same fix as r267528 to another similar case
bb-slp-over-widen-2.c which requires misaligned vector access.

gcc/testsuite/ChangeLog

    PR testsuite/93935
    * gcc.dg/vect/bb-slp-over-widen-2.c: Expect basic block vectorized
    messages only on vect_hw_misalign targets.

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/vect/bb-slp-over-widen-2.c

index 5060981700ae83107795a7bafb83477713d9add8..4c6d7edda7e53ec125b1afedd0945b1c6f36d93a 100644 (file)
@@ -1,3 +1,9 @@
+2020-03-13  Kewen Lin  <linkw@gcc.gnu.org>
+
+       PR testsuite/93935
+       * gcc.dg/vect/bb-slp-over-widen-2.c: Expect basic block vectorized
+       messages only on vect_hw_misalign targets.
+
 2020-03-13  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR target/89229
index 3750fb79c12db2bf6940e451e4abaa71c2c32efa..042b7e9ea1baa93fc46b1fb2be237153b0a49d44 100644 (file)
@@ -63,4 +63,4 @@ main (void)
 /* { dg-final { scan-tree-dump "demoting int to signed short" "slp2" { target { ! vect_widen_shift } } } } */
 /* { dg-final { scan-tree-dump "demoting int to unsigned short" "slp2" { target { ! vect_widen_shift } } } } */
 /* { dg-final { scan-tree-dump {\.AVG_FLOOR} "slp2" { target vect_avg_qi } } } */
-/* { dg-final { scan-tree-dump-times "basic block vectorized" 2 "slp2" } } */
+/* { dg-final { scan-tree-dump-times "basic block vectorized" 2 "slp2" { target vect_hw_misalign } } } */