mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-30 02:32:08 +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
|
||
|
}
|