45279adbe57b33a3ea9dc4a7f463ec19386834bf
[oota-llvm.git] / test / ExecutionEngine / 2003-05-11-PHIRegAllocBug.ll
1 ; RUN: %lli %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