mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 21:32:10 +00:00
fce288fc91
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81293 91177308-0d34-0410-b5e6-96231b3b80d8
13 lines
438 B
LLVM
13 lines
438 B
LLVM
; RUN: llc < %s -mtriple=armv5-unknown-linux-gnueabi -O0 -regalloc=local
|
|
; PR4100
|
|
@.str = external constant [30 x i8] ; <[30 x i8]*> [#uses=1]
|
|
|
|
define i16 @fn16(i16 %arg0.0, <2 x i16> %arg1, i16 %arg2.0) nounwind {
|
|
entry:
|
|
store <2 x i16> %arg1, <2 x i16>* null
|
|
%0 = call i32 (i8*, ...)* @printf(i8* getelementptr ([30 x i8]* @.str, i32 0, i32 0), i32 0) nounwind ; <i32> [#uses=0]
|
|
ret i16 0
|
|
}
|
|
|
|
declare i32 @printf(i8*, ...) nounwind
|