2012-01-16 09:56:09 +01:00
|
|
|
; RUN: %lli %s > /dev/null
|
2004-11-07 00:32:43 +01:00
|
|
|
|
2008-03-10 08:21:50 +01:00
|
|
|
target datalayout = "e-p:32:32"
|
2003-05-12 04:27:05 +02:00
|
|
|
|
2008-03-10 08:21:50 +01:00
|
|
|
define i32 @main() {
|
2003-05-12 04:27:05 +02:00
|
|
|
entry:
|
2003-05-12 04:31:48 +02:00
|
|
|
br label %endif
|
2008-03-10 08:21:50 +01:00
|
|
|
then: ; No predecessors!
|
2003-05-12 04:27:05 +02:00
|
|
|
br label %endif
|
2008-03-10 08:21:50 +01: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 04:27:05 +02:00
|
|
|
}
|
2008-03-10 08:21:50 +01:00
|
|
|
|