#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 */
typedef int uint32_t;
typedef double uint16_t;
typedef scalar_t__ int32_t;

/* Variables and functions */
void __gauss16_line(uint16_t *src, uint16_t *out, float *line, float *coefs,
                    uint32_t width, uint32_t height) {
  float a0 = (*(coefs + 0));
  float a1 = (*(coefs + 1));
  float a2 = (*(coefs + 2));
  float a3 = (*(coefs + 3));
  float b1 = (*(coefs + 4));
  float b2 = (*(coefs + 5));
  double prev_src;
  double curr_src;
  double curr_out;
  double prev_out;
  double prev_prev_out;
  prev_src = (double)(*src);
  prev_prev_out = prev_src * (*(coefs + 6));
  prev_out = prev_prev_out;
  for (int32_t i = width - 1; i >= 0; i--) {
    curr_src = (double)(*src++);
    curr_out =
        curr_src * a0 + prev_src * a1 + prev_out * b1 + prev_prev_out * b2;
    prev_prev_out = prev_out;
    prev_out = curr_out;
    prev_src = curr_src;
    *line = prev_out;
    line++;
  }
  src--;
  line--;
  out += height * (width - 1);
  prev_src = (double)(*src);
  prev_prev_out = prev_src * (*(coefs + 7));
  prev_out = prev_prev_out;
  curr_src = prev_src;
  for (int32_t i = width - 1; i >= 0; i--) {
    curr_out =
        curr_src * a2 + prev_src * a3 + prev_out * b1 + prev_prev_out * b2;
    prev_prev_out = prev_out;
    prev_out = curr_out;
    prev_src = curr_src;
    curr_src = (double)(*src--);
    *out = (*line--) + prev_out;
    out -= height;
  }
}


x86 assembly (clang, -O0):
<__gauss16_line>:
push   %rbp
mov    %rsp,%rbp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    %rcx,-0x20(%rbp)
mov    %r8d,-0x24(%rbp)
mov    %r9d,-0x28(%rbp)
mov    -0x20(%rbp),%rax
movss  (%rax),%xmm0
movss  %xmm0,-0x2c(%rbp)
mov    -0x20(%rbp),%rax
movss  0x4(%rax),%xmm0
movss  %xmm0,-0x30(%rbp)
mov    -0x20(%rbp),%rax
movss  0x8(%rax),%xmm0
movss  %xmm0,-0x34(%rbp)
mov    -0x20(%rbp),%rax
movss  0xc(%rax),%xmm0
movss  %xmm0,-0x38(%rbp)
mov    -0x20(%rbp),%rax
movss  0x10(%rax),%xmm0
movss  %xmm0,-0x3c(%rbp)
mov    -0x20(%rbp),%rax
movss  0x14(%rax),%xmm0
movss  %xmm0,-0x40(%rbp)
mov    -0x8(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x48(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movss  0x18(%rax),%xmm1
cvtss2sd %xmm1,%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x68(%rbp),%xmm0
movsd  %xmm0,-0x60(%rbp)
mov    -0x24(%rbp),%eax
sub    $0x1,%eax
cltq
mov    %rax,-0x70(%rbp)
cmpq   $0x0,-0x70(%rbp)
jl     1275 <__gauss16_line+0x175>
mov    -0x8(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x8(%rbp)
movsd  (%rax),%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x50(%rbp),%xmm0
movss  -0x2c(%rbp),%xmm1
cvtss2sd %xmm1,%xmm2
movsd  -0x48(%rbp),%xmm1
movss  -0x30(%rbp),%xmm3
cvtss2sd %xmm3,%xmm3
mulsd  %xmm3,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  -0x60(%rbp),%xmm1
movss  -0x3c(%rbp),%xmm2
cvtss2sd %xmm2,%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x68(%rbp),%xmm0
movss  -0x40(%rbp),%xmm2
cvtss2sd %xmm2,%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x60(%rbp),%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x58(%rbp),%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x50(%rbp),%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x60(%rbp),%xmm0
cvtsd2ss %xmm0,%xmm0
mov    -0x18(%rbp),%rax
movss  %xmm0,(%rax)
mov    -0x18(%rbp),%rax
add    $0x4,%rax
mov    %rax,-0x18(%rbp)
mov    -0x70(%rbp),%rax
add    $0xffffffffffffffff,%rax
mov    %rax,-0x70(%rbp)
jmp    11ad <__gauss16_line+0xad>
mov    -0x8(%rbp),%rax
add    $0xfffffffffffffff8,%rax
mov    %rax,-0x8(%rbp)
mov    -0x18(%rbp),%rax
add    $0xfffffffffffffffc,%rax
mov    %rax,-0x18(%rbp)
mov    -0x28(%rbp),%ecx
mov    -0x24(%rbp),%eax
sub    $0x1,%eax
imul   %eax,%ecx
mov    -0x10(%rbp),%rax
movslq %ecx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x10(%rbp)
mov    -0x8(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x48(%rbp),%xmm0
mov    -0x20(%rbp),%rax
movss  0x1c(%rax),%xmm1
cvtss2sd %xmm1,%xmm1
mulsd  %xmm1,%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x68(%rbp),%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x48(%rbp),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x24(%rbp),%eax
sub    $0x1,%eax
cltq
mov    %rax,-0x78(%rbp)
cmpq   $0x0,-0x78(%rbp)
jl     13dc <__gauss16_line+0x2dc>
movsd  -0x50(%rbp),%xmm0
movss  -0x34(%rbp),%xmm1
cvtss2sd %xmm1,%xmm2
movsd  -0x48(%rbp),%xmm1
movss  -0x38(%rbp),%xmm3
cvtss2sd %xmm3,%xmm3
mulsd  %xmm3,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  -0x60(%rbp),%xmm1
movss  -0x3c(%rbp),%xmm2
cvtss2sd %xmm2,%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  -0x68(%rbp),%xmm0
movss  -0x40(%rbp),%xmm2
cvtss2sd %xmm2,%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x60(%rbp),%xmm0
movsd  %xmm0,-0x68(%rbp)
movsd  -0x58(%rbp),%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x50(%rbp),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,%rcx
add    $0xfffffffffffffff8,%rcx
mov    %rcx,-0x8(%rbp)
movsd  (%rax),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x18(%rbp),%rax
mov    %rax,%rcx
add    $0xfffffffffffffffc,%rcx
mov    %rcx,-0x18(%rbp)
movss  (%rax),%xmm0
cvtss2sd %xmm0,%xmm0
addsd  -0x60(%rbp),%xmm0
mov    -0x10(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x28(%rbp),%ecx
mov    -0x10(%rbp),%rax
movslq %ecx,%rdx
xor    %ecx,%ecx
sub    %rdx,%rcx
shl    $0x3,%rcx
add    %rcx,%rax
mov    %rax,-0x10(%rbp)
mov    -0x78(%rbp),%rax
add    $0xffffffffffffffff,%rax
mov    %rax,-0x78(%rbp)
jmp    12f3 <__gauss16_line+0x1f3>
pop    %rbp
ret

x86 assembly (clang, -O2):
<__gauss16_line>:
test   %r8d,%r8d
jle    12ef <__gauss16_line+0x1ef>
movss  0x8(%rcx),%xmm8
movss  0xc(%rcx),%xmm9
movss  0x10(%rcx),%xmm0
movss  0x14(%rcx),%xmm1
movsd  (%rdi),%xmm7
movss  0x18(%rcx),%xmm2
cvtss2sd %xmm2,%xmm4
mulsd  %xmm7,%xmm4
lea    -0x1(%r8),%r10d
movslq %r10d,%r11
movss  (%rcx),%xmm2
movss  0x4(%rcx),%xmm3
cvtss2sd %xmm2,%xmm5
cvtss2sd %xmm3,%xmm6
cvtss2sd %xmm0,%xmm10
cvtss2sd %xmm1,%xmm1
movapd %xmm7,%xmm2
mulsd  %xmm6,%xmm2
movapd %xmm7,%xmm3
mulsd  %xmm5,%xmm3
addsd  %xmm2,%xmm3
movapd %xmm4,%xmm0
mulsd  %xmm10,%xmm0
addsd  %xmm3,%xmm0
movapd %xmm4,%xmm2
mulsd  %xmm1,%xmm2
addsd  %xmm0,%xmm2
xorps  %xmm0,%xmm0
cvtsd2ss %xmm2,%xmm0
movss  %xmm0,(%rdx)
cmp    $0x1,%r8d
je     11f7 <__gauss16_line+0xf7>
lea    0x1(%r11),%rax
cs nopw 0x0(%rax,%rax,1)
nopl   (%rax)
movapd %xmm2,%xmm3
movsd  0x8(%rdi),%xmm0
add    $0x8,%rdi
mulsd  %xmm6,%xmm7
movapd %xmm0,%xmm2
mulsd  %xmm5,%xmm2
addsd  %xmm7,%xmm2
movapd %xmm3,%xmm7
mulsd  %xmm10,%xmm7
addsd  %xmm2,%xmm7
mulsd  %xmm1,%xmm4
addsd  %xmm7,%xmm4
xorps  %xmm2,%xmm2
cvtsd2ss %xmm4,%xmm2
movss  %xmm2,0x4(%rdx)
add    $0x4,%rdx
add    $0xffffffffffffffff,%rax
movaps %xmm4,%xmm2
movapd %xmm3,%xmm4
movapd %xmm0,%xmm7
cmp    $0x1,%rax
jg     11a0 <__gauss16_line+0xa0>
test   %r8d,%r8d
jle    12ef <__gauss16_line+0x1ef>
movsd  (%rdi),%xmm5
movss  0x1c(%rcx),%xmm0
xorps  %xmm4,%xmm4
cvtss2sd %xmm0,%xmm4
mulsd  %xmm5,%xmm4
imul   %r9d,%r10d
movslq %r10d,%rax
cvtss2sd %xmm8,%xmm8
xorps  %xmm3,%xmm3
cvtss2sd %xmm9,%xmm3
movapd %xmm5,%xmm0
mulsd  %xmm3,%xmm0
movapd %xmm5,%xmm2
mulsd  %xmm8,%xmm2
addsd  %xmm0,%xmm2
movapd %xmm4,%xmm0
mulsd  %xmm10,%xmm0
addsd  %xmm2,%xmm0
movapd %xmm4,%xmm7
mulsd  %xmm1,%xmm7
addsd  %xmm0,%xmm7
movss  (%rdx),%xmm0
cvtss2sd %xmm0,%xmm0
addsd  %xmm7,%xmm0
movsd  %xmm0,(%rsi,%rax,8)
cmp    $0x1,%r8d
je     12ef <__gauss16_line+0x1ef>
movslq %r9d,%r8
sub    %r8,%rax
lea    (%rsi,%rax,8),%rsi
shl    $0x3,%r8
neg    %r8
add    $0x1,%r11
xor    %eax,%eax
movapd %xmm5,%xmm6
nopl   0x0(%rax)
movapd %xmm7,%xmm2
mulsd  %xmm3,%xmm5
movapd %xmm6,%xmm0
mulsd  %xmm8,%xmm0
addsd  %xmm5,%xmm0
movapd %xmm6,%xmm5
movsd  -0x8(%rdi,%rax,8),%xmm6
mulsd  %xmm10,%xmm7
addsd  %xmm0,%xmm7
mulsd  %xmm1,%xmm4
addsd  %xmm7,%xmm4
movss  -0x4(%rdx,%rax,4),%xmm0
cvtss2sd %xmm0,%xmm0
addsd  %xmm4,%xmm0
movsd  %xmm0,(%rsi)
add    %r8,%rsi
lea    (%r11,%rax,1),%rcx
add    $0xffffffffffffffff,%rcx
add    $0xffffffffffffffff,%rax
movapd %xmm4,%xmm7
movapd %xmm2,%xmm4
cmp    $0x1,%rcx
jg     1290 <__gauss16_line+0x190>
ret

LLVM IR (-O0):
define void @__gauss16_line(double* %0, double* %1, float* %2, float* %3, i32 %4, i32 %5) {
%7 = alloca double*
%8 = alloca double*
%9 = alloca float*
%10 = alloca float*
%11 = alloca i32
%12 = alloca i32
%13 = alloca float
%14 = alloca float
%15 = alloca float
%16 = alloca float
%17 = alloca float
%18 = alloca float
%19 = alloca double
%20 = alloca double
%21 = alloca double
%22 = alloca double
%23 = alloca double
%24 = alloca i64
%25 = alloca i64
store double* %0, double** %7
store double* %1, double** %8
store float* %2, float** %9
store float* %3, float** %10
store i32 %4, i32* %11
store i32 %5, i32* %12
%26 = load float*, float** %10
%27 = getelementptr inbounds float, float* %26, i64 0
%28 = load float, float* %27
store float %28, float* %13
%29 = load float*, float** %10
%30 = getelementptr inbounds float, float* %29, i64 1
%31 = load float, float* %30
store float %31, float* %14
%32 = load float*, float** %10
%33 = getelementptr inbounds float, float* %32, i64 2
%34 = load float, float* %33
store float %34, float* %15
%35 = load float*, float** %10
%36 = getelementptr inbounds float, float* %35, i64 3
%37 = load float, float* %36
store float %37, float* %16
%38 = load float*, float** %10
%39 = getelementptr inbounds float, float* %38, i64 4
%40 = load float, float* %39
store float %40, float* %17
%41 = load float*, float** %10
%42 = getelementptr inbounds float, float* %41, i64 5
%43 = load float, float* %42
store float %43, float* %18
%44 = load double*, double** %7
%45 = load double, double* %44
store double %45, double* %19
%46 = load double, double* %19
%47 = load float*, float** %10
%48 = getelementptr inbounds float, float* %47, i64 6
%49 = load float, float* %48
%50 = fpext float %49 to double
%51 = fmul double %46, %50
store double %51, double* %23
%52 = load double, double* %23
store double %52, double* %22
%53 = load i32, i32* %11
%54 = sub nsw i32 %53, 1
%55 = sext i32 %54 to i64
store i64 %55, i64* %24
br label %56
56: ; preds = %87, %6
%57 = load i64, i64* %24
%58 = icmp sge i64 %57, 0
br i1 %58, label %59, label %90
59: ; preds = %56
%60 = load double*, double** %7
%61 = getelementptr inbounds double, double* %60, i32 1
store double* %61, double** %7
%62 = load double, double* %60
store double %62, double* %20
%63 = load double, double* %20
%64 = load float, float* %13
%65 = fpext float %64 to double
%66 = load double, double* %19
%67 = load float, float* %14
%68 = fpext float %67 to double
%69 = fmul double %66, %68
%70 = call double @llvm.fmuladd.f64(double %63, double %65, double %69)
%71 = load double, double* %22
%72 = load float, float* %17
%73 = fpext float %72 to double
%74 = call double @llvm.fmuladd.f64(double %71, double %73, double %70)
%75 = load double, double* %23
%76 = load float, float* %18
%77 = fpext float %76 to double
%78 = call double @llvm.fmuladd.f64(double %75, double %77, double %74)
store double %78, double* %21
%79 = load double, double* %22
store double %79, double* %23
%80 = load double, double* %21
store double %80, double* %22
%81 = load double, double* %20
store double %81, double* %19
%82 = load double, double* %22
%83 = fptrunc double %82 to float
%84 = load float*, float** %9
store float %83, float* %84
%85 = load float*, float** %9
%86 = getelementptr inbounds float, float* %85, i32 1
store float* %86, float** %9
br label %87
87: ; preds = %59
%88 = load i64, i64* %24
%89 = add nsw i64 %88, -1
store i64 %89, i64* %24
br label %56
90: ; preds = %56
%91 = load double*, double** %7
%92 = getelementptr inbounds double, double* %91, i32 -1
store double* %92, double** %7
%93 = load float*, float** %9
%94 = getelementptr inbounds float, float* %93, i32 -1
store float* %94, float** %9
%95 = load i32, i32* %12
%96 = load i32, i32* %11
%97 = sub nsw i32 %96, 1
%98 = mul nsw i32 %95, %97
%99 = load double*, double** %8
%100 = sext i32 %98 to i64
%101 = getelementptr inbounds double, double* %99, i64 %100
store double* %101, double** %8
%102 = load double*, double** %7
%103 = load double, double* %102
store double %103, double* %19
%104 = load double, double* %19
%105 = load float*, float** %10
%106 = getelementptr inbounds float, float* %105, i64 7
%107 = load float, float* %106
%108 = fpext float %107 to double
%109 = fmul double %104, %108
store double %109, double* %23
%110 = load double, double* %23
store double %110, double* %22
%111 = load double, double* %19
store double %111, double* %20
%112 = load i32, i32* %11
%113 = sub nsw i32 %112, 1
%114 = sext i32 %113 to i64
store i64 %114, i64* %25
br label %115
115: ; preds = %153, %90
%116 = load i64, i64* %25
%117 = icmp sge i64 %116, 0
br i1 %117, label %118, label %156
118: ; preds = %115
%119 = load double, double* %20
%120 = load float, float* %15
%121 = fpext float %120 to double
%122 = load double, double* %19
%123 = load float, float* %16
%124 = fpext float %123 to double
%125 = fmul double %122, %124
%126 = call double @llvm.fmuladd.f64(double %119, double %121, double %125)
%127 = load double, double* %22
%128 = load float, float* %17
%129 = fpext float %128 to double
%130 = call double @llvm.fmuladd.f64(double %127, double %129, double %126)
%131 = load double, double* %23
%132 = load float, float* %18
%133 = fpext float %132 to double
%134 = call double @llvm.fmuladd.f64(double %131, double %133, double %130)
store double %134, double* %21
%135 = load double, double* %22
store double %135, double* %23
%136 = load double, double* %21
store double %136, double* %22
%137 = load double, double* %20
store double %137, double* %19
%138 = load double*, double** %7
%139 = getelementptr inbounds double, double* %138, i32 -1
store double* %139, double** %7
%140 = load double, double* %138
store double %140, double* %20
%141 = load float*, float** %9
%142 = getelementptr inbounds float, float* %141, i32 -1
store float* %142, float** %9
%143 = load float, float* %141
%144 = fpext float %143 to double
%145 = load double, double* %22
%146 = fadd double %144, %145
%147 = load double*, double** %8
store double %146, double* %147
%148 = load i32, i32* %12
%149 = load double*, double** %8
%150 = sext i32 %148 to i64
%151 = sub i64 0, %150
%152 = getelementptr inbounds double, double* %149, i64 %151
store double* %152, double** %8
br label %153
153: ; preds = %118
%154 = load i64, i64* %25
%155 = add nsw i64 %154, -1
store i64 %155, i64* %25
br label %115
156: ; preds = %115
ret void
}

LLVM IR (-O2):
define void @__gauss16_line(double* nocapture %0, double* nocapture writeonly %1, float* nocapture %2, float* nocapture %3, i32 %4, i32 %5) {
%7 = getelementptr inbounds float, float* %3, i64 2
%8 = load float, float* %7
%9 = getelementptr inbounds float, float* %3, i64 3
%10 = load float, float* %9
%11 = getelementptr inbounds float, float* %3, i64 4
%12 = load float, float* %11
%13 = getelementptr inbounds float, float* %3, i64 5
%14 = load float, float* %13
%15 = load double, double* %0
%16 = getelementptr inbounds float, float* %3, i64 6
%17 = load float, float* %16
%18 = fpext float %17 to double
%19 = fmul double %15, %18
%20 = add nsw i32 %4, -1
%21 = sext i32 %20 to i64
%22 = icmp sgt i32 %4, 0
br i1 %22, label %23, label %80
23: ; preds = %6
%24 = getelementptr inbounds float, float* %3, i64 1
%25 = load float, float* %24
%26 = load float, float* %3
%27 = fpext float %26 to double
%28 = fpext float %25 to double
%29 = fpext float %12 to double
%30 = fpext float %14 to double
%31 = fmul double %15, %28
%32 = tail call double @llvm.fmuladd.f64(double %15, double %27, double %31)
%33 = tail call double @llvm.fmuladd.f64(double %19, double %29, double %32)
%34 = tail call double @llvm.fmuladd.f64(double %19, double %30, double %33)
%35 = fptrunc double %34 to float
store float %35, float* %2
%36 = icmp eq i32 %4, 1
br i1 %36, label %37, label %63
37: ; preds = %63, %23
%38 = phi double* [ %0, %23 ], [ %71, %63 ]
%39 = phi float* [ %2, %23 ], [ %70, %63 ]
%40 = load double, double* %38
%41 = getelementptr inbounds float, float* %3, i64 7
%42 = load float, float* %41
%43 = fpext float %42 to double
%44 = fmul double %40, %43
br i1 %22, label %45, label %80
45: ; preds = %37
%46 = mul nsw i32 %20, %5
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds double, double* %1, i64 %47
%49 = fpext float %8 to double
%50 = fpext float %10 to double
%51 = fpext float %12 to double
%52 = fpext float %14 to double
%53 = sext i32 %5 to i64
%54 = sub nsw i64 0, %53
%55 = fmul double %40, %50
%56 = tail call double @llvm.fmuladd.f64(double %40, double %49, double %55)
%57 = tail call double @llvm.fmuladd.f64(double %44, double %51, double %56)
%58 = tail call double @llvm.fmuladd.f64(double %44, double %52, double %57)
%59 = load float, float* %39
%60 = fpext float %59 to double
%61 = fadd double %58, %60
store double %61, double* %48
%62 = icmp eq i32 %4, 1
br i1 %62, label %80, label %81
63: ; preds = %23, %63
%64 = phi float* [ %70, %63 ], [ %2, %23 ]
%65 = phi double [ %77, %63 ], [ %34, %23 ]
%66 = phi double* [ %71, %63 ], [ %0, %23 ]
%67 = phi double [ %65, %63 ], [ %19, %23 ]
%68 = phi i64 [ %72, %63 ], [ %21, %23 ]
%69 = phi double [ %73, %63 ], [ %15, %23 ]
%70 = getelementptr inbounds float, float* %64, i64 1
%71 = getelementptr inbounds double, double* %66, i64 1
%72 = add nsw i64 %68, -1
%73 = load double, double* %71
%74 = fmul double %69, %28
%75 = tail call double @llvm.fmuladd.f64(double %73, double %27, double %74)
%76 = tail call double @llvm.fmuladd.f64(double %65, double %29, double %75)
%77 = tail call double @llvm.fmuladd.f64(double %67, double %30, double %76)
%78 = fptrunc double %77 to float
store float %78, float* %70
%79 = icmp sgt i64 %68, 1
br i1 %79, label %63, label %37
80: ; preds = %81, %45, %6, %37
ret void
81: ; preds = %45, %81
%82 = phi double* [ %90, %81 ], [ %38, %45 ]
%83 = phi double [ %98, %81 ], [ %58, %45 ]
%84 = phi float* [ %94, %81 ], [ %39, %45 ]
%85 = phi double* [ %92, %81 ], [ %48, %45 ]
%86 = phi double [ %89, %81 ], [ %40, %45 ]
%87 = phi double [ %83, %81 ], [ %44, %45 ]
%88 = phi i64 [ %91, %81 ], [ %21, %45 ]
%89 = phi double [ %93, %81 ], [ %40, %45 ]
%90 = getelementptr inbounds double, double* %82, i64 -1
%91 = add nsw i64 %88, -1
%92 = getelementptr inbounds double, double* %85, i64 %54
%93 = load double, double* %90
%94 = getelementptr inbounds float, float* %84, i64 -1
%95 = fmul double %86, %50
%96 = tail call double @llvm.fmuladd.f64(double %89, double %49, double %95)
%97 = tail call double @llvm.fmuladd.f64(double %83, double %51, double %96)
%98 = tail call double @llvm.fmuladd.f64(double %87, double %52, double %97)
%99 = load float, float* %94
%100 = fpext float %99 to double
%101 = fadd double %98, %100
store double %101, double* %92
%102 = icmp sgt i64 %88, 1
br i1 %102, label %81, label %80
}