blob: 2f9b1439a38ac8d9836290a5e000fad596b1b834 [file] [log] [blame]
Eric Christopher79cc1e32014-09-02 22:28:02 +00001; RUN: %lli %s > /dev/null
Danil Malyshev7c5db452012-05-17 21:07:47 +00002
Danil Malyshev7c5db452012-05-17 21:07:47 +00003define i32 @main() {
4entry:
5 br label %endif
6then: ; No predecessors!
7 br label %endif
8endif: ; 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