1 /* { dg-do compile { target { powerpc*-*-* } } } */
2 /* { dg-options "-O2 -fno-tree-loop-distribute-patterns" } */
4 /* Note that it's required to disable loop-distribute-patterns, otherwise the
5 loop will be optimized to memset. */
7 /* Expect loop_iv can know the loop is finite so the doloop_optimize
8 can perform the doloop transformation. */
20 for (i
= 0; i
<= len
; i
++)
24 /* { dg-final { scan-assembler {\mbdnz\M} } } */