llvm-6502/test/ExecutionEngine/2003-01-04-PhiTest.ll
Chris Lattner 3ddad6f277 New testcase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5263 91177308-0d34-0410-b5e6-96231b3b80d8
2003-01-13 20:02:16 +00:00

11 lines
175 B
LLVM

; 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
}