mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-17 03:30:28 +00:00
13 lines
209 B
LLVM
13 lines
209 B
LLVM
|
; RUN: llvm-as < %s | opt -loopsimplify -licm -disable-output
|
||
|
void %main() {
|
||
|
entry:
|
||
|
br bool false, label %Out, label %loop
|
||
|
|
||
|
loop:
|
||
|
%LI = setgt int 0, 0
|
||
|
br bool %LI, label %loop, label %Out
|
||
|
|
||
|
Out:
|
||
|
ret void
|
||
|
}
|