1 ; RUN: llc -mtriple=arm-eabi -mattr=+v6 %s -o /dev/null
2 ; RUN: llc -mtriple=arm-apple-ios -mattr=+v6 %s -o - | FileCheck %s
4 define i32 @test(i32 %x) "no-frame-pointer-elim"="true" {
5 %tmp = trunc i32 %x to i16 ; <i16> [#uses=1]
6 %tmp2 = call i32 @f( i32 1, i16 %tmp ) ; <i32> [#uses=1]
10 declare i32 @f(i32, i16)