blob: 1d9ba77145b54b704ff3e2e38339a1435d70138b [file] [log] [blame]
Reid Spencereacb7022006-12-31 06:02:00 +00001; RUN: llvm-upgrade < %s | llvm-as -f -o %t.bc
Tanya Lattnere9789ef2004-11-06 23:32:43 +00002; RUN: lli %t.bc > /dev/null
3
Chris Lattnere22766c2003-05-12 02:27:05 +00004target endian = little
5target pointersize = 32
6
7implementation
8
Chris Lattnerbbd58392003-05-12 02:31:48 +00009int %main() {
Chris Lattnere22766c2003-05-12 02:27:05 +000010entry:
Chris Lattnerbbd58392003-05-12 02:31:48 +000011 br label %endif
Chris Lattnere22766c2003-05-12 02:27:05 +000012then:
13 br label %endif
14endif:
Chris Lattnerbbd58392003-05-12 02:31:48 +000015 %x = phi uint [ 4, %entry ], [ 27, %then ]
16 %result = phi int [ 32, %then ], [ 0, %entry ]
Chris Lattnere22766c2003-05-12 02:27:05 +000017 ret int 0
18}