Commit 7ec85098 by Andrew Stubbs

Revert "Fix vector testcases for amdgcn."

Apologies everyone. :-(

From-SVN: r279466
parent 62064ec0
2019-12-17 Andrew Stubbs <ams@codesourcery.com>
* 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 <christophe.lyon@linaro.org>
* gcc.target/arm/pr45701-1.c: Adjust for -mpure-code.
......
......@@ -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" } } */
......@@ -17,7 +17,6 @@ foo (int len, int *z) {
}
__attribute__ ((optimize(("no-tree-vectorize"))))
int main (void)
{
short i;
......
......@@ -16,7 +16,7 @@ foo (int len, int *z) {
}
}
__attribute__ ((optimize("no-tree-vectorize")))
int main (void)
{
char i;
......
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