68402d9889cc7c1c8c82555eb2aa0e075f106410
[oota-llvm.git] / test / ExecutionEngine / OrcJIT / 2003-05-11-PHIRegAllocBug.ll
1 ; RUN: %lli -use-orcmcjit %s > /dev/null
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