Home | History | Annotate | Download | only in ARM
      1 ; RUN: llc < %s -march=arm -mattr=+v6
      2 ; RUN: llc < %s -mtriple=arm-apple-darwin -mattr=+v6 |\
      3 ; RUN:   grep mov | count 3
      4 
      5 define i32 @test(i32 %x) {
      6         %tmp = trunc i32 %x to i16              ; <i16> [#uses=1]
      7         %tmp2 = call i32 @f( i32 1, i16 %tmp )             ; <i32> [#uses=1]
      8         ret i32 %tmp2
      9 }
     10 
     11 declare i32 @f(i32, i16)
     12