Use the llvm-upgrade program to upgrade llvm assembly.
[oota-llvm.git] / test / Other / 2004-08-16-PackedSimple.ll
1 ; RUN: llvm-upgrade < %s | llvm-as | llvm-dis
2
3 %foo = uninitialized global <4 x float>;
4 %bar = uninitialized global <4 x float>;
5
6 implementation   ; Functions:
7
8 void %main()
9 {
10         %t0 = load <4 x float>* %foo
11         %t2 = add <4 x float> %t0, %t0
12         %t3 = select bool false, <4 x float> %t0, <4 x float> %t2
13         store <4 x float> %t3, <4 x float>* %bar  
14         ret void
15 }