mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-16 00:16:50 +00:00
1a00946817
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29567 91177308-0d34-0410-b5e6-96231b3b80d8
13 lines
446 B
LLVM
13 lines
446 B
LLVM
; RUN: llvm-as < %s | llc -march=arm
|
|
%str = internal constant [43 x sbyte] c"Hello World %d %d %d %d %d %d %d %d %d %d\0A\00" ; <[43 x sbyte]*> [#uses=1]
|
|
|
|
implementation ; Functions:
|
|
|
|
int %main() {
|
|
entry:
|
|
%tmp = call int (sbyte*, ...)* %printf( sbyte* getelementptr ([43 x sbyte]* %str, int 0, uint 0), int 1, int 2, int 3, int 4, int 5, int 6, int 7, int 8, int 9, int 10 ) ; <int> [#uses=0]
|
|
ret int 0
|
|
}
|
|
|
|
declare int %printf(sbyte*, ...)
|