#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
double stress_funccall_double_1(double const);
double stress_funcdeep_double_7(double const, double const, double const,
                                double const, double const, double const,
                                double const);
double __attribute__((no))
stress_funcdeep_double_8(const double a, const double b, const double c,
                         const double d, const double e, const double f,
                         const double g, const double h) {
  return stress_funcdeep_double_7(h, g, f, e, d, c, b) +
         stress_funccall_double_1(a);
}


x86 assembly (clang, -O0):
<stress_funcdeep_double_8>:
push   %rbp
mov    %rsp,%rbp
sub    $0x50,%rsp
movsd  %xmm0,-0x8(%rbp)
movsd  %xmm1,-0x10(%rbp)
movsd  %xmm2,-0x18(%rbp)
movsd  %xmm3,-0x20(%rbp)
movsd  %xmm4,-0x28(%rbp)
movsd  %xmm5,-0x30(%rbp)
movsd  %xmm6,-0x38(%rbp)
movsd  %xmm7,-0x40(%rbp)
movsd  -0x40(%rbp),%xmm0
movsd  -0x38(%rbp),%xmm1
movsd  -0x30(%rbp),%xmm2
movsd  -0x28(%rbp),%xmm3
movsd  -0x20(%rbp),%xmm4
movsd  -0x18(%rbp),%xmm5
movsd  -0x10(%rbp),%xmm6
call   1030 <stress_funcdeep_double_7@plt>
movsd  %xmm0,-0x48(%rbp)
movsd  -0x8(%rbp),%xmm0
call   1040 <stress_funccall_double_1@plt>
movaps %xmm0,%xmm1
movsd  -0x48(%rbp),%xmm0
addsd  %xmm1,%xmm0
add    $0x50,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<stress_funcdeep_double_8>:
sub    $0x18,%rsp
movaps %xmm3,%xmm8
movaps %xmm2,%xmm9
movaps %xmm1,%xmm10
movsd  %xmm0,0x10(%rsp)
movaps %xmm7,%xmm0
movaps %xmm6,%xmm1
movaps %xmm5,%xmm2
movaps %xmm4,%xmm3
movaps %xmm8,%xmm4
movaps %xmm9,%xmm5
movaps %xmm10,%xmm6
call   1030 <stress_funcdeep_double_7@plt>
movsd  %xmm0,0x8(%rsp)
movsd  0x10(%rsp),%xmm0
call   1040 <stress_funccall_double_1@plt>
addsd  0x8(%rsp),%xmm0
add    $0x18,%rsp
ret

LLVM IR (-O0):
define double @stress_funcdeep_double_8(double %0, double %1, double %2, double %3, double %4, double %5, double %6, double %7) {
%9 = alloca double
%10 = alloca double
%11 = alloca double
%12 = alloca double
%13 = alloca double
%14 = alloca double
%15 = alloca double
%16 = alloca double
store double %0, double* %9
store double %1, double* %10
store double %2, double* %11
store double %3, double* %12
store double %4, double* %13
store double %5, double* %14
store double %6, double* %15
store double %7, double* %16
%17 = load double, double* %16
%18 = load double, double* %15
%19 = load double, double* %14
%20 = load double, double* %13
%21 = load double, double* %12
%22 = load double, double* %11
%23 = load double, double* %10
%24 = call double @stress_funcdeep_double_7(double %17, double %18, double %19, double %20, double %21, double %22, double %23)
%25 = load double, double* %9
%26 = call double @stress_funccall_double_1(double %25)
%27 = fadd double %24, %26
ret double %27
}

LLVM IR (-O2):
define double @stress_funcdeep_double_8(double %0, double %1, double %2, double %3, double %4, double %5, double %6, double %7) {
%9 = tail call double @stress_funcdeep_double_7(double %7, double %6, double %5, double %4, double %3, double %2, double %1)
%10 = tail call double @stress_funccall_double_1(double %0)
%11 = fadd double %9, %10
ret double %11
}