| 1 |
/* { dg-do compile } */ |
| 2 |
/* { dg-additional-options "-fgimple -Ofast -fdump-tree-ifcvt-raw" } */ |
| 3 |
|
| 4 |
void __GIMPLE (ssa,guessed_local(10737414), startwith ("fix_loops")) |
| 5 |
foo (int * f, int d, int e) |
| 6 |
{ |
| 7 |
int t; |
| 8 |
int a; |
| 9 |
int i; |
| 10 |
__SIZETYPE__ _1; |
| 11 |
__SIZETYPE__ _2; |
| 12 |
int * _3; |
| 13 |
int _4; |
| 14 |
|
| 15 |
__BB(2,guessed_local(10737414)): |
| 16 |
goto __BB3(guessed(134217728)); |
| 17 |
|
| 18 |
__BB(3,loop_header(1),guessed_local(1063004408)): |
| 19 |
i_18 = __PHI (__BB8: i_15, __BB2: 0); |
| 20 |
_1 = (__SIZETYPE__) i_18; |
| 21 |
_2 = _1 * _Literal(__SIZETYPE__) 4; |
| 22 |
_3 = f_9(D) + _2; |
| 23 |
a_10 = __MEM <int> (_3); |
| 24 |
if (a_10 < 0) |
| 25 |
goto __BB9(guessed(55029268)); |
| 26 |
else |
| 27 |
goto __BB4(guessed(79188460)); |
| 28 |
|
| 29 |
__BB(9,guessed_local(435831803)): |
| 30 |
goto __BB6(precise(134217728)); |
| 31 |
|
| 32 |
__BB(4,guessed_local(627172605)): |
| 33 |
if (a_10 < e_11(D)) |
| 34 |
goto __BB5(guessed(67108864)); |
| 35 |
else |
| 36 |
goto __BB10(guessed(67108864)); |
| 37 |
|
| 38 |
__BB(10,guessed_local(313586303)): |
| 39 |
goto __BB6(precise(134217728)); |
| 40 |
|
| 41 |
__BB(5,guessed_local(313586302)): |
| 42 |
_4 = a_10 * d_12(D); |
| 43 |
t_13 = 1 - _4; |
| 44 |
goto __BB6(precise(134217728)); |
| 45 |
|
| 46 |
__BB(6,guessed_local(1063004410)): |
| 47 |
t_6 = __PHI (__BB9: 1, __BB5: t_13, __BB10: 0); |
| 48 |
__MEM <int> (_3) = t_6; |
| 49 |
i_15 = i_18 + 1; |
| 50 |
if (i_15 != 1024) |
| 51 |
goto __BB8(guessed(132875551)); |
| 52 |
else |
| 53 |
goto __BB7(guessed(1342177)); |
| 54 |
|
| 55 |
__BB(8,guessed_local(1052374368)): |
| 56 |
goto __BB3(precise(134217728)); |
| 57 |
|
| 58 |
__BB(7,guessed_local(10737416)): |
| 59 |
return; |
| 60 |
|
| 61 |
} |
| 62 |
|
| 63 |
/* { dg-final { scan-tree-dump-times {<cond_expr,} 2 ifcvt { target vect_int } } } */ |