1 ; RUN: llc -mtriple=thumbv7k-apple-watchos2.0 -o - %s | FileCheck %s
3 declare double @sin(double) nounwind readnone
4 declare double @cos(double) nounwind readnone
6 define double @test_stret(double %in) {
7 ; CHECK-LABEL: test_stret:
8 ; CHECK: bl ___sincos_stret
10 ; CHECK: vadd.f64 d0, d0, d1
12 %sin = call double @sin(double %in)
13 %cos = call double @cos(double %in)
14 %sum = fadd double %sin, %cos