testsuite/98245 - adjust dump scanning of gcc.dg/vect/bb-slp-46.c

Checking the number of pluses is unreliable since the vector size
isn't known.  Instead see that the unwanted scalar compute is not
there.

2021-03-11  Richard Biener  <rguenther@suse.de>

	PR testsuite/98245
	* gcc.dg/vect/bb-slp-46.c: Scan for the scalar compute
	instead of verifying the total number of adds.
This commit is contained in:
Richard Biener 2021-03-11 14:25:16 +01:00
parent aa0d8a3e28
commit 3b938c64f7
1 changed files with 2 additions and 2 deletions

View File

@ -24,5 +24,5 @@ int foo ()
/* { dg-final { scan-tree-dump "optimized: basic block" "slp2" } } */
/* { dg-final { scan-tree-dump "extracting lane for live stmt" "slp2" } } */
/* { dg-final { scan-tree-dump-times "extracting lane for live stmt" 2 "slp2" { xfail *-*-* } } } */
/* { dg-final { scan-tree-dump-times " \\+ " 3 "optimized" } } */
/* { dg-final { scan-tree-dump-times " \\+ " 2 "optimized" { xfail *-*-* } } } */
/* { dg-final { scan-tree-dump-not "tem3_\[0-9\]\+ = " "optimized" } } */
/* { dg-final { scan-tree-dump-not "tem0_\[0-9\]\+ = " "optimized" { xfail *-*-* } } } */