mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-13 06:06:27 +00:00
dcd188d33f
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47110 91177308-0d34-0410-b5e6-96231b3b80d8
49 lines
1.2 KiB
LLVM
49 lines
1.2 KiB
LLVM
; RUN: llvm-as < %s | opt -licm -disable-output
|
|
target datalayout = "E-p:32:32"
|
|
target triple = "powerpc-apple-darwin8.7.0"
|
|
|
|
define void @glgRunProcessor() {
|
|
entry:
|
|
br i1 false, label %bb2037.i, label %cond_true.i18
|
|
|
|
cond_true.i18: ; preds = %entry
|
|
ret void
|
|
|
|
bb205.i: ; preds = %bb2037.i
|
|
switch i32 0, label %bb1013.i [
|
|
i32 14, label %bb239.i
|
|
i32 15, label %bb917.i
|
|
]
|
|
|
|
bb239.i: ; preds = %bb205.i
|
|
br i1 false, label %cond_false277.i, label %cond_true264.i
|
|
|
|
cond_true264.i: ; preds = %bb239.i
|
|
ret void
|
|
|
|
cond_false277.i: ; preds = %bb239.i
|
|
%tmp1062.i = getelementptr [2 x <4 x i32>]* null, i32 0, i32 1 ; <<4 x i32>*> [#uses=1]
|
|
store <4 x i32> zeroinitializer, <4 x i32>* %tmp1062.i
|
|
br i1 false, label %cond_true1032.i, label %cond_false1063.i85
|
|
|
|
bb917.i: ; preds = %bb205.i
|
|
ret void
|
|
|
|
bb1013.i: ; preds = %bb205.i
|
|
ret void
|
|
|
|
cond_true1032.i: ; preds = %cond_false277.i
|
|
%tmp1187.i = getelementptr [2 x <4 x i32>]* null, i32 0, i32 0, i32 7 ; <i32*> [#uses=1]
|
|
store i32 0, i32* %tmp1187.i
|
|
br label %bb2037.i
|
|
|
|
cond_false1063.i85: ; preds = %cond_false277.i
|
|
ret void
|
|
|
|
bb2037.i: ; preds = %cond_true1032.i, %entry
|
|
br i1 false, label %bb205.i, label %cond_next2042.i
|
|
|
|
cond_next2042.i: ; preds = %bb2037.i
|
|
ret void
|
|
}
|