mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-15 04:30:12 +00:00
3ddad6f277
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5263 91177308-0d34-0410-b5e6-96231b3b80d8
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
|
|
}
|