1 ; RUN: llc -mtriple=armv7-apple-ios < %s | FileCheck %s
3 define swiftcc float @t1(float %a, float %b) {
8 %add = fadd float %a, %b
12 define swiftcc double @t2(double %a, double %b) {
17 %add = fadd double %a, %b
21 define swiftcc double @t9(double %d0, double %d1, double %d2, double %d3,
22 double %d4, double %d5, double %d6, double %d7, float %a, float %b) {
27 %add = fadd float %a, %b
28 %conv = fpext float %add to double
32 define swiftcc double @t10(double %d0, double %d1, double %d2, double %d3,
33 double %d4, double %d5, double %a, float %b, double %c) {
38 %add = fadd double %a, %c
42 define swiftcc float @t11(double %d0, double %d1, double %d2, double %d3,
43 double %d4, double %d5, double %d6, float %a, double %b, float %c) {
47 %add = fadd float %a, %c
51 define swiftcc double @t12(double %a, double %b) {
55 %add = fadd double %a, %b
56 %sub = fsub double %a, %b
57 %call = tail call swiftcc double @x(double 0.000000e+00, double 0.000000e+00,
58 double 0.000000e+00, double 0.000000e+00, double 0.000000e+00,
59 double 0.000000e+00, double %add, float 0.000000e+00,
64 declare swiftcc double @x(double, double, double, double, double, double,
65 double, float, double)
67 attributes #0 = { readnone }
68 attributes #1 = { readonly }