blob: 6b1b0abcbab747515004d5b5b1c4223847df2da7 [file] [log] [blame]
Tanya Lattnere9789ef2004-11-06 23:32:43 +00001; RUN: llvm-as -f %s -o %t.bc
2; 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}