brintos

brintos / llvm-project-archived public Read only

0
0
Text · 425 B · ca1cf64 Raw
17 lines · plain
1; RUN: llc -mtriple=arm-eabi -mattr=+v6 %s -o /dev/null2; RUN: llc -mtriple=arm-apple-ios -mattr=+v6 %s -o - | FileCheck %s3 4define i32 @test(i32 %x) "frame-pointer"="all" {5        %tmp = trunc i32 %x to i16              ; <i16> [#uses=1]6        %tmp2 = call i32 @f( i32 1, i16 %tmp )             ; <i32> [#uses=1]7        ret i32 %tmp28}9 10declare i32 @f(i32, i16)11 12; CHECK: mov13; CHECK: mov14; CHECK: mov15; CHECK-NOT: mov16 17