Chris Lattner | 0c97a62 | 2004-08-20 08:34:27 +0000 | [diff] [blame] | 1 | ; RUN: llvm-as < %s | llvm-dis | llvm-as |
2 | |||||
3 | %v4f = type <4 x float> | ||||
4 | |||||
5 | %foo = uninitialized global %v4f | ||||
6 | %bar = uninitialized global %v4f | ||||
7 | |||||
8 | implementation ; Functions: | ||||
9 | |||||
10 | void %main() { | ||||
11 | br label %A | ||||
12 | C: | ||||
13 | store %v4f %t2, %v4f* %bar | ||||
14 | ret void | ||||
15 | |||||
16 | B: | ||||
17 | %t2 = add %v4f %t0, %t0 | ||||
18 | br label %C | ||||
19 | |||||
20 | A: | ||||
21 | %t0 = load %v4f* %foo | ||||
22 | br label %B | ||||
23 | } |