On Thu, Apr 11, 2024 at 9:02 AM Stefan Schulze Frielinghaus <stefa...@linux.ibm.com> wrote: > > Revert parameter max-completely-peel-times to 16, otherwise, the > innermost loop is removed and we are left with no loop interchange which > this test is all about. > > gcc/testsuite/ChangeLog: > > * gcc.dg/tree-ssa/loop-interchange-16.c: Revert parameter > max-completely-peel-times for s390. > --- > Ok for mainline?
Can you check whether placing #pragma GCC unroll 0 before the innermost loop works as well? That'd be more to the point. OK if that works. thanks, Richard. > gcc/testsuite/gcc.dg/tree-ssa/loop-interchange-16.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/gcc/testsuite/gcc.dg/tree-ssa/loop-interchange-16.c > b/gcc/testsuite/gcc.dg/tree-ssa/loop-interchange-16.c > index 781555e085d..2530ec84bc0 100644 > --- a/gcc/testsuite/gcc.dg/tree-ssa/loop-interchange-16.c > +++ b/gcc/testsuite/gcc.dg/tree-ssa/loop-interchange-16.c > @@ -1,6 +1,7 @@ > /* PR/101280 */ > /* { dg-do compile } */ > /* { dg-options "-O3 -fdump-tree-linterchange-details" } */ > +/* { dg-additional-options "--param max-completely-peel-times=16" { target > s390*-*-* } } */ > > void dummy (double *, double *); > #define LEN_2D 32 > -- > 2.43.0 >