2010-11-13 08:28:01 +08:00
|
|
|
; RUN: lli %s > /dev/null
|
2004-11-07 07:32:43 +08:00
|
|
|
|
2002-10-26 07:01:51 +08:00
|
|
|
; test unconditional branch
|
2008-03-10 15:21:50 +08:00
|
|
|
define i32 @main() {
|
2002-10-26 07:01:51 +08:00
|
|
|
br label %Test
|
2008-03-10 15:21:50 +08:00
|
|
|
Test: ; preds = %Test, %0
|
|
|
|
%X = icmp eq i32 0, 4 ; <i1> [#uses=1]
|
|
|
|
br i1 %X, label %Test, label %Label
|
|
|
|
Label: ; preds = %Test
|
|
|
|
ret i32 0
|
2002-10-26 07:01:51 +08:00
|
|
|
}
|
2008-03-10 15:21:50 +08:00
|
|
|
|