remove unimplemented ctor, add some comments.
[oota-llvm.git] / test / Other / 2004-08-16-LowerPacked.ll
1 ; RUN: llvm-upgrade < %s | llvm-as | opt -lower-packed | llvm-dis
2
3 %foo = uninitialized global <2 x int>;
4 %bar = uninitialized global <2 x int>;
5
6 implementation   ; Functions:
7
8 void %main()
9 {
10         %t0 = load <2 x int>* %foo
11         %t2 = add <2 x int> %t0, %t0
12         %t3 = select bool false, <2 x int> %t0, <2 x int> %t2
13         store <2 x int> %t3, <2 x int>* %bar
14           
15         %c0 = add <2 x int> <int 1, int 1>, %t0
16         %c1 = add <2 x int> %t0, <int 0, int 0>
17         %c2 = select bool true, <2 x int> <int 1, int 1>, <2 x int> %t0
18         store <2 x int> <int 4, int 4>, <2 x int>* %foo
19         ret void
20 }