2012-01-16 08:56:09 +00:00
|
|
|
; RUN: %lli %s > /dev/null
|
2004-11-06 23:32:43 +00:00
|
|
|
|
2008-03-10 07:21:50 +00:00
|
|
|
target datalayout = "e-p:32:32"
|
2003-05-12 02:27:05 +00:00
|
|
|
|
2008-03-10 07:21:50 +00:00
|
|
|
define i32 @main() {
|
2003-05-12 02:27:05 +00:00
|
|
|
entry:
|
2003-05-12 02:31:48 +00:00
|
|
|
br label %endif
|
2008-03-10 07:21:50 +00:00
|
|
|
then: ; No predecessors!
|
2003-05-12 02:27:05 +00:00
|
|
|
br label %endif
|
2008-03-10 07:21:50 +00:00
|
|
|
endif: ; preds = %then, %entry
|
|
|
|
%x = phi i32 [ 4, %entry ], [ 27, %then ] ; <i32> [#uses=0]
|
|
|
|
%result = phi i32 [ 32, %then ], [ 0, %entry ] ; <i32> [#uses=0]
|
|
|
|
ret i32 0
|
2003-05-12 02:27:05 +00:00
|
|
|
}
|
2008-03-10 07:21:50 +00:00
|
|
|
|