mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 06:30:19 +00:00
339c50873d
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12433 91177308-0d34-0410-b5e6-96231b3b80d8
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
|
|
}
|