mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-24 22:32:47 +00:00
d0abb7a2ec
that is not careful, so I'm checking it into the generic tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21190 91177308-0d34-0410-b5e6-96231b3b80d8
22 lines
630 B
LLVM
22 lines
630 B
LLVM
; RUN: llvm-as < %s | llc
|
|
%struct.TypHeader = type { uint, %struct.TypHeader**, [3 x sbyte], ubyte }
|
|
%.str_67 = external global [4 x sbyte] ; <[4 x sbyte]*> [#uses=1]
|
|
%.str_87 = external global [17 x sbyte] ; <[17 x sbyte]*> [#uses=1]
|
|
|
|
implementation ; Functions:
|
|
|
|
void %PrBinop() {
|
|
entry:
|
|
br bool false, label %cond_true, label %else.0
|
|
|
|
cond_true: ; preds = %entry
|
|
br label %else.0
|
|
|
|
else.0:
|
|
%tmp.167.1 = phi int [ cast ([17 x sbyte]* %.str_87 to int), %entry ], [ 0, %cond_true ]
|
|
call void %Pr( sbyte* getelementptr ([4 x sbyte]* %.str_67, int 0, int 0), int 0, int 0 )
|
|
ret void
|
|
}
|
|
|
|
declare void %Pr(sbyte*, int, int)
|