aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/tree-ssa/split-path-11.c
blob: 1f0424144677be28e3d89be1f4db58f9f0102869 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* { dg-do compile } */
/* { dg-options "-O2 -fno-tree-vectorize -fsplit-paths -fdump-tree-split-paths-details -w" } */

void foo(unsigned long long *M)
{
  for (unsigned long long k = 0; k < 227; ++k)
    {
      unsigned long long y =
	((M[k] & 0xffffffff80000000ULL) | (M[k + 1] & 0x7fffffffULL));
      M[k] = (M[k + 397] ^ (y >> 1) ^ ((y & 1) ? 2567483615ULL : 0));
    }
}

/* { dg-final { scan-tree-dump-times "join point for if-convertable" 1 "split-paths" } } */