Danil Malyshev | bb8cef5 | 2012-05-17 21:07:47 +0000 | [diff] [blame] | 1 | ; RUN: %lli -use-mcjit %s > /dev/null |
2 | |||||
3 | target datalayout = "e-p:32:32" | ||||
4 | |||||
5 | define i32 @main() { | ||||
6 | entry: | ||||
7 | br label %endif | ||||
8 | then: ; No predecessors! | ||||
9 | br label %endif | ||||
10 | endif: ; preds = %then, %entry | ||||
11 | %x = phi i32 [ 4, %entry ], [ 27, %then ] ; <i32> [#uses=0] | ||||
12 | %result = phi i32 [ 32, %then ], [ 0, %entry ] ; <i32> [#uses=0] | ||||
13 | ret i32 0 | ||||
14 | } | ||||
15 |