912e6f952dffa87964ac6a8f3c8320f6f042810f
[oota-llvm.git] / test / CodeGen / ARM / 2009-05-07-RegAllocLocal.ll
1 ; RUN: llc < %s -mtriple=armv5-unknown-linux-gnueabi -O0 -regalloc=local
2 ; RUN: llc < %s -mtriple=armv5-unknown-linux-gnueabi -O0 -regalloc=fast
3 ; PR4100
4 @.str = external constant [30 x i8]             ; <[30 x i8]*> [#uses=1]
5
6 define i16 @fn16(i16 %arg0.0, <2 x i16> %arg1, i16 %arg2.0) nounwind {
7 entry:
8         store <2 x i16> %arg1, <2 x i16>* null
9         %0 = call i32 (i8*, ...)* @printf(i8* getelementptr ([30 x i8]* @.str, i32 0, i32 0), i32 0) nounwind           ; <i32> [#uses=0]
10         ret i16 0
11 }
12
13 declare i32 @printf(i8*, ...) nounwind