mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 06:30:19 +00:00
11 lines
175 B
LLVM
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
|
||
|
}
|