1 ; RUN: llc -mtriple=thumbv7-linux-gnueabihf %s -o - | FileCheck %s
3 define i64 @test_mismatched_call(double %in) {
4 ; CHECK-LABEL: test_mismatched_call:
6 ; CHECK: vmov r0, r1, d0
8 %val = tail call double @floor(double %in)
9 %res = bitcast double %val to i64
13 define double @test_matched_call(double %in) {
14 ; CHECK-LABEL: test_matched_call:
17 %val = tail call double @floor(double %in)
21 define void @test_irrelevant_call(double %in) {
22 ; CHECK-LABEL: test_irrelevant_call:
25 %val = tail call double @floor(double %in)
29 define arm_aapcscc double @test_callingconv(double %in) {
30 ; CHECK: test_callingconv:
33 %val = tail call double @floor(double %in)
37 declare double @floor(double) nounwind readonly