| Reid Spencer | 69ccadd | 2006-12-02 04:23:10 +0000 | [diff] [blame] | 1 | ; RUN: llvm-upgrade < %s | llvm-as | llvm-dis |
| Reid Spencer | 442729a | 2004-08-20 06:06:43 +0000 | [diff] [blame] | 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 | } | ||||