2006-12-02 04:23:10 +00:00
|
|
|
; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm
|
2006-08-08 13:02:29 +00:00
|
|
|
%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]
|
2006-08-09 16:41:12 +00:00
|
|
|
%tmp2 = call int (sbyte*, ...)* %printf( sbyte* getelementptr ([43 x sbyte]* %str, int 0, uint 0), int 10, int 9, int 8, int 7, int 6, int 5, int 4, int 3, int 2, int 1 ) ; <int> [#uses=0]
|
|
|
|
ret int 11
|
2006-08-08 13:02:29 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
declare int %printf(sbyte*, ...)
|