xref: /aosp_15_r20/external/llvm/test/ExecutionEngine/MCJIT/2003-05-11-PHIRegAllocBug.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1; RUN: %lli %s > /dev/null
2
3define 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
14