int buildVectorBsol(int nlev, double Ag, double mu0, double *ar_a13_c,
                    double *ar_a13_f, double *ar_a23_c, double *ar_a23_f,
                    double *ar_S_c, double *ar_S_f, double *ar_p1,
                    double *ar_p3, double *vectB) {
  int i;
  int j;
  vectB[0] = ar_a13_f[0] * ar_S_f[0];
  vectB[1] = ar_a13_c[0] * ar_S_c[0];
  vectB[2] = 0.0;
  vectB[3] = 0.0;
  for (i = 1; i < (nlev - 1); i++) {
    j = 4 * i;
    vectB[j] =
        ar_a13_f[i] * (ar_p1[i] * ar_S_f[i] + (1.0 - ar_p3[i]) * ar_S_c[i]);
    vectB[j + 1] =
        ar_a13_c[i] * ((1.0 - ar_p1[i]) * ar_S_f[i] + ar_p3[i] * ar_S_c[i]);
    vectB[j + 2] = ar_a23_f[i - 1] * (ar_p1[i - 1] * ar_S_f[i - 1] +
                                      (1.0 - ar_p3[i - 1]) * ar_S_c[i - 1]);
    vectB[j + 3] = ar_a23_c[i - 1] * ((1.0 - ar_p1[i - 1]) * ar_S_f[i - 1] +
                                      ar_p3[i - 1] * ar_S_c[i - 1]);
  }
  j = 4 * (nlev - 1);
  vectB[j] = Ag * mu0 * ar_S_f[nlev - 1];
  vectB[j + 1] = Ag * mu0 * ar_S_c[nlev - 1];
  vectB[j + 2] =
      ar_a23_f[nlev - 2] * (ar_p1[nlev - 2] * ar_S_f[nlev - 2] +
                            (1.0 - ar_p3[nlev - 2]) * ar_S_c[nlev - 2]);
  vectB[j + 3] =
      ar_a23_c[nlev - 2] * ((1.0 - ar_p1[nlev - 2]) * ar_S_f[nlev - 2] +
                            ar_p3[nlev - 2] * ar_S_c[nlev - 2]);
  return 0;
}


x86 assembly (clang, -O0):
<buildVectorBsol>:
push   %rbp
mov    %rsp,%rbp
mov    0x28(%rbp),%rax
mov    0x20(%rbp),%rax
mov    0x18(%rbp),%rax
mov    0x10(%rbp),%rax
mov    %edi,-0x4(%rbp)
movsd  %xmm0,-0x10(%rbp)
movsd  %xmm1,-0x18(%rbp)
mov    %rsi,-0x20(%rbp)
mov    %rdx,-0x28(%rbp)
mov    %rcx,-0x30(%rbp)
mov    %r8,-0x38(%rbp)
mov    %r9,-0x40(%rbp)
mov    -0x28(%rbp),%rax
movsd  (%rax),%xmm0
mov    0x10(%rbp),%rax
mulsd  (%rax),%xmm0
mov    0x28(%rbp),%rax
movsd  %xmm0,(%rax)
mov    -0x20(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x40(%rbp),%rax
mulsd  (%rax),%xmm0
mov    0x28(%rbp),%rax
movsd  %xmm0,0x8(%rax)
mov    0x28(%rbp),%rax
xorps  %xmm0,%xmm0
movsd  %xmm0,0x10(%rax)
mov    0x28(%rbp),%rax
xorps  %xmm0,%xmm0
movsd  %xmm0,0x18(%rax)
movl   $0x1,-0x44(%rbp)
mov    -0x44(%rbp),%eax
mov    -0x4(%rbp),%ecx
sub    $0x1,%ecx
cmp    %ecx,%eax
jge    1376 <buildVectorBsol+0x276>
mov    -0x44(%rbp),%eax
shl    $0x2,%eax
mov    %eax,-0x48(%rbp)
mov    -0x28(%rbp),%rax
movslq -0x44(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    0x18(%rbp),%rax
movslq -0x44(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm1
mov    0x10(%rbp),%rax
movslq -0x44(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm3
mov    0x20(%rbp),%rax
movslq -0x44(%rbp),%rcx
movsd  0xe2a(%rip),%xmm2
subsd  (%rax,%rcx,8),%xmm2
mov    -0x40(%rbp),%rax
movslq -0x44(%rbp),%rcx
mulsd  (%rax,%rcx,8),%xmm2
mulsd  %xmm3,%xmm1
addsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
mov    0x28(%rbp),%rax
movslq -0x48(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x20(%rbp),%rax
movslq -0x44(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    0x18(%rbp),%rax
movslq -0x44(%rbp),%rcx
movsd  0xde2(%rip),%xmm1
subsd  (%rax,%rcx,8),%xmm1
mov    0x10(%rbp),%rax
movslq -0x44(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm3
mov    0x20(%rbp),%rax
movslq -0x44(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
mov    -0x40(%rbp),%rax
movslq -0x44(%rbp),%rcx
mulsd  (%rax,%rcx,8),%xmm2
mulsd  %xmm3,%xmm1
addsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
mov    0x28(%rbp),%rax
mov    -0x48(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x38(%rbp),%rax
mov    -0x44(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    0x18(%rbp),%rax
mov    -0x44(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm1
mov    0x10(%rbp),%rax
mov    -0x44(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm3
mov    0x20(%rbp),%rax
mov    -0x44(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  0xd4d(%rip),%xmm2
subsd  (%rax,%rcx,8),%xmm2
mov    -0x40(%rbp),%rax
mov    -0x44(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
mulsd  (%rax,%rcx,8),%xmm2
mulsd  %xmm3,%xmm1
addsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
mov    0x28(%rbp),%rax
mov    -0x48(%rbp),%ecx
add    $0x2,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x30(%rbp),%rax
mov    -0x44(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    0x18(%rbp),%rax
mov    -0x44(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  0xcf1(%rip),%xmm1
subsd  (%rax,%rcx,8),%xmm1
mov    0x10(%rbp),%rax
mov    -0x44(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm3
mov    0x20(%rbp),%rax
mov    -0x44(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm2
mov    -0x40(%rbp),%rax
mov    -0x44(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
mulsd  (%rax,%rcx,8),%xmm2
mulsd  %xmm3,%xmm1
addsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
mov    0x28(%rbp),%rax
mov    -0x48(%rbp),%ecx
add    $0x3,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x44(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x44(%rbp)
jmp    1185 <buildVectorBsol+0x85>
mov    -0x4(%rbp),%eax
sub    $0x1,%eax
shl    $0x2,%eax
mov    %eax,-0x48(%rbp)
movsd  -0x10(%rbp),%xmm0
mulsd  -0x18(%rbp),%xmm0
mov    0x10(%rbp),%rax
mov    -0x4(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
mulsd  (%rax,%rcx,8),%xmm0
mov    0x28(%rbp),%rax
movslq -0x48(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x10(%rbp),%xmm0
mulsd  -0x18(%rbp),%xmm0
mov    -0x40(%rbp),%rax
mov    -0x4(%rbp),%ecx
sub    $0x1,%ecx
movslq %ecx,%rcx
mulsd  (%rax,%rcx,8),%xmm0
mov    0x28(%rbp),%rax
mov    -0x48(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x38(%rbp),%rax
mov    -0x4(%rbp),%ecx
sub    $0x2,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    0x18(%rbp),%rax
mov    -0x4(%rbp),%ecx
sub    $0x2,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm1
mov    0x10(%rbp),%rax
mov    -0x4(%rbp),%ecx
sub    $0x2,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm3
mov    0x20(%rbp),%rax
mov    -0x4(%rbp),%ecx
sub    $0x2,%ecx
movslq %ecx,%rcx
movsd  0xbdc(%rip),%xmm2
subsd  (%rax,%rcx,8),%xmm2
mov    -0x40(%rbp),%rax
mov    -0x4(%rbp),%ecx
sub    $0x2,%ecx
movslq %ecx,%rcx
mulsd  (%rax,%rcx,8),%xmm2
mulsd  %xmm3,%xmm1
addsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
mov    0x28(%rbp),%rax
mov    -0x48(%rbp),%ecx
add    $0x2,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x30(%rbp),%rax
mov    -0x4(%rbp),%ecx
sub    $0x2,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
mov    0x18(%rbp),%rax
mov    -0x4(%rbp),%ecx
sub    $0x2,%ecx
movslq %ecx,%rcx
movsd  0xb80(%rip),%xmm1
subsd  (%rax,%rcx,8),%xmm1
mov    0x10(%rbp),%rax
mov    -0x4(%rbp),%ecx
sub    $0x2,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm3
mov    0x20(%rbp),%rax
mov    -0x4(%rbp),%ecx
sub    $0x2,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm2
mov    -0x40(%rbp),%rax
mov    -0x4(%rbp),%ecx
sub    $0x2,%ecx
movslq %ecx,%rcx
mulsd  (%rax,%rcx,8),%xmm2
mulsd  %xmm3,%xmm1
addsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm0
mov    0x28(%rbp),%rax
mov    -0x48(%rbp),%ecx
add    $0x3,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
xor    %eax,%eax
pop    %rbp
ret

x86 assembly (clang, -O2):
<buildVectorBsol>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
mov    %rcx,-0x40(%rsp)
mov    0x50(%rsp),%r11
mov    0x38(%rsp),%rax
movsd  (%rdx),%xmm2
mulsd  (%rax),%xmm2
movsd  %xmm2,(%r11)
movsd  (%rsi),%xmm2
mulsd  (%r9),%xmm2
movsd  %xmm2,0x8(%r11)
lea    -0x1(%rdi),%eax
mov    %rax,-0x18(%rsp)
xorpd  %xmm2,%xmm2
movupd %xmm2,0x10(%r11)
mov    %rdi,-0x8(%rsp)
cmp    $0x3,%edi
jl     150a <buildVectorBsol+0x40a>
mov    -0x18(%rsp),%ebx
lea    -0x1(%rbx),%rax
mov    $0x1,%r12d
cmp    $0x2,%rax
jb     13ed <buildVectorBsol+0x2ed>
mov    %rax,-0x10(%rsp)
lea    0x20(%r11),%rcx
mov    %rbx,%rax
shl    $0x5,%rax
add    %r11,%rax
lea    0x8(%rdx),%r13
lea    (%rdx,%rbx,8),%rbp
mov    0x40(%rsp),%rdi
lea    (%rdi,%rbx,8),%r10
mov    0x38(%rsp),%rdi
lea    (%rdi,%rbx,8),%r14
mov    0x48(%rsp),%rdi
lea    (%rdi,%rbx,8),%r15
lea    (%r9,%rbx,8),%rdi
mov    %rdi,-0x30(%rsp)
lea    0x8(%rsi),%rdi
mov    %rdi,-0x20(%rsp)
lea    (%rsi,%rbx,8),%rdi
mov    %rdi,-0x28(%rsp)
cmp    %rbp,%rcx
setb   -0x41(%rsp)
cmp    %rax,%r13
setb   -0x42(%rsp)
cmp    %r10,%rcx
setb   %dil
cmp    0x40(%rsp),%rax
seta   -0x43(%rsp)
lea    (%r8,%rbx,8),%rbp
add    $0xfffffffffffffff8,%rbp
mov    %rbp,-0x38(%rsp)
cmp    %r14,%rcx
setb   %r10b
cmp    0x38(%rsp),%rax
seta   -0x44(%rsp)
cmp    %r15,%rcx
setb   %bpl
cmp    0x48(%rsp),%rax
seta   -0x45(%rsp)
cmp    -0x30(%rsp),%rcx
setb   %r14b
cmp    %r9,%rax
seta   -0x30(%rsp)
cmp    -0x28(%rsp),%rcx
setb   -0x28(%rsp)
cmp    %rax,-0x20(%rsp)
mov    -0x40(%rsp),%r13
lea    -0x8(%r13,%rbx,8),%r15
setb   -0x20(%rsp)
cmp    -0x38(%rsp),%rcx
setb   -0x38(%rsp)
cmp    %r8,%rax
seta   -0x46(%rsp)
cmp    %r15,%rcx
setb   %cl
cmp    %r13,%rax
seta   %r15b
mov    -0x42(%rsp),%al
test   %al,-0x41(%rsp)
jne    13ed <buildVectorBsol+0x2ed>
and    -0x43(%rsp),%dil
jne    13ed <buildVectorBsol+0x2ed>
and    -0x44(%rsp),%r10b
jne    13ed <buildVectorBsol+0x2ed>
and    -0x45(%rsp),%bpl
jne    13ed <buildVectorBsol+0x2ed>
and    -0x30(%rsp),%r14b
jne    13ed <buildVectorBsol+0x2ed>
mov    -0x20(%rsp),%al
and    %al,-0x28(%rsp)
jne    13ed <buildVectorBsol+0x2ed>
mov    -0x46(%rsp),%al
and    %al,-0x38(%rsp)
jne    13ed <buildVectorBsol+0x2ed>
and    %r15b,%cl
jne    13ed <buildVectorBsol+0x2ed>
mov    -0x10(%rsp),%r14
mov    %r14,%r15
and    $0xfffffffffffffffe,%r15
mov    %r14,%r12
or     $0x1,%r12
xor    %ebp,%ebp
movapd 0xd27(%rip),%xmm8
mov    %r15,%r13
mov    -0x40(%rsp),%rax
mov    0x38(%rsp),%r10
mov    0x48(%rsp),%rdi
mov    0x40(%rsp),%rcx
movupd 0x8(%rdx,%rbp,1),%xmm10
movupd (%rcx,%rbp,1),%xmm3
movupd 0x8(%rcx,%rbp,1),%xmm4
movupd (%r10,%rbp,1),%xmm9
movupd 0x8(%r10,%rbp,1),%xmm12
movupd (%rdi,%rbp,1),%xmm13
movupd 0x8(%rdi,%rbp,1),%xmm2
movapd %xmm8,%xmm6
subpd  %xmm2,%xmm6
movupd (%r9,%rbp,1),%xmm11
movupd 0x8(%r9,%rbp,1),%xmm7
mulpd  %xmm7,%xmm6
movapd %xmm8,%xmm5
subpd  %xmm4,%xmm5
mulpd  %xmm12,%xmm4
addpd  %xmm6,%xmm4
mulpd  %xmm10,%xmm4
movupd 0x8(%rsi,%rbp,1),%xmm6
mulpd  %xmm7,%xmm2
mulpd  %xmm12,%xmm5
addpd  %xmm2,%xmm5
mulpd  %xmm6,%xmm5
movupd (%r8,%rbp,1),%xmm2
movapd %xmm8,%xmm6
subpd  %xmm13,%xmm6
mulpd  %xmm11,%xmm6
movapd %xmm8,%xmm7
subpd  %xmm3,%xmm7
mulpd  %xmm9,%xmm3
addpd  %xmm6,%xmm3
mulpd  %xmm2,%xmm3
movupd (%rax,%rbp,1),%xmm2
mulpd  %xmm11,%xmm13
mulpd  %xmm9,%xmm7
addpd  %xmm13,%xmm7
mulpd  %xmm2,%xmm7
movapd %xmm4,%xmm2
unpcklpd %xmm5,%xmm2
movapd %xmm3,%xmm6
unpcklpd %xmm7,%xmm6
movhlps %xmm4,%xmm5
movhlps %xmm3,%xmm7
movups %xmm7,0x50(%r11,%rbp,4)
movups %xmm5,0x40(%r11,%rbp,4)
movupd %xmm6,0x30(%r11,%rbp,4)
movupd %xmm2,0x20(%r11,%rbp,4)
add    $0x10,%rbp
add    $0xfffffffffffffffe,%r13
jne    12f0 <buildVectorBsol+0x1f0>
cmp    %r15,%r14
je     150a <buildVectorBsol+0x40a>
mov    %r12,%rax
shl    $0x5,%rax
lea    (%rax,%r11,1),%rbp
add    $0x18,%rbp
lea    (%rsi,%r12,8),%r13
lea    (%r9,%r12,8),%rax
mov    0x48(%rsp),%rcx
lea    (%rcx,%r12,8),%rdi
mov    0x38(%rsp),%rcx
lea    (%rcx,%r12,8),%rsi
mov    0x40(%rsp),%rcx
lea    (%rcx,%r12,8),%r14
lea    (%rdx,%r12,8),%rdx
lea    (%r8,%r12,8),%r15
add    $0xfffffffffffffff8,%r15
mov    -0x40(%rsp),%rcx
lea    (%rcx,%r12,8),%r10
add    $0xfffffffffffffff8,%r10
sub    %r12,%rbx
xor    %ecx,%ecx
movsd  0xbcb(%rip),%xmm2
cs nopw 0x0(%rax,%rax,1)
nop
movsd  (%r14,%rcx,1),%xmm3
movapd %xmm2,%xmm4
subsd  (%rdi,%rcx,1),%xmm4
mulsd  (%rax,%rcx,1),%xmm4
mulsd  (%rsi,%rcx,1),%xmm3
addsd  %xmm4,%xmm3
mulsd  (%rdx,%rcx,1),%xmm3
movsd  %xmm3,-0x18(%rbp,%rcx,4)
movapd %xmm2,%xmm3
subsd  (%r14,%rcx,1),%xmm3
movsd  (%rdi,%rcx,1),%xmm4
mulsd  (%rax,%rcx,1),%xmm4
mulsd  (%rsi,%rcx,1),%xmm3
addsd  %xmm4,%xmm3
mulsd  0x0(%r13,%rcx,1),%xmm3
movsd  %xmm3,-0x10(%rbp,%rcx,4)
movsd  -0x8(%r14,%rcx,1),%xmm3
movapd %xmm2,%xmm4
subsd  -0x8(%rdi,%rcx,1),%xmm4
mulsd  -0x8(%rax,%rcx,1),%xmm4
mulsd  -0x8(%rsi,%rcx,1),%xmm3
addsd  %xmm4,%xmm3
mulsd  (%r15,%rcx,1),%xmm3
movsd  %xmm3,-0x8(%rbp,%rcx,4)
movapd %xmm2,%xmm3
subsd  -0x8(%r14,%rcx,1),%xmm3
movsd  -0x8(%rdi,%rcx,1),%xmm4
mulsd  -0x8(%rax,%rcx,1),%xmm4
mulsd  -0x8(%rsi,%rcx,1),%xmm3
addsd  %xmm4,%xmm3
mulsd  (%r10,%rcx,1),%xmm3
movsd  %xmm3,0x0(%rbp,%rcx,4)
add    $0x8,%rcx
add    $0xffffffffffffffff,%rbx
jne    1450 <buildVectorBsol+0x350>
mov    -0x18(%rsp),%rbp
lea    0x0(,%rbp,4),%eax
mulsd  %xmm1,%xmm0
movslq %ebp,%rcx
mov    0x38(%rsp),%rdx
movsd  (%rdx,%rcx,8),%xmm1
mulsd  %xmm0,%xmm1
cltq
movsd  %xmm1,(%r11,%rax,8)
mulsd  (%r9,%rcx,8),%xmm0
lea    0x1(,%rbp,4),%eax
cltq
movsd  %xmm0,(%r11,%rax,8)
movslq -0x8(%rsp),%rax
movsd  0xabb(%rip),%xmm0
movapd %xmm0,%xmm1
mov    0x48(%rsp),%rsi
subsd  -0x10(%rsi,%rax,8),%xmm1
mulsd  -0x10(%r9,%rax,8),%xmm1
mov    0x40(%rsp),%rdi
movsd  -0x10(%rdi,%rax,8),%xmm2
mulsd  -0x10(%rdx,%rax,8),%xmm2
addsd  %xmm1,%xmm2
mulsd  -0x10(%r8,%rax,8),%xmm2
lea    0x2(,%rbp,4),%ecx
movslq %ecx,%rcx
movsd  %xmm2,(%r11,%rcx,8)
subsd  -0x10(%rdi,%rax,8),%xmm0
movsd  -0x10(%rsi,%rax,8),%xmm1
mulsd  -0x10(%r9,%rax,8),%xmm1
mulsd  -0x10(%rdx,%rax,8),%xmm0
addsd  %xmm1,%xmm0
mov    -0x40(%rsp),%rcx
mulsd  -0x10(%rcx,%rax,8),%xmm0
lea    0x3(,%rbp,4),%eax
cltq
movsd  %xmm0,(%r11,%rax,8)
xor    %eax,%eax
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define i32 @buildVectorBsol(i32 %0, double %1, double %2, double* %3, double* %4, double* %5, double* %6, double* %7, double* %8, double* %9, double* %10, double* %11) {
%13 = alloca i32
%14 = alloca double
%15 = alloca double
%16 = alloca double*
%17 = alloca double*
%18 = alloca double*
%19 = alloca double*
%20 = alloca double*
%21 = alloca double*
%22 = alloca double*
%23 = alloca double*
%24 = alloca double*
%25 = alloca i32
%26 = alloca i32
store i32 %0, i32* %13
store double %1, double* %14
store double %2, double* %15
store double* %3, double** %16
store double* %4, double** %17
store double* %5, double** %18
store double* %6, double** %19
store double* %7, double** %20
store double* %8, double** %21
store double* %9, double** %22
store double* %10, double** %23
store double* %11, double** %24
%27 = load double*, double** %17
%28 = getelementptr inbounds double, double* %27, i64 0
%29 = load double, double* %28
%30 = load double*, double** %21
%31 = getelementptr inbounds double, double* %30, i64 0
%32 = load double, double* %31
%33 = fmul double %29, %32
%34 = load double*, double** %24
%35 = getelementptr inbounds double, double* %34, i64 0
store double %33, double* %35
%36 = load double*, double** %16
%37 = getelementptr inbounds double, double* %36, i64 0
%38 = load double, double* %37
%39 = load double*, double** %20
%40 = getelementptr inbounds double, double* %39, i64 0
%41 = load double, double* %40
%42 = fmul double %38, %41
%43 = load double*, double** %24
%44 = getelementptr inbounds double, double* %43, i64 1
store double %42, double* %44
%45 = load double*, double** %24
%46 = getelementptr inbounds double, double* %45, i64 2
store double 0.000000e+00, double* %46
%47 = load double*, double** %24
%48 = getelementptr inbounds double, double* %47, i64 3
store double 0.000000e+00, double* %48
store i32 1, i32* %25
br label %49
49: ; preds = %202, %12
%50 = load i32, i32* %25
%51 = load i32, i32* %13
%52 = sub nsw i32 %51, 1
%53 = icmp slt i32 %50, %52
br i1 %53, label %54, label %205
54: ; preds = %49
%55 = load i32, i32* %25
%56 = mul nsw i32 4, %55
store i32 %56, i32* %26
%57 = load double*, double** %17
%58 = load i32, i32* %25
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds double, double* %57, i64 %59
%61 = load double, double* %60
%62 = load double*, double** %22
%63 = load i32, i32* %25
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds double, double* %62, i64 %64
%66 = load double, double* %65
%67 = load double*, double** %21
%68 = load i32, i32* %25
%69 = sext i32 %68 to i64
%70 = getelementptr inbounds double, double* %67, i64 %69
%71 = load double, double* %70
%72 = load double*, double** %23
%73 = load i32, i32* %25
%74 = sext i32 %73 to i64
%75 = getelementptr inbounds double, double* %72, i64 %74
%76 = load double, double* %75
%77 = fsub double 1.000000e+00, %76
%78 = load double*, double** %20
%79 = load i32, i32* %25
%80 = sext i32 %79 to i64
%81 = getelementptr inbounds double, double* %78, i64 %80
%82 = load double, double* %81
%83 = fmul double %77, %82
%84 = call double @llvm.fmuladd.f64(double %66, double %71, double %83)
%85 = fmul double %61, %84
%86 = load double*, double** %24
%87 = load i32, i32* %26
%88 = sext i32 %87 to i64
%89 = getelementptr inbounds double, double* %86, i64 %88
store double %85, double* %89
%90 = load double*, double** %16
%91 = load i32, i32* %25
%92 = sext i32 %91 to i64
%93 = getelementptr inbounds double, double* %90, i64 %92
%94 = load double, double* %93
%95 = load double*, double** %22
%96 = load i32, i32* %25
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds double, double* %95, i64 %97
%99 = load double, double* %98
%100 = fsub double 1.000000e+00, %99
%101 = load double*, double** %21
%102 = load i32, i32* %25
%103 = sext i32 %102 to i64
%104 = getelementptr inbounds double, double* %101, i64 %103
%105 = load double, double* %104
%106 = load double*, double** %23
%107 = load i32, i32* %25
%108 = sext i32 %107 to i64
%109 = getelementptr inbounds double, double* %106, i64 %108
%110 = load double, double* %109
%111 = load double*, double** %20
%112 = load i32, i32* %25
%113 = sext i32 %112 to i64
%114 = getelementptr inbounds double, double* %111, i64 %113
%115 = load double, double* %114
%116 = fmul double %110, %115
%117 = call double @llvm.fmuladd.f64(double %100, double %105, double %116)
%118 = fmul double %94, %117
%119 = load double*, double** %24
%120 = load i32, i32* %26
%121 = add nsw i32 %120, 1
%122 = sext i32 %121 to i64
%123 = getelementptr inbounds double, double* %119, i64 %122
store double %118, double* %123
%124 = load double*, double** %19
%125 = load i32, i32* %25
%126 = sub nsw i32 %125, 1
%127 = sext i32 %126 to i64
%128 = getelementptr inbounds double, double* %124, i64 %127
%129 = load double, double* %128
%130 = load double*, double** %22
%131 = load i32, i32* %25
%132 = sub nsw i32 %131, 1
%133 = sext i32 %132 to i64
%134 = getelementptr inbounds double, double* %130, i64 %133
%135 = load double, double* %134
%136 = load double*, double** %21
%137 = load i32, i32* %25
%138 = sub nsw i32 %137, 1
%139 = sext i32 %138 to i64
%140 = getelementptr inbounds double, double* %136, i64 %139
%141 = load double, double* %140
%142 = load double*, double** %23
%143 = load i32, i32* %25
%144 = sub nsw i32 %143, 1
%145 = sext i32 %144 to i64
%146 = getelementptr inbounds double, double* %142, i64 %145
%147 = load double, double* %146
%148 = fsub double 1.000000e+00, %147
%149 = load double*, double** %20
%150 = load i32, i32* %25
%151 = sub nsw i32 %150, 1
%152 = sext i32 %151 to i64
%153 = getelementptr inbounds double, double* %149, i64 %152
%154 = load double, double* %153
%155 = fmul double %148, %154
%156 = call double @llvm.fmuladd.f64(double %135, double %141, double %155)
%157 = fmul double %129, %156
%158 = load double*, double** %24
%159 = load i32, i32* %26
%160 = add nsw i32 %159, 2
%161 = sext i32 %160 to i64
%162 = getelementptr inbounds double, double* %158, i64 %161
store double %157, double* %162
%163 = load double*, double** %18
%164 = load i32, i32* %25
%165 = sub nsw i32 %164, 1
%166 = sext i32 %165 to i64
%167 = getelementptr inbounds double, double* %163, i64 %166
%168 = load double, double* %167
%169 = load double*, double** %22
%170 = load i32, i32* %25
%171 = sub nsw i32 %170, 1
%172 = sext i32 %171 to i64
%173 = getelementptr inbounds double, double* %169, i64 %172
%174 = load double, double* %173
%175 = fsub double 1.000000e+00, %174
%176 = load double*, double** %21
%177 = load i32, i32* %25
%178 = sub nsw i32 %177, 1
%179 = sext i32 %178 to i64
%180 = getelementptr inbounds double, double* %176, i64 %179
%181 = load double, double* %180
%182 = load double*, double** %23
%183 = load i32, i32* %25
%184 = sub nsw i32 %183, 1
%185 = sext i32 %184 to i64
%186 = getelementptr inbounds double, double* %182, i64 %185
%187 = load double, double* %186
%188 = load double*, double** %20
%189 = load i32, i32* %25
%190 = sub nsw i32 %189, 1
%191 = sext i32 %190 to i64
%192 = getelementptr inbounds double, double* %188, i64 %191
%193 = load double, double* %192
%194 = fmul double %187, %193
%195 = call double @llvm.fmuladd.f64(double %175, double %181, double %194)
%196 = fmul double %168, %195
%197 = load double*, double** %24
%198 = load i32, i32* %26
%199 = add nsw i32 %198, 3
%200 = sext i32 %199 to i64
%201 = getelementptr inbounds double, double* %197, i64 %200
store double %196, double* %201
br label %202
202: ; preds = %54
%203 = load i32, i32* %25
%204 = add nsw i32 %203, 1
store i32 %204, i32* %25
br label %49
205: ; preds = %49
%206 = load i32, i32* %13
%207 = sub nsw i32 %206, 1
%208 = mul nsw i32 4, %207
store i32 %208, i32* %26
%209 = load double, double* %14
%210 = load double, double* %15
%211 = fmul double %209, %210
%212 = load double*, double** %21
%213 = load i32, i32* %13
%214 = sub nsw i32 %213, 1
%215 = sext i32 %214 to i64
%216 = getelementptr inbounds double, double* %212, i64 %215
%217 = load double, double* %216
%218 = fmul double %211, %217
%219 = load double*, double** %24
%220 = load i32, i32* %26
%221 = sext i32 %220 to i64
%222 = getelementptr inbounds double, double* %219, i64 %221
store double %218, double* %222
%223 = load double, double* %14
%224 = load double, double* %15
%225 = fmul double %223, %224
%226 = load double*, double** %20
%227 = load i32, i32* %13
%228 = sub nsw i32 %227, 1
%229 = sext i32 %228 to i64
%230 = getelementptr inbounds double, double* %226, i64 %229
%231 = load double, double* %230
%232 = fmul double %225, %231
%233 = load double*, double** %24
%234 = load i32, i32* %26
%235 = add nsw i32 %234, 1
%236 = sext i32 %235 to i64
%237 = getelementptr inbounds double, double* %233, i64 %236
store double %232, double* %237
%238 = load double*, double** %19
%239 = load i32, i32* %13
%240 = sub nsw i32 %239, 2
%241 = sext i32 %240 to i64
%242 = getelementptr inbounds double, double* %238, i64 %241
%243 = load double, double* %242
%244 = load double*, double** %22
%245 = load i32, i32* %13
%246 = sub nsw i32 %245, 2
%247 = sext i32 %246 to i64
%248 = getelementptr inbounds double, double* %244, i64 %247
%249 = load double, double* %248
%250 = load double*, double** %21
%251 = load i32, i32* %13
%252 = sub nsw i32 %251, 2
%253 = sext i32 %252 to i64
%254 = getelementptr inbounds double, double* %250, i64 %253
%255 = load double, double* %254
%256 = load double*, double** %23
%257 = load i32, i32* %13
%258 = sub nsw i32 %257, 2
%259 = sext i32 %258 to i64
%260 = getelementptr inbounds double, double* %256, i64 %259
%261 = load double, double* %260
%262 = fsub double 1.000000e+00, %261
%263 = load double*, double** %20
%264 = load i32, i32* %13
%265 = sub nsw i32 %264, 2
%266 = sext i32 %265 to i64
%267 = getelementptr inbounds double, double* %263, i64 %266
%268 = load double, double* %267
%269 = fmul double %262, %268
%270 = call double @llvm.fmuladd.f64(double %249, double %255, double %269)
%271 = fmul double %243, %270
%272 = load double*, double** %24
%273 = load i32, i32* %26
%274 = add nsw i32 %273, 2
%275 = sext i32 %274 to i64
%276 = getelementptr inbounds double, double* %272, i64 %275
store double %271, double* %276
%277 = load double*, double** %18
%278 = load i32, i32* %13
%279 = sub nsw i32 %278, 2
%280 = sext i32 %279 to i64
%281 = getelementptr inbounds double, double* %277, i64 %280
%282 = load double, double* %281
%283 = load double*, double** %22
%284 = load i32, i32* %13
%285 = sub nsw i32 %284, 2
%286 = sext i32 %285 to i64
%287 = getelementptr inbounds double, double* %283, i64 %286
%288 = load double, double* %287
%289 = fsub double 1.000000e+00, %288
%290 = load double*, double** %21
%291 = load i32, i32* %13
%292 = sub nsw i32 %291, 2
%293 = sext i32 %292 to i64
%294 = getelementptr inbounds double, double* %290, i64 %293
%295 = load double, double* %294
%296 = load double*, double** %23
%297 = load i32, i32* %13
%298 = sub nsw i32 %297, 2
%299 = sext i32 %298 to i64
%300 = getelementptr inbounds double, double* %296, i64 %299
%301 = load double, double* %300
%302 = load double*, double** %20
%303 = load i32, i32* %13
%304 = sub nsw i32 %303, 2
%305 = sext i32 %304 to i64
%306 = getelementptr inbounds double, double* %302, i64 %305
%307 = load double, double* %306
%308 = fmul double %301, %307
%309 = call double @llvm.fmuladd.f64(double %289, double %295, double %308)
%310 = fmul double %282, %309
%311 = load double*, double** %24
%312 = load i32, i32* %26
%313 = add nsw i32 %312, 3
%314 = sext i32 %313 to i64
%315 = getelementptr inbounds double, double* %311, i64 %314
store double %310, double* %315
ret i32 0
}

LLVM IR (-O2):
define i32 @buildVectorBsol(i32 %0, double %1, double %2, double* nocapture %3, double* nocapture %4, double* nocapture %5, double* nocapture %6, double* nocapture %7, double* nocapture %8, double* nocapture %9, double* nocapture %10, double* nocapture writeonly %11) {
%13 = load double, double* %4
%14 = load double, double* %8
%15 = fmul double %13, %14
store double %15, double* %11
%16 = load double, double* %3
%17 = load double, double* %7
%18 = fmul double %16, %17
%19 = getelementptr inbounds double, double* %11, i64 1
store double %18, double* %19
%20 = getelementptr inbounds double, double* %11, i64 2
%21 = add i32 %0, -1
%22 = icmp sgt i32 %0, 2
%23 = bitcast double* %20 to i8*
br i1 %22, label %24, label %223
24: ; preds = %12
%25 = zext i32 %21 to i64
%26 = add nsw i64 %25, -1
%27 = icmp ult i64 %26, 2
br i1 %27, label %160, label %28
28: ; preds = %24
%29 = getelementptr double, double* %11, i64 4
%30 = shl nuw nsw i64 %25, 2
%31 = getelementptr double, double* %11, i64 %30
%32 = getelementptr double, double* %4, i64 1
%33 = getelementptr double, double* %4, i64 %25
%34 = getelementptr double, double* %9, i64 %25
%35 = getelementptr double, double* %8, i64 %25
%36 = getelementptr double, double* %10, i64 %25
%37 = getelementptr double, double* %7, i64 %25
%38 = getelementptr double, double* %3, i64 1
%39 = getelementptr double, double* %3, i64 %25
%40 = add nsw i64 %25, -1
%41 = getelementptr double, double* %6, i64 %40
%42 = getelementptr double, double* %5, i64 %40
%43 = icmp ult double* %29, %33
%44 = icmp ult double* %32, %31
%45 = and i1 %43, %44
%46 = icmp ult double* %29, %34
%47 = icmp ugt double* %31, %9
%48 = and i1 %46, %47
%49 = or i1 %45, %48
%50 = icmp ult double* %29, %35
%51 = icmp ugt double* %31, %8
%52 = and i1 %50, %51
%53 = or i1 %49, %52
%54 = icmp ult double* %29, %36
%55 = icmp ugt double* %31, %10
%56 = and i1 %54, %55
%57 = or i1 %53, %56
%58 = icmp ult double* %29, %37
%59 = icmp ugt double* %31, %7
%60 = and i1 %58, %59
%61 = or i1 %57, %60
%62 = icmp ult double* %29, %39
%63 = icmp ult double* %38, %31
%64 = and i1 %62, %63
%65 = or i1 %61, %64
%66 = icmp ult double* %29, %41
%67 = icmp ugt double* %31, %6
%68 = and i1 %66, %67
%69 = or i1 %65, %68
%70 = icmp ult double* %29, %42
%71 = icmp ugt double* %31, %5
%72 = and i1 %70, %71
%73 = or i1 %69, %72
br i1 %73, label %160, label %74
74: ; preds = %28
%75 = and i64 %26, -2
%76 = or i64 %26, 1
%77 = getelementptr inbounds double, double* %11, i64 -3
br label %78
78: ; preds = %78, %74
%79 = phi i64 [ 0, %74 ], [ %156, %78 ]
%80 = or i64 %79, 1
%81 = shl nsw i64 %80, 2
%82 = getelementptr inbounds double, double* %4, i64 %80
%83 = bitcast double* %82 to <2 x double>*
%84 = load <2 x double>, <2 x double>* %83
%85 = getelementptr inbounds double, double* %9, i64 %80
%86 = bitcast double* %85 to <2 x double>*
%87 = load <2 x double>, <2 x double>* %86
%88 = getelementptr inbounds double, double* %8, i64 %80
%89 = bitcast double* %88 to <2 x double>*
%90 = load <2 x double>, <2 x double>* %89
%91 = getelementptr inbounds double, double* %10, i64 %80
%92 = bitcast double* %91 to <2 x double>*
%93 = load <2 x double>, <2 x double>* %92
%94 = fsub <2 x double> <double 1.000000e+00, double 1.000000e+00>, %93
%95 = getelementptr inbounds double, double* %7, i64 %80
%96 = bitcast double* %95 to <2 x double>*
%97 = load <2 x double>, <2 x double>* %96
%98 = fmul <2 x double> %94, %97
%99 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %87, <2 x double> %90, <2 x double> %98)
%100 = fmul <2 x double> %84, %99
%101 = getelementptr inbounds double, double* %3, i64 %80
%102 = bitcast double* %101 to <2 x double>*
%103 = load <2 x double>, <2 x double>* %102
%104 = bitcast double* %85 to <2 x double>*
%105 = load <2 x double>, <2 x double>* %104
%106 = fsub <2 x double> <double 1.000000e+00, double 1.000000e+00>, %105
%107 = bitcast double* %88 to <2 x double>*
%108 = load <2 x double>, <2 x double>* %107
%109 = bitcast double* %91 to <2 x double>*
%110 = load <2 x double>, <2 x double>* %109
%111 = bitcast double* %95 to <2 x double>*
%112 = load <2 x double>, <2 x double>* %111
%113 = fmul <2 x double> %110, %112
%114 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %106, <2 x double> %108, <2 x double> %113)
%115 = fmul <2 x double> %103, %114
%116 = getelementptr inbounds double, double* %6, i64 %79
%117 = bitcast double* %116 to <2 x double>*
%118 = load <2 x double>, <2 x double>* %117
%119 = getelementptr inbounds double, double* %9, i64 %79
%120 = bitcast double* %119 to <2 x double>*
%121 = load <2 x double>, <2 x double>* %120
%122 = getelementptr inbounds double, double* %8, i64 %79
%123 = bitcast double* %122 to <2 x double>*
%124 = load <2 x double>, <2 x double>* %123
%125 = getelementptr inbounds double, double* %10, i64 %79
%126 = bitcast double* %125 to <2 x double>*
%127 = load <2 x double>, <2 x double>* %126
%128 = fsub <2 x double> <double 1.000000e+00, double 1.000000e+00>, %127
%129 = getelementptr inbounds double, double* %7, i64 %79
%130 = bitcast double* %129 to <2 x double>*
%131 = load <2 x double>, <2 x double>* %130
%132 = fmul <2 x double> %128, %131
%133 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %121, <2 x double> %124, <2 x double> %132)
%134 = fmul <2 x double> %118, %133
%135 = getelementptr inbounds double, double* %5, i64 %79
%136 = bitcast double* %135 to <2 x double>*
%137 = load <2 x double>, <2 x double>* %136
%138 = bitcast double* %119 to <2 x double>*
%139 = load <2 x double>, <2 x double>* %138
%140 = fsub <2 x double> <double 1.000000e+00, double 1.000000e+00>, %139
%141 = bitcast double* %122 to <2 x double>*
%142 = load <2 x double>, <2 x double>* %141
%143 = bitcast double* %125 to <2 x double>*
%144 = load <2 x double>, <2 x double>* %143
%145 = bitcast double* %129 to <2 x double>*
%146 = load <2 x double>, <2 x double>* %145
%147 = fmul <2 x double> %144, %146
%148 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %140, <2 x double> %142, <2 x double> %147)
%149 = fmul <2 x double> %137, %148
%150 = or i64 %81, 3
%151 = getelementptr inbounds double, double* %77, i64 %150
%152 = bitcast double* %151 to <8 x double>*
%153 = shufflevector <2 x double> %100, <2 x double> %115, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
%154 = shufflevector <2 x double> %134, <2 x double> %149, <4 x i32> <i32 0, i32 1, i32 2, i32 3>
%155 = shufflevector <4 x double> %153, <4 x double> %154, <8 x i32> <i32 0, i32 2, i32 4, i32 6, i32 1, i32 3, i32 5, i32 7>
store <8 x double> %155, <8 x double>* %152
%156 = add nuw i64 %79, 2
%157 = icmp eq i64 %156, %75
br i1 %157, label %158, label %78
158: ; preds = %78
%159 = icmp eq i64 %26, %75
br i1 %159, label %223, label %160
160: ; preds = %28, %24, %158
%161 = phi i64 [ 1, %28 ], [ 1, %24 ], [ %76, %158 ]
br label %162
162: ; preds = %160, %162
%163 = phi i64 [ %221, %162 ], [ %161, %160 ]
%164 = shl nsw i64 %163, 2
%165 = getelementptr inbounds double, double* %4, i64 %163
%166 = load double, double* %165
%167 = getelementptr inbounds double, double* %9, i64 %163
%168 = load double, double* %167
%169 = getelementptr inbounds double, double* %8, i64 %163
%170 = load double, double* %169
%171 = getelementptr inbounds double, double* %10, i64 %163
%172 = load double, double* %171
%173 = fsub double 1.000000e+00, %172
%174 = getelementptr inbounds double, double* %7, i64 %163
%175 = load double, double* %174
%176 = fmul double %173, %175
%177 = tail call double @llvm.fmuladd.f64(double %168, double %170, double %176)
%178 = fmul double %166, %177
%179 = getelementptr inbounds double, double* %11, i64 %164
store double %178, double* %179
%180 = getelementptr inbounds double, double* %3, i64 %163
%181 = load double, double* %180
%182 = load double, double* %167
%183 = fsub double 1.000000e+00, %182
%184 = load double, double* %169
%185 = load double, double* %171
%186 = load double, double* %174
%187 = fmul double %185, %186
%188 = tail call double @llvm.fmuladd.f64(double %183, double %184, double %187)
%189 = fmul double %181, %188
%190 = or i64 %164, 1
%191 = getelementptr inbounds double, double* %11, i64 %190
store double %189, double* %191
%192 = add nsw i64 %163, -1
%193 = getelementptr inbounds double, double* %6, i64 %192
%194 = load double, double* %193
%195 = getelementptr inbounds double, double* %9, i64 %192
%196 = load double, double* %195
%197 = getelementptr inbounds double, double* %8, i64 %192
%198 = load double, double* %197
%199 = getelementptr inbounds double, double* %10, i64 %192
%200 = load double, double* %199
%201 = fsub double 1.000000e+00, %200
%202 = getelementptr inbounds double, double* %7, i64 %192
%203 = load double, double* %202
%204 = fmul double %201, %203
%205 = tail call double @llvm.fmuladd.f64(double %196, double %198, double %204)
%206 = fmul double %194, %205
%207 = or i64 %164, 2
%208 = getelementptr inbounds double, double* %11, i64 %207
store double %206, double* %208
%209 = getelementptr inbounds double, double* %5, i64 %192
%210 = load double, double* %209
%211 = load double, double* %195
%212 = fsub double 1.000000e+00, %211
%213 = load double, double* %197
%214 = load double, double* %199
%215 = load double, double* %202
%216 = fmul double %214, %215
%217 = tail call double @llvm.fmuladd.f64(double %212, double %213, double %216)
%218 = fmul double %210, %217
%219 = or i64 %164, 3
%220 = getelementptr inbounds double, double* %11, i64 %219
store double %218, double* %220
%221 = add nuw nsw i64 %163, 1
%222 = icmp eq i64 %221, %25
br i1 %222, label %223, label %162
223: ; preds = %162, %158, %12
%224 = shl nsw i32 %21, 2
%225 = fmul double %1, %2
%226 = sext i32 %21 to i64
%227 = getelementptr inbounds double, double* %8, i64 %226
%228 = load double, double* %227
%229 = fmul double %225, %228
%230 = sext i32 %224 to i64
%231 = getelementptr inbounds double, double* %11, i64 %230
store double %229, double* %231
%232 = getelementptr inbounds double, double* %7, i64 %226
%233 = load double, double* %232
%234 = fmul double %225, %233
%235 = or i32 %224, 1
%236 = sext i32 %235 to i64
%237 = getelementptr inbounds double, double* %11, i64 %236
store double %234, double* %237
%238 = add nsw i32 %0, -2
%239 = sext i32 %238 to i64
%240 = getelementptr inbounds double, double* %6, i64 %239
%241 = load double, double* %240
%242 = getelementptr inbounds double, double* %9, i64 %239
%243 = load double, double* %242
%244 = getelementptr inbounds double, double* %8, i64 %239
%245 = load double, double* %244
%246 = getelementptr inbounds double, double* %10, i64 %239
%247 = load double, double* %246
%248 = fsub double 1.000000e+00, %247
%249 = getelementptr inbounds double, double* %7, i64 %239
%250 = load double, double* %249
%251 = fmul double %248, %250
%252 = tail call double @llvm.fmuladd.f64(double %243, double %245, double %251)
%253 = fmul double %241, %252
%254 = or i32 %224, 2
%255 = sext i32 %254 to i64
%256 = getelementptr inbounds double, double* %11, i64 %255
store double %253, double* %256
%257 = getelementptr inbounds double, double* %5, i64 %239
%258 = load double, double* %257
%259 = load double, double* %242
%260 = fsub double 1.000000e+00, %259
%261 = load double, double* %244
%262 = load double, double* %246
%263 = load double, double* %249
%264 = fmul double %262, %263
%265 = tail call double @llvm.fmuladd.f64(double %260, double %261, double %264)
%266 = fmul double %258, %265
%267 = or i32 %224, 3
%268 = sext i32 %267 to i64
%269 = getelementptr inbounds double, double* %11, i64 %268
store double %266, double* %269
ret i32 0
}