1 ; RUN: llc -mtriple=arm-eabi %s -o /dev/null
2 ; RUN: llc -mtriple=armv6-linux-gnueabi %s -o - | FileCheck %s
4 ; RUN: llc -mtriple=armv6-linux-gnu --frame-pointer=all %s -o - \
5 ; RUN: | FileCheck %s -check-prefix CHECK-FP-ELIM
7 ; RUN: llc -mtriple=armv6-apple-ios %s -o - \
8 ; RUN: | FileCheck %s -check-prefix CHECK-FP-ELIM
10 @str = internal constant [12 x i8] c"Hello World\00"
12 define i32 @main() "no-frame-pointer-elim"="true" {
13 %tmp = call i32 @puts( i8* getelementptr ([12 x i8], [12 x i8]* @str, i32 0, i64 0) ) ; <i32> [#uses=0]
17 declare i32 @puts(i8*)
26 ; CHECK-FP-ELIM-LABEL: main
29 ; CHECK-FP-ELIM-NOT: mov