blob: 1d9ba77145b54b704ff3e2e38339a1435d70138b [file] [log] [blame]
Dan Gohmanf17a25c2007-07-18 16:29:46 +00001; RUN: llvm-upgrade < %s | llvm-as -f -o %t.bc
2; RUN: lli %t.bc > /dev/null
3
4target endian = little
5target pointersize = 32
6
7implementation
8
9int %main() {
10entry:
11 br label %endif
12then:
13 br label %endif
14endif:
15 %x = phi uint [ 4, %entry ], [ 27, %then ]
16 %result = phi int [ 32, %then ], [ 0, %entry ]
17 ret int 0
18}