1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_int } */
3 /* { dg-additional-options "-fgimple" } */
4 
5 int __GIMPLE (ssa,guessed_local(118111600),startwith("dce3"))
foo(int * x,int n)6 foo (int * x, int n)
7 {
8   int i;
9   int sum;
10   int _1;
11   long unsigned int _2;
12   long unsigned int _3;
13   int * _4;
14   int _5;
15   __SIZETYPE__ _7;
16   __SIZETYPE__ _8;
17   int * _9;
18   int _10;
19   __SIZETYPE__ _11;
20   __SIZETYPE__ _12;
21   int * _13;
22   int _100;
23   __SIZETYPE__ _15;
24   __SIZETYPE__ _16;
25   int * _17;
26   int _18;
27 
28   __BB(2,guessed_local(118111600)):
29   if (n_21(D) > 0)
30     goto __BB5(guessed(119453778));
31   else
32     goto __BB7(guessed(14763950));
33 
34   __BB(5,guessed_local(105119324)):
35   goto __BB3(precise(134217728));
36 
37   __BB(3,loop_header(1),guessed_local(955630224)):
38   sum_30 = __PHI (__BB5: 0, __BB6: sum_27);
39   i_32 = __PHI (__BB5: 0, __BB6: i_28);
40   _1 = i_32 * 4;
41   _2 = (long unsigned int) _1;
42   _3 = _2 * 4ul;
43   _4 = x_23(D) + _3;
44   _5 = __MEM <int> (_4);
45   sum_24 = _5 + sum_30;
46   _7 = _2 + 1ul;
47   _8 = _7 * 4ul;
48   _9 = x_23(D) + _8;
49   _10 = __MEM <int> (_9);
50   sum_25 = _10 + sum_24;
51   _11 = _2 + 2ul;
52   _12 = _11 * 4ul;
53   _13 = x_23(D) + _12;
54   _100 = __MEM <int> (_13);
55   sum_26 = sum_25 + _100;
56   _15 = _2 + 3ul;
57   _16 = _15 * 4ul;
58   _17 = x_23(D) + _16;
59   _18 = __MEM <int> (_17);
60   sum_27 = _18 + sum_26;
61   i_28 = i_32 + 1;
62   if (n_21(D) > i_28)
63     goto __BB6(guessed(119453778));
64   else
65     goto __BB8(guessed(14763950));
66 
67   __BB(8,guessed_local(105119324)):
68   goto __BB4(precise(134217728));
69 
70   __BB(6,guessed_local(850510900)):
71   goto __BB3(precise(134217728));
72 
73   __BB(7,guessed_local(12992276)):
74   goto __BB4(precise(134217728));
75 
76   __BB(4,guessed_local(118111601)):
77   sum_31 = __PHI (__BB7: 0, __BB8: sum_27);
78   return sum_31;
79 
80 }
81 
82 /* { dg-final { scan-tree-dump "Decided to SLP 1 instances" "vect" } } */
83