aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAndrew Stubbs <ams@codesourcery.com>2019-12-18 11:47:26 +0000
committerAndrew Stubbs <ams@gcc.gnu.org>2019-12-18 11:47:26 +0000
commit542803c9adea448854477e0a544455cffda7cd51 (patch)
tree4e07835ec84bcd890f2c5c954d02aa70c65eac8e /gcc
parent5afa32b898fe8fe9db7d163ac25e9f0f3f2b9071 (diff)
downloadgcc-542803c9adea448854477e0a544455cffda7cd51.zip
gcc-542803c9adea448854477e0a544455cffda7cd51.tar.gz
gcc-542803c9adea448854477e0a544455cffda7cd51.tar.bz2
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
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.dg/vect/pr65947-8.c7
2 files changed, 8 insertions, 3 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index a0b25ef..5dcd460 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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.
diff --git a/gcc/testsuite/gcc.dg/vect/pr65947-8.c b/gcc/testsuite/gcc.dg/vect/pr65947-8.c
index f0f1ac2..a2a940d 100644
--- a/gcc/testsuite/gcc.dg/vect/pr65947-8.c
+++ b/gcc/testsuite/gcc.dg/vect/pr65947-8.c
@@ -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*-*-* } } } } */