1
0
mirror of https://github.com/c64scene-ar/llvm-6502.git synced 2025-02-23 20:29:30 +00:00

12 lines
188 B
LLVM
Raw Normal View History

; RUN: llvm-as -f %s -o %t.bc
; RUN: lli %t.bc > /dev/null
int %main() {
br label %Loop
Loop:
%X = phi int [0, %0], [1, %Loop]
br bool true, label %Out, label %Loop
Out:
ret int %X
}