2009-09-09 02:09:15 +02:00
|
|
|
; RUN: llc < %s -march=arm
|
2008-02-17 21:02:20 +01:00
|
|
|
@str = internal constant [43 x i8] c"Hello World %d %d %d %d %d %d %d %d %d %d\0A\00" ; <[43 x i8]*> [#uses=1]
|
2006-08-08 15:02:29 +02:00
|
|
|
|
2008-02-17 21:02:20 +01:00
|
|
|
define i32 @main() {
|
2006-08-08 15:02:29 +02:00
|
|
|
entry:
|
2008-02-17 21:02:20 +01:00
|
|
|
%tmp = call i32 (i8*, ...)* @printf( i8* getelementptr ([43 x i8]* @str, i32 0, i64 0), i32 1, i32 2, i32 3, i32 4, i32 5, i32 6, i32 7, i32 8, i32 9, i32 10 ) ; <i32> [#uses=0]
|
|
|
|
%tmp2 = call i32 (i8*, ...)* @printf( i8* getelementptr ([43 x i8]* @str, i32 0, i64 0), i32 10, i32 9, i32 8, i32 7, i32 6, i32 5, i32 4, i32 3, i32 2, i32 1 ) ; <i32> [#uses=0]
|
|
|
|
ret i32 11
|
2006-08-08 15:02:29 +02:00
|
|
|
}
|
|
|
|
|
2008-02-17 21:02:20 +01:00
|
|
|
declare i32 @printf(i8*, ...)
|
|
|
|
|