From: Andrew Stubbs Date: Tue, 17 Dec 2019 16:46:27 +0000 (+0000) Subject: Revert "Fix vector testcases for amdgcn." X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7ec85098eb6e1660ee62aca3483112afbebded1e;p=gcc.git Revert "Fix vector testcases for amdgcn." Apologies everyone. :-( From-SVN: r279466 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 9cc9c69d703..3794eba80ee 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,9 +1,3 @@ -2019-12-17 Andrew Stubbs - - * gcc.dg/vect/pr65947-8.c: Change pass conditions for amdgcn. - * gcc.dg/vect/vect-multitypes-11.c: Ensure that main isn't vectorized. - * gcc.dg/vect/vect-multitypes-12.c: Likewise. - 2019-12-17 Christophe Lyon * gcc.target/arm/pr45701-1.c: Adjust for -mpure-code. diff --git a/gcc/testsuite/gcc.dg/vect/pr65947-8.c b/gcc/testsuite/gcc.dg/vect/pr65947-8.c index a2a940daf1a..f0f1ac29699 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 on architectures requiring matching vector sizes. */ + vectorize. */ int condition_reduction (char *a, int min_v) @@ -41,6 +41,5 @@ main (void) return 0; } -/* { 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*-*-* } } } } */ +/* { dg-final { scan-tree-dump-not "LOOP VECTORIZED" "vect" } } */ +/* { dg-final { scan-tree-dump "multiple types in double reduction or condition reduction" "vect" } } */ diff --git a/gcc/testsuite/gcc.dg/vect/vect-multitypes-11.c b/gcc/testsuite/gcc.dg/vect/vect-multitypes-11.c index b840f18d0c4..c58391f495e 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-multitypes-11.c +++ b/gcc/testsuite/gcc.dg/vect/vect-multitypes-11.c @@ -17,7 +17,6 @@ foo (int len, int *z) { } -__attribute__ ((optimize(("no-tree-vectorize")))) int main (void) { short i; diff --git a/gcc/testsuite/gcc.dg/vect/vect-multitypes-12.c b/gcc/testsuite/gcc.dg/vect/vect-multitypes-12.c index a7e24797b31..b09caeb51b6 100644 --- a/gcc/testsuite/gcc.dg/vect/vect-multitypes-12.c +++ b/gcc/testsuite/gcc.dg/vect/vect-multitypes-12.c @@ -16,7 +16,7 @@ foo (int len, int *z) { } } -__attribute__ ((optimize("no-tree-vectorize"))) + int main (void) { char i;