testsuite/aarch64: Skip SLP diagnostic under ILP32 (PR target/96974)

The vectorizer has a very different effect with -mabi=ilp32, and
doesn't emit the expecte diagnostic, so this patch expects it only
under lp64.

2021-03-29  Christophe Lyon  <christophe.lyon@linaro.org>

	gcc/testsuite/
	PR target/96974
	* g++.target/aarch64/sve/pr96974.C: Expect SLP diagnostic only
	under lp64.
This commit is contained in:
Christophe Lyon 2021-03-29 11:36:41 +00:00
parent 7c1d6e8999
commit 05de07136a

View File

@ -15,4 +15,4 @@ struct c {
int coeffs[10];
} f;
/* { dg-final { scan-tree-dump "Not vectorized: Incompatible number of vector subparts between" "slp1" } } */
/* { dg-final { scan-tree-dump "Not vectorized: Incompatible number of vector subparts between" "slp1" { target lp64 } } } */