llvm-6502/test/ExecutionEngine/2003-06-05-PHIBug.ll
Chris Lattner 340a2875b5 New testcase, the JIT currently handles this right, I just don't want to
reintroduce a bug that didn't have a testcase.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@6623 91177308-0d34-0410-b5e6-96231b3b80d8
2003-06-05 16:57:55 +00:00

17 lines
251 B
LLVM

; Testcase distilled from 256.bzip2.
target endian = little
target pointersize = 32
int %main() {
entry:
%X = add int 1, -1
br label %Next
Next:
%A = phi int [ %X, %entry ]
%B = phi int [ %X, %entry ]
%C = phi int [ %X, %entry ]
ret int %C
}