Check in old tests
[oota-llvm.git] / test / Transforms / DSAnalysis / structpadding.ll
1
2 %str = type { int, int* }
3
4 implementation
5
6 void %bar(%str* %S, %str* %T) {
7         %A1 = getelementptr %str* %S, long 0, ubyte 0
8         %B1 = getelementptr %str* %S, long 0, ubyte 1
9         %A2 = getelementptr %str* %S, long 0, ubyte 0
10         %B2 = getelementptr %str* %S, long 0, ubyte 1
11         %a1 = cast int* %A1 to long*
12         %a2 = cast int* %A2 to long*
13         %V = load long* %a1
14         ;store long %V, long* %a2
15         %V2 = load int** %B1
16         store int* %V2, int** %B2
17         ret void
18 }