Use the llvm-upgrade program to upgrade llvm assembly.
[oota-llvm.git] / test / Other / 2004-08-16-PackedSelect.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         %t1 = add <4 x float> %t0, %t0
12         %t2 = select bool true, <4 x float> %t0, <4 x float> %t1
13         store <4 x float> %t2, <4 x float>* %bar  
14         ret void
15 }