1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fdump-tree-optimized" } */
4 /* For powerpc, disable doloop IV cand generation in IVOPTs to avoid unexpected
5 division operation for its base setup. */
6 /* { dg-additional-options "-fno-branch-count-reg" { target { powerpc*-*-* } } } */
50 /* The loops computing division/modulo by 64 should be eliminated */
51 /* { dg-final { scan-tree-dump-times "if" 6 "optimized" } } */
53 /* There should be no division/modulo in the final dump (division and modulo
54 by 64 are done using bit operations). */
55 /* { dg-final { scan-tree-dump-times " / " 0 "optimized" } } */
56 /* { dg-final { scan-tree-dump-times " % " 0 "optimized" } } */