| Lang Hames | 9528bba | 2015-03-25 12:11:48 +0000 | [diff] [blame] | 1 | ; RUN: %lli -jit-kind=orc-mcjit %s > /dev/null |
| Lang Hames | 16bbaf1 | 2015-02-02 05:04:55 +0000 | [diff] [blame] | 2 | |
| 3 | define i32 @main() { | ||||
| 4 | entry: | ||||
| 5 | br label %endif | ||||
| 6 | then: ; No predecessors! | ||||
| 7 | br label %endif | ||||
| 8 | endif: ; preds = %then, %entry | ||||
| 9 | %x = phi i32 [ 4, %entry ], [ 27, %then ] ; <i32> [#uses=0] | ||||
| 10 | %result = phi i32 [ 32, %then ], [ 0, %entry ] ; <i32> [#uses=0] | ||||
| 11 | ret i32 0 | ||||
| 12 | } | ||||
| 13 | |||||