llvm-6502/test/ExecutionEngine/2003-01-04-PhiTest.ll
2003-09-15 20:02:53 +00:00

11 lines
180 B
LLVM

; RUN: llvm-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
}