aboutsummaryrefslogtreecommitdiffstats
path: root/test/ExecutionEngine/2003-01-04-PhiTest.ll
blob: 59d5fded0c390bc69440db56b1a970e9b6eaef2b (plain)
1
2
3
4
5
6
7
8
9
10
; RUN: as < %s | lli -force-interpreter=false

int %main() {
	br label %Loop
Loop:
	%X = phi int [0, %0], [1, %Loop]
	br bool true, label %Out, label %Loop
Out:
	ret int %X
}