Home | History | Annotate | Download | only in ARM
      1 ; RUN: llc -mtriple=arm-eabi %s -o /dev/null
      2 ; RUN: llc -mtriple=armv6-linux-gnueabi %s -o - | FileCheck %s
      3 
      4 ; RUN: llc -mtriple=armv6-linux-gnu --disable-fp-elim %s -o - \
      5 ; RUN:  | FileCheck %s -check-prefix CHECK-FP-ELIM
      6 
      7 ; RUN: llc -mtriple=armv6-apple-ios %s -o - \
      8 ; RUN:  | FileCheck %s -check-prefix CHECK-FP-ELIM
      9 
     10 @str = internal constant [12 x i8] c"Hello World\00"
     11 
     12 define i32 @main() {
     13 	%tmp = call i32 @puts( i8* getelementptr ([12 x i8], [12 x i8]* @str, i32 0, i64 0) )		; <i32> [#uses=0]
     14 	ret i32 0
     15 }
     16 
     17 declare i32 @puts(i8*)
     18 
     19 ; CHECK: mov
     20 ; CHECK-NOT: mov
     21 
     22 ; CHECK-FP-ELIM: mov
     23 ; CHECK-FP-ELIM: mov
     24 ; CHECK-FP-ELIM-NOT: mov
     25 
     26