xref: /llvm-project/llvm/test/ExecutionEngine/MCJIT/2003-05-11-PHIRegAllocBug.ll (revision c42c67ad60449fe19949f2664c2a5878b3f72b7e)
1; RUN: %lli -jit-kind=mcjit %s > /dev/null
2; RUN: %lli %s > /dev/null
3
4define i32 @main() {
5entry:
6	br label %endif
7then:		; No predecessors!
8	br label %endif
9endif:		; preds = %then, %entry
10	%x = phi i32 [ 4, %entry ], [ 27, %then ]		; <i32> [#uses=0]
11	%result = phi i32 [ 32, %then ], [ 0, %entry ]		; <i32> [#uses=0]
12	ret i32 0
13}
14
15