mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-13 06:06:27 +00:00
fee0a9c7ef
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40629 91177308-0d34-0410-b5e6-96231b3b80d8
14 lines
299 B
LLVM
14 lines
299 B
LLVM
; RUN: llvm-as < %s | opt -loop-rotate -licm -loop-unswitch -disable-output
|
|
|
|
define i32 @main(i32 %argc, i8** %argv) {
|
|
entry:
|
|
br label %bb7
|
|
|
|
bb7: ; preds = %bb7, %entry
|
|
%tmp54 = icmp slt i32 0, 2000000 ; <i1> [#uses=1]
|
|
br i1 %tmp54, label %bb7, label %bb56
|
|
|
|
bb56: ; preds = %bb7
|
|
ret i32 0
|
|
}
|