Commit 542803c9 by Andrew Stubbs Committed by Andrew Stubbs

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
parent 5afa32b8
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> 2019-12-18 Eric Botcazou <ebotcazou@adacore.com>
* gnat.dg/warn32.adb: New test. * gnat.dg/warn32.adb: New test.
......
...@@ -7,7 +7,7 @@ extern void abort (void) __attribute__ ((noreturn)); ...@@ -7,7 +7,7 @@ extern void abort (void) __attribute__ ((noreturn));
#define N 27 #define N 27
/* Condition reduction with multiple types in the comparison. Will fail to /* Condition reduction with multiple types in the comparison. Will fail to
vectorize. */ vectorize on architectures requiring matching vector sizes. */
int int
condition_reduction (char *a, int min_v) condition_reduction (char *a, int min_v)
...@@ -41,5 +41,6 @@ main (void) ...@@ -41,5 +41,6 @@ main (void)
return 0; return 0;
} }
/* { dg-final { scan-tree-dump-not "LOOP VECTORIZED" "vect" } } */ /* { dg-final { scan-tree-dump-not "LOOP VECTORIZED" "vect" { target { ! amdgcn*-*-* } } } } */
/* { dg-final { scan-tree-dump "multiple types in double reduction or condition reduction" "vect" } } */ /* { 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*-*-* } } } } */
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment