testsuite/aarch64: Skip SLP diagnostic under ILP32 (PR target/96974)
authorChristophe Lyon <christophe.lyon@linaro.org>
Mon, 29 Mar 2021 11:36:41 +0000 (11:36 +0000)
committerChristophe Lyon <christophe.lyon@linaro.org>
Wed, 31 Mar 2021 13:57:14 +0000 (13:57 +0000)
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.

gcc/testsuite/g++.target/aarch64/sve/pr96974.C

index 363241d..54000f5 100644 (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 } } } */