[testsuite,aarch64,arm] PR88440: Fix testcases
authorChristophe Lyon <christophe.lyon@linaro.org>
Mon, 27 May 2019 13:37:57 +0000 (13:37 +0000)
committerChristophe Lyon <clyon@gcc.gnu.org>
Mon, 27 May 2019 13:37:57 +0000 (15:37 +0200)
2019-05-27  Christophe Lyon  <christophe.lyon@linaro.org>

PR tree-optimization/88440
gcc/testsuite/
* gcc.target/aarch64/sve/index_offset_1.c: Add -fno-tree-loop-distribute-patterns.
* gcc.target/aarch64/sve/single_1.c: Likewise.
* gcc.target/aarch64/sve/single_2.c: Likewise.
* gcc.target/aarch64/sve/single_3.c: Likewise.
* gcc.target/aarch64/sve/single_4.c: Likewise.
* gcc.target/aarch64/sve/vec_init_1.c: Likewise.
* gcc.target/aarch64/vect-fmovd-zero.c: Likewise.
* gcc.target/aarch64/vect-fmovf-zero.c: Likewise.
* gcc.target/arm/ivopts.c: Likewise.

From-SVN: r271662

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/aarch64/sve/index_offset_1.c
gcc/testsuite/gcc.target/aarch64/sve/single_1.c
gcc/testsuite/gcc.target/aarch64/sve/single_2.c
gcc/testsuite/gcc.target/aarch64/sve/single_3.c
gcc/testsuite/gcc.target/aarch64/sve/single_4.c
gcc/testsuite/gcc.target/aarch64/sve/vec_init_1.c
gcc/testsuite/gcc.target/aarch64/vect-fmovd-zero.c
gcc/testsuite/gcc.target/aarch64/vect-fmovf-zero.c
gcc/testsuite/gcc.target/arm/ivopts.c

index de1570510946d0a53de90743eac29182defd8534..2250874bb512e823bfaa5503aaba867f0a4a4002 100644 (file)
@@ -1,3 +1,16 @@
+2019-05-27  Christophe Lyon  <christophe.lyon@linaro.org>
+
+       PR tree-optimization/88440
+       * gcc.target/aarch64/sve/index_offset_1.c: Add -fno-tree-loop-distribute-patterns.
+       * gcc.target/aarch64/sve/single_1.c: Likewise.
+       * gcc.target/aarch64/sve/single_2.c: Likewise.
+       * gcc.target/aarch64/sve/single_3.c: Likewise.
+       * gcc.target/aarch64/sve/single_4.c: Likewise.
+       * gcc.target/aarch64/sve/vec_init_1.c: Likewise.
+       * gcc.target/aarch64/vect-fmovd-zero.c: Likewise.
+       * gcc.target/aarch64/vect-fmovf-zero.c: Likewise.
+       * gcc.target/arm/ivopts.c: Likewise.
+
 2019-05-27  Richard Biener  <rguenther@suse.de>
 
        PR tree-optimization/90637
index 31d46aab96077b3deb8bc074d1d542f11eb68aaf..a26be32f034fade062290cc2468501fdb6c6fac0 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -ftree-vectorize -msve-vector-bits=256" } */
+/* { dg-options "-O2 -ftree-vectorize -msve-vector-bits=256 -fno-tree-loop-distribute-patterns" } */
 
 #define SIZE (15 * 8 + 3)
 
index 11b88aef7cca89ef10ac8bc35fb13cf125677d28..e3a8409f875831246a841ed4a764fe2d699843aa 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -ftree-vectorize -fopenmp-simd -msve-vector-bits=256" } */
+/* { dg-options "-O2 -ftree-vectorize -fopenmp-simd -msve-vector-bits=256 -fno-tree-loop-distribute-patterns" } */
 
 #ifndef N
 #define N 32
index 1fbf4892c81c98512457fe186c6f16f813dfc39f..195ee20c5869928332e826a786ee236cb7812b99 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -ftree-vectorize -fopenmp-simd -msve-vector-bits=512" } */
+/* { dg-options "-O2 -ftree-vectorize -fopenmp-simd -msve-vector-bits=512 -fno-tree-loop-distribute-patterns" } */
 
 #define N 64
 #include "single_1.c"
index a3688b692a19c845901c0818bc96f5967ead1585..e03127615f0937b26873cfcf60871daa3ff335a9 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -ftree-vectorize -fopenmp-simd -msve-vector-bits=1024" } */
+/* { dg-options "-O2 -ftree-vectorize -fopenmp-simd -msve-vector-bits=1024 -fno-tree-loop-distribute-patterns" } */
 
 #define N 128
 #include "single_1.c"
index 08965d39ffd14068680ab20c1d5fd1a5cbc55e6b..01ff7f667ecc48030ccd56b5a08e0aae13be206b 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -ftree-vectorize -fopenmp-simd -msve-vector-bits=2048" } */
+/* { dg-options "-O2 -ftree-vectorize -fopenmp-simd -msve-vector-bits=2048 -fno-tree-loop-distribute-patterns" } */
 
 #define N 256
 #include "single_1.c"
index 6042606f7b4919db9b1943ca768fa71e8adda599..1624ab1418f094beda8034120a1005267c082d68 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -ftree-vectorize" } */
+/* { dg-options "-O2 -ftree-vectorize -fno-tree-loop-distribute-patterns" } */
 
 #include <stdint.h>
 
index c987f5fb83bf0d7f2605763a1ae5be9b32037f9a..a51aa33c2fee95d93db2ab33b05a7db68823739c 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -ftree-vectorize -fdump-tree-vect-all -fno-vect-cost-model" } */
+/* { dg-options "-O2 -ftree-vectorize -fdump-tree-vect-all -fno-vect-cost-model -fno-tree-loop-distribute-patterns" } */
 
 #pragma GCC target "+nosve"
 
index 22a0535433a412044bb0428c8a8439f605b2708b..8dfd26b517e4948cb703b2704021b8d62a9041b0 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O2 -ftree-vectorize -fdump-tree-vect-all -fno-vect-cost-model" } */
+/* { dg-options "-O2 -ftree-vectorize -fdump-tree-vect-all -fno-vect-cost-model -fno-tree-loop-distribute-patterns" } */
 
 #pragma GCC target "+nosve"
 
index 2bb6cc49308844beab773a73e3a5c911c82aa883..5d272405ec63f6b69777564da6d61b3b69e8a558 100644 (file)
@@ -1,5 +1,5 @@
 /* { dg-do assemble } */
-/* { dg-options "-Os -fdump-tree-ivopts -save-temps" } */
+/* { dg-options "-Os -fdump-tree-ivopts -save-temps -fno-tree-loop-distribute-patterns" } */
 
 void
 tr5 (short array[], int n)