This changes gcc.dg/vect/bb-slp-9.c to scan for a vectorized load
instead of a vectorized BB which then correctly captures the
unaligned load we try to test and not some intermediate built
from scalar vector.

Pushed.

2021-01-15  Richard Biener  <rguent...@suse.de>

        PR testsuite/96147
        * gcc.dg/vect/bb-slp-9.c: Scan for a vector load transform.
---
 gcc/testsuite/gcc.dg/vect/bb-slp-9.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.dg/vect/bb-slp-9.c 
b/gcc/testsuite/gcc.dg/vect/bb-slp-9.c
index b4cc1017f7e..2a42411afe4 100644
--- a/gcc/testsuite/gcc.dg/vect/bb-slp-9.c
+++ b/gcc/testsuite/gcc.dg/vect/bb-slp-9.c
@@ -46,5 +46,5 @@ int main (void)
   return 0;
 }
 
-/* { dg-final { scan-tree-dump-times "optimized: basic block" 1 "slp2"  { 
xfail  { vect_no_align && { ! vect_hw_misalign } } } } } */
+/* { dg-final { scan-tree-dump-times "transform load" 1 "slp2"  { xfail  { 
vect_no_align && { ! vect_hw_misalign } } } } } */
   
-- 
2.26.2

Reply via email to