Fix vect/pr65947-8.c testcase for amdgcn.

2019-12-18  Andrew Stubbs  <ams@codesourcery.com>

	gcc/testsuite/
	* gcc.dg/vect/pr65947-8.c: Change pass conditions for amdgcn.

From-SVN: r279521
This commit is contained in:
Andrew Stubbs 2019-12-18 11:47:26 +00:00 committed by Andrew Stubbs
parent 5afa32b898
commit 542803c9ad
2 changed files with 8 additions and 3 deletions

View File

@ -1,3 +1,7 @@
2019-12-18 Andrew Stubbs <ams@codesourcery.com>
* gcc.dg/vect/pr65947-8.c: Change pass conditions for amdgcn.
2019-12-18 Eric Botcazou <ebotcazou@adacore.com>
* gnat.dg/warn32.adb: New test.

View File

@ -7,7 +7,7 @@ extern void abort (void) __attribute__ ((noreturn));
#define N 27
/* Condition reduction with multiple types in the comparison. Will fail to
vectorize. */
vectorize on architectures requiring matching vector sizes. */
int
condition_reduction (char *a, int min_v)
@ -41,5 +41,6 @@ main (void)
return 0;
}
/* { dg-final { scan-tree-dump-not "LOOP VECTORIZED" "vect" } } */
/* { dg-final { scan-tree-dump "multiple types in double reduction or condition reduction" "vect" } } */
/* { dg-final { scan-tree-dump-not "LOOP VECTORIZED" "vect" { target { ! amdgcn*-*-* } } } } */
/* { dg-final { scan-tree-dump "LOOP VECTORIZED" "vect" { target amdgcn*-*-* } } } */
/* { dg-final { scan-tree-dump "multiple types in double reduction or condition reduction" "vect" { target { ! amdgcn*-*-* } } } } */