407d49537583f82bbbd316a82492553b178a9e18
[oota-llvm.git] / test / Transforms / DSAnalysis / basictest.ll
1
2 ; very simple test
3
4 implementation
5
6 int *%foo(ulong %A, double %B, long %C) {
7         %X = malloc int*
8         %D = cast int** %X to ulong
9         %E = cast ulong %D to int*
10         store int* %E, int** %X
11
12         %F = malloc {int}
13         %G = getelementptr {int}* %F, long 0, ubyte 0
14         store int* %G, int** %X
15
16         %K = malloc int **
17         store int** %X, int***%K
18
19         %H = cast long %C to int*
20         ret int* null ; %H
21
22