void calculateSubgridErrorGradient_tauRes(int nElements_global,
                                          int nQuadraturePoints_element,
                                          int nSpace, double *tau_gradient,
                                          double *grad_pdeResidual,
                                          double *grad_subgridError) {
  int eN, k, j, I;
  for (eN = 0; eN < nElements_global; eN++)
    for (k = 0; k < nQuadraturePoints_element; k++) {
      for (I = 0; I < nSpace; I++) {
        grad_subgridError[eN * nQuadraturePoints_element * nSpace + k * nSpace +
                          I] =
            -tau_gradient[eN * nQuadraturePoints_element + k] *
            grad_pdeResidual[eN * nQuadraturePoints_element * nSpace +
                             k * nSpace + I];
      }
    }
}


x86 assembly (clang, -O0):
<calculateSubgridErrorGradient_tauRes>:
push   %rbp
mov    %rsp,%rbp
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    %edx,-0xc(%rbp)
mov    %rcx,-0x18(%rbp)
mov    %r8,-0x20(%rbp)
mov    %r9,-0x28(%rbp)
movl   $0x0,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
cmp    -0x4(%rbp),%eax
jge    11f9 <calculateSubgridErrorGradient_tauRes+0xf9>
movl   $0x0,-0x30(%rbp)
mov    -0x30(%rbp),%eax
cmp    -0x8(%rbp),%eax
jge    11e6 <calculateSubgridErrorGradient_tauRes+0xe6>
movl   $0x0,-0x38(%rbp)
mov    -0x38(%rbp),%eax
cmp    -0xc(%rbp),%eax
jge    11d3 <calculateSubgridErrorGradient_tauRes+0xd3>
mov    -0x18(%rbp),%rax
mov    -0x2c(%rbp),%ecx
imul   -0x8(%rbp),%ecx
add    -0x30(%rbp),%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mov    -0x20(%rbp),%rax
mov    -0x2c(%rbp),%ecx
imul   -0x8(%rbp),%ecx
imul   -0xc(%rbp),%ecx
mov    -0x30(%rbp),%edx
imul   -0xc(%rbp),%edx
add    %edx,%ecx
add    -0x38(%rbp),%ecx
movslq %ecx,%rcx
mulsd  (%rax,%rcx,8),%xmm0
mov    -0x28(%rbp),%rax
mov    -0x2c(%rbp),%ecx
imul   -0x8(%rbp),%ecx
imul   -0xc(%rbp),%ecx
mov    -0x30(%rbp),%edx
imul   -0xc(%rbp),%edx
add    %edx,%ecx
add    -0x38(%rbp),%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x38(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x38(%rbp)
jmp    1146 <calculateSubgridErrorGradient_tauRes+0x46>
jmp    11d8 <calculateSubgridErrorGradient_tauRes+0xd8>
mov    -0x30(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x30(%rbp)
jmp    1133 <calculateSubgridErrorGradient_tauRes+0x33>
jmp    11eb <calculateSubgridErrorGradient_tauRes+0xeb>
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    1120 <calculateSubgridErrorGradient_tauRes+0x20>
pop    %rbp
ret

x86 assembly (clang, -O2):
<calculateSubgridErrorGradient_tauRes>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
sub    $0x30,%rsp
mov    %esi,-0x7c(%rsp)
test   %edi,%edi
jle    1476 <calculateSubgridErrorGradient_tauRes+0x376>
mov    -0x7c(%rsp),%eax
movslq %eax,%rsi
mov    %edi,%edi
mov    %rdi,-0x48(%rsp)
mov    %edx,%r12d
mov    %edx,%edi
imul   %eax,%edi
mov    %rdi,-0x58(%rsp)
lea    (%r8,%r12,8),%rax
mov    %r12d,%edi
and    $0xfffffffc,%edi
mov    %rdi,-0x18(%rsp)
add    $0xfffffffffffffffc,%rdi
mov    %rdi,-0x20(%rsp)
shr    $0x2,%rdi
add    $0x1,%rdi
cmp    %r9,%rax
seta   %al
lea    (%r9,%r12,8),%rbp
mov    %rbp,0x10(%rsp)
cmp    %r8,%rbp
seta   %bl
mov    %rsi,-0x50(%rsp)
mov    %esi,%r14d
and    %al,%bl
mov    %bl,-0x7d(%rsp)
mov    %rdi,%rax
mov    %rdi,-0x28(%rsp)
and    $0xfffffffffffffffe,%rdi
mov    %rdi,-0x30(%rsp)
mov    %r12,%rax
neg    %rax
mov    %rax,0x28(%rsp)
lea    0x30(%r9),%rax
mov    %rax,-0x38(%rsp)
lea    0x30(%r8),%rax
mov    %rax,-0x40(%rsp)
lea    0x8(%r8),%rax
mov    %rax,0x8(%rsp)
movapd 0xe49(%rip),%xmm0
movapd 0xe41(%rip),%xmm1
lea    0x8(%r9),%rax
mov    %rax,(%rsp)
xor    %eax,%eax
mov    %rax,-0x70(%rsp)
xor    %eax,%eax
mov    %rax,-0x78(%rsp)
mov    %r9,-0x8(%rsp)
mov    %r8,-0x10(%rsp)
jmp    121a <calculateSubgridErrorGradient_tauRes+0x11a>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax,%rax,1)
mov    -0x78(%rsp),%rsi
add    $0x1,%rsi
mov    -0x70(%rsp),%rax
add    -0x58(%rsp),%eax
mov    %rax,-0x70(%rsp)
mov    %rsi,%rax
mov    %rsi,-0x78(%rsp)
cmp    -0x48(%rsp),%rsi
je     1476 <calculateSubgridErrorGradient_tauRes+0x376>
cmpl   $0x0,-0x7c(%rsp)
jle    11f0 <calculateSubgridErrorGradient_tauRes+0xf0>
mov    -0x78(%rsp),%rax
mov    %rax,%rsi
imul   -0x58(%rsp),%rsi
mov    %rsi,0x20(%rsp)
mov    %rax,%r10
imul   -0x50(%rsp),%r10
lea    0x1(%r10),%rax
mov    %rax,0x18(%rsp)
mov    -0x70(%rsp),%rax
mov    %eax,%r13d
xor    %edi,%edi
mov    %r10,-0x68(%rsp)
jmp    126c <calculateSubgridErrorGradient_tauRes+0x16c>
nopw   0x0(%rax,%rax,1)
add    $0x1,%rdi
add    %edx,%r13d
cmp    %r14,%rdi
je     11f0 <calculateSubgridErrorGradient_tauRes+0xf0>
test   %edx,%edx
jle    1260 <calculateSubgridErrorGradient_tauRes+0x160>
lea    (%r10,%rdi,1),%rbx
movslq %r13d,%r15
mov    %ebx,%eax
imul   %edx,%eax
movslq %eax,%r11
cmp    $0x4,%edx
jae    1290 <calculateSubgridErrorGradient_tauRes+0x190>
xor    %esi,%esi
jmp    13f0 <calculateSubgridErrorGradient_tauRes+0x2f0>
nopl   0x0(%rax,%rax,1)
mov    %r15,-0x60(%rsp)
mov    %r14,%r10
mov    %edi,%eax
imul   %r12d,%eax
add    0x20(%rsp),%eax
mov    0x18(%rsp),%rsi
lea    (%rsi,%rdi,1),%r14
cltq
lea    (%r9,%rax,8),%rbp
mov    0x10(%rsp),%rsi
lea    (%rsi,%rax,8),%r15
lea    (%rcx,%rbx,8),%rax
lea    (%rcx,%r14,8),%rsi
cmp    %rsi,%rbp
setb   %sil
cmp    %r15,%rax
setb   %al
and    %sil,%al
or     -0x7d(%rsp),%al
je     12ec <calculateSubgridErrorGradient_tauRes+0x1ec>
xor    %esi,%esi
mov    %r10,%r14
mov    -0x68(%rsp),%r10
mov    -0x60(%rsp),%r15
jmp    13f0 <calculateSubgridErrorGradient_tauRes+0x2f0>
cmpq   $0x0,-0x20(%rsp)
je     137f <calculateSubgridErrorGradient_tauRes+0x27f>
mov    -0x38(%rsp),%rax
mov    -0x60(%rsp),%rsi
lea    (%rax,%rsi,8),%rbp
mov    -0x40(%rsp),%rax
lea    (%rax,%rsi,8),%r15
movsd  (%rcx,%rbx,8),%xmm2
unpcklpd %xmm2,%xmm2
xorpd  %xmm1,%xmm2
mov    -0x30(%rsp),%rsi
xor    %eax,%eax
mov    %r10,%r14
mov    -0x68(%rsp),%r10
nopl   0x0(%rax,%rax,1)
movupd -0x30(%r15,%rax,8),%xmm3
movupd -0x20(%r15,%rax,8),%xmm4
mulpd  %xmm2,%xmm3
mulpd  %xmm2,%xmm4
movupd %xmm3,-0x30(%rbp,%rax,8)
movupd %xmm4,-0x20(%rbp,%rax,8)
movupd -0x10(%r15,%rax,8),%xmm3
movupd (%r15,%rax,8),%xmm4
mulpd  %xmm2,%xmm3
mulpd  %xmm2,%xmm4
movupd %xmm3,-0x10(%rbp,%rax,8)
movupd %xmm4,0x0(%rbp,%rax,8)
add    $0x8,%rax
add    $0xfffffffffffffffe,%rsi
jne    1330 <calculateSubgridErrorGradient_tauRes+0x230>
jmp    1389 <calculateSubgridErrorGradient_tauRes+0x289>
xor    %eax,%eax
mov    %r10,%r14
mov    -0x68(%rsp),%r10
testb  $0x1,-0x28(%rsp)
mov    -0x8(%rsp),%r9
mov    -0x10(%rsp),%r8
je     13cc <calculateSubgridErrorGradient_tauRes+0x2cc>
movsd  (%rcx,%rbx,8),%xmm2
unpcklpd %xmm2,%xmm2
xorpd  %xmm1,%xmm2
add    %r11,%rax
movupd (%r8,%rax,8),%xmm3
movupd 0x10(%r8,%rax,8),%xmm4
mulpd  %xmm2,%xmm3
mulpd  %xmm2,%xmm4
movupd %xmm3,(%r9,%rax,8)
movupd %xmm4,0x10(%r9,%rax,8)
mov    -0x18(%rsp),%rax
mov    %rax,%rsi
cmp    %r12,%rax
mov    -0x60(%rsp),%r15
je     1260 <calculateSubgridErrorGradient_tauRes+0x160>
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
mov    %rsi,%rbp
test   $0x1,%r12b
je     1418 <calculateSubgridErrorGradient_tauRes+0x318>
movsd  (%rcx,%rbx,8),%xmm2
xorpd  %xmm1,%xmm2
add    %rsi,%r11
mulsd  (%r8,%r11,8),%xmm2
movsd  %xmm2,(%r9,%r11,8)
mov    %rsi,%rbp
or     $0x1,%rbp
not    %rsi
cmp    0x28(%rsp),%rsi
je     1260 <calculateSubgridErrorGradient_tauRes+0x160>
mov    0x8(%rsp),%rax
lea    (%rax,%r15,8),%rsi
mov    (%rsp),%rax
lea    (%rax,%r15,8),%rax
nopw   0x0(%rax,%rax,1)
movsd  (%rcx,%rbx,8),%xmm2
xorpd  %xmm0,%xmm2
mulsd  -0x8(%rsi,%rbp,8),%xmm2
movsd  %xmm2,-0x8(%rax,%rbp,8)
movsd  (%rcx,%rbx,8),%xmm2
xorpd  %xmm0,%xmm2
mulsd  (%rsi,%rbp,8),%xmm2
movsd  %xmm2,(%rax,%rbp,8)
add    $0x2,%rbp
cmp    %rbp,%r12
jne    1440 <calculateSubgridErrorGradient_tauRes+0x340>
jmp    1260 <calculateSubgridErrorGradient_tauRes+0x160>
add    $0x30,%rsp
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret

LLVM IR (-O0):
define void @calculateSubgridErrorGradient_tauRes(i32 %0, i32 %1, i32 %2, double* %3, double* %4, double* %5) {
%7 = alloca i32
%8 = alloca i32
%9 = alloca i32
%10 = alloca double*
%11 = alloca double*
%12 = alloca double*
%13 = alloca i32
%14 = alloca i32
%15 = alloca i32
%16 = alloca i32
store i32 %0, i32* %7
store i32 %1, i32* %8
store i32 %2, i32* %9
store double* %3, double** %10
store double* %4, double** %11
store double* %5, double** %12
store i32 0, i32* %13
br label %17
17: ; preds = %80, %6
%18 = load i32, i32* %13
%19 = load i32, i32* %7
%20 = icmp slt i32 %18, %19
br i1 %20, label %21, label %83
21: ; preds = %17
store i32 0, i32* %14
br label %22
22: ; preds = %76, %21
%23 = load i32, i32* %14
%24 = load i32, i32* %8
%25 = icmp slt i32 %23, %24
br i1 %25, label %26, label %79
26: ; preds = %22
store i32 0, i32* %16
br label %27
27: ; preds = %72, %26
%28 = load i32, i32* %16
%29 = load i32, i32* %9
%30 = icmp slt i32 %28, %29
br i1 %30, label %31, label %75
31: ; preds = %27
%32 = load double*, double** %10
%33 = load i32, i32* %13
%34 = load i32, i32* %8
%35 = mul nsw i32 %33, %34
%36 = load i32, i32* %14
%37 = add nsw i32 %35, %36
%38 = sext i32 %37 to i64
%39 = getelementptr inbounds double, double* %32, i64 %38
%40 = load double, double* %39
%41 = fneg double %40
%42 = load double*, double** %11
%43 = load i32, i32* %13
%44 = load i32, i32* %8
%45 = mul nsw i32 %43, %44
%46 = load i32, i32* %9
%47 = mul nsw i32 %45, %46
%48 = load i32, i32* %14
%49 = load i32, i32* %9
%50 = mul nsw i32 %48, %49
%51 = add nsw i32 %47, %50
%52 = load i32, i32* %16
%53 = add nsw i32 %51, %52
%54 = sext i32 %53 to i64
%55 = getelementptr inbounds double, double* %42, i64 %54
%56 = load double, double* %55
%57 = fmul double %41, %56
%58 = load double*, double** %12
%59 = load i32, i32* %13
%60 = load i32, i32* %8
%61 = mul nsw i32 %59, %60
%62 = load i32, i32* %9
%63 = mul nsw i32 %61, %62
%64 = load i32, i32* %14
%65 = load i32, i32* %9
%66 = mul nsw i32 %64, %65
%67 = add nsw i32 %63, %66
%68 = load i32, i32* %16
%69 = add nsw i32 %67, %68
%70 = sext i32 %69 to i64
%71 = getelementptr inbounds double, double* %58, i64 %70
store double %57, double* %71
br label %72
72: ; preds = %31
%73 = load i32, i32* %16
%74 = add nsw i32 %73, 1
store i32 %74, i32* %16
br label %27
75: ; preds = %27
br label %76
76: ; preds = %75
%77 = load i32, i32* %14
%78 = add nsw i32 %77, 1
store i32 %78, i32* %14
br label %22
79: ; preds = %22
br label %80
80: ; preds = %79
%81 = load i32, i32* %13
%82 = add nsw i32 %81, 1
store i32 %82, i32* %13
br label %17
83: ; preds = %17
ret void
}

LLVM IR (-O2):
define void @calculateSubgridErrorGradient_tauRes(i32 %0, i32 %1, i32 %2, double* nocapture %3, double* nocapture %4, double* nocapture writeonly %5) {
%7 = icmp sgt i32 %0, 0
br i1 %7, label %8, label %179
8: ; preds = %6
%9 = icmp sgt i32 %1, 0
%10 = icmp sgt i32 %2, 0
%11 = sext i32 %1 to i64
%12 = zext i32 %0 to i64
%13 = zext i32 %1 to i64
%14 = zext i32 %2 to i64
%15 = mul i32 %2, %1
%16 = zext i32 %15 to i64
%17 = getelementptr double, double* %5, i64 %14
%18 = getelementptr double, double* %4, i64 %14
%19 = and i64 %14, 4294967292
%20 = add nsw i64 %19, -4
%21 = lshr exact i64 %20, 2
%22 = add nuw nsw i64 %21, 1
%23 = icmp ult i32 %2, 4
%24 = icmp ugt double* %18, %5
%25 = icmp ugt double* %17, %4
%26 = and i1 %24, %25
%27 = and i64 %14, 4294967292
%28 = and i64 %22, 1
%29 = icmp eq i64 %20, 0
%30 = and i64 %22, 9223372036854775806
%31 = icmp eq i64 %28, 0
%32 = icmp eq i64 %27, %14
%33 = and i64 %14, 1
%34 = icmp eq i64 %33, 0
%35 = sub nsw i64 0, %14
br label %36
36: ; preds = %8, %176
%37 = phi i64 [ 0, %8 ], [ %177, %176 ]
%38 = mul i64 %37, %16
%39 = mul i64 %37, %11
%40 = add i64 %39, 1
br i1 %9, label %41, label %176
41: ; preds = %36
%42 = mul nsw i64 %37, %11
br label %43
43: ; preds = %41, %173
%44 = phi i64 [ 0, %41 ], [ %174, %173 ]
%45 = mul i64 %44, %14
%46 = add i64 %38, %45
%47 = shl i64 %46, 32
%48 = ashr exact i64 %47, 32
%49 = getelementptr double, double* %5, i64 %48
%50 = getelementptr double, double* %17, i64 %48
%51 = add i64 %39, %44
%52 = getelementptr double, double* %3, i64 %51
%53 = add i64 %40, %44
%54 = getelementptr double, double* %3, i64 %53
br i1 %10, label %55, label %173
55: ; preds = %43
%56 = add nsw i64 %44, %42
%57 = getelementptr inbounds double, double* %3, i64 %56
%58 = trunc i64 %56 to i32
%59 = mul i32 %58, %2
%60 = sext i32 %59 to i64
br i1 %23, label %139, label %61
61: ; preds = %55
%62 = icmp ult double* %49, %54
%63 = icmp ult double* %52, %50
%64 = and i1 %62, %63
%65 = or i1 %64, %26
br i1 %65, label %139, label %66
66: ; preds = %61
br i1 %29, label %115, label %67
67: ; preds = %66
%68 = load double, double* %57
%69 = insertelement <2 x double> poison, double %68, i64 0
%70 = shufflevector <2 x double> %69, <2 x double> poison, <2 x i32> zeroinitializer
%71 = insertelement <2 x double> poison, double %68, i64 0
%72 = shufflevector <2 x double> %71, <2 x double> poison, <2 x i32> zeroinitializer
%73 = fneg <2 x double> %70
%74 = fneg <2 x double> %72
%75 = load double, double* %57
%76 = insertelement <2 x double> poison, double %75, i64 0
%77 = shufflevector <2 x double> %76, <2 x double> poison, <2 x i32> zeroinitializer
%78 = insertelement <2 x double> poison, double %75, i64 0
%79 = shufflevector <2 x double> %78, <2 x double> poison, <2 x i32> zeroinitializer
%80 = fneg <2 x double> %77
%81 = fneg <2 x double> %79
br label %82
82: ; preds = %82, %67
%83 = phi i64 [ 0, %67 ], [ %112, %82 ]
%84 = phi i64 [ 0, %67 ], [ %113, %82 ]
%85 = add nsw i64 %83, %60
%86 = getelementptr inbounds double, double* %4, i64 %85
%87 = bitcast double* %86 to <2 x double>*
%88 = load <2 x double>, <2 x double>* %87
%89 = getelementptr inbounds double, double* %86, i64 2
%90 = bitcast double* %89 to <2 x double>*
%91 = load <2 x double>, <2 x double>* %90
%92 = fmul <2 x double> %88, %73
%93 = fmul <2 x double> %91, %74
%94 = getelementptr inbounds double, double* %5, i64 %85
%95 = bitcast double* %94 to <2 x double>*
store <2 x double> %92, <2 x double>* %95
%96 = getelementptr inbounds double, double* %94, i64 2
%97 = bitcast double* %96 to <2 x double>*
store <2 x double> %93, <2 x double>* %97
%98 = or i64 %83, 4
%99 = add nsw i64 %98, %60
%100 = getelementptr inbounds double, double* %4, i64 %99
%101 = bitcast double* %100 to <2 x double>*
%102 = load <2 x double>, <2 x double>* %101
%103 = getelementptr inbounds double, double* %100, i64 2
%104 = bitcast double* %103 to <2 x double>*
%105 = load <2 x double>, <2 x double>* %104
%106 = fmul <2 x double> %102, %80
%107 = fmul <2 x double> %105, %81
%108 = getelementptr inbounds double, double* %5, i64 %99
%109 = bitcast double* %108 to <2 x double>*
store <2 x double> %106, <2 x double>* %109
%110 = getelementptr inbounds double, double* %108, i64 2
%111 = bitcast double* %110 to <2 x double>*
store <2 x double> %107, <2 x double>* %111
%112 = add nuw i64 %83, 8
%113 = add i64 %84, 2
%114 = icmp eq i64 %113, %30
br i1 %114, label %115, label %82
115: ; preds = %82, %66
%116 = phi i64 [ 0, %66 ], [ %112, %82 ]
br i1 %31, label %138, label %117
117: ; preds = %115
%118 = load double, double* %57
%119 = insertelement <2 x double> poison, double %118, i64 0
%120 = shufflevector <2 x double> %119, <2 x double> poison, <2 x i32> zeroinitializer
%121 = insertelement <2 x double> poison, double %118, i64 0
%122 = shufflevector <2 x double> %121, <2 x double> poison, <2 x i32> zeroinitializer
%123 = fneg <2 x double> %120
%124 = fneg <2 x double> %122
%125 = add nsw i64 %116, %60
%126 = getelementptr inbounds double, double* %4, i64 %125
%127 = bitcast double* %126 to <2 x double>*
%128 = load <2 x double>, <2 x double>* %127
%129 = getelementptr inbounds double, double* %126, i64 2
%130 = bitcast double* %129 to <2 x double>*
%131 = load <2 x double>, <2 x double>* %130
%132 = fmul <2 x double> %128, %123
%133 = fmul <2 x double> %131, %124
%134 = getelementptr inbounds double, double* %5, i64 %125
%135 = bitcast double* %134 to <2 x double>*
store <2 x double> %132, <2 x double>* %135
%136 = getelementptr inbounds double, double* %134, i64 2
%137 = bitcast double* %136 to <2 x double>*
store <2 x double> %133, <2 x double>* %137
br label %138
138: ; preds = %115, %117
br i1 %32, label %173, label %139
139: ; preds = %61, %55, %138
%140 = phi i64 [ 0, %61 ], [ 0, %55 ], [ %27, %138 ]
%141 = xor i64 %140, -1
br i1 %34, label %151, label %142
142: ; preds = %139
%143 = load double, double* %57
%144 = fneg double %143
%145 = add nsw i64 %140, %60
%146 = getelementptr inbounds double, double* %4, i64 %145
%147 = load double, double* %146
%148 = fmul double %147, %144
%149 = getelementptr inbounds double, double* %5, i64 %145
store double %148, double* %149
%150 = or i64 %140, 1
br label %151
151: ; preds = %142, %139
%152 = phi i64 [ %140, %139 ], [ %150, %142 ]
%153 = icmp eq i64 %141, %35
br i1 %153, label %173, label %154
154: ; preds = %151, %154
%155 = phi i64 [ %171, %154 ], [ %152, %151 ]
%156 = load double, double* %57
%157 = fneg double %156
%158 = add nsw i64 %155, %60
%159 = getelementptr inbounds double, double* %4, i64 %158
%160 = load double, double* %159
%161 = fmul double %160, %157
%162 = getelementptr inbounds double, double* %5, i64 %158
store double %161, double* %162
%163 = add nuw nsw i64 %155, 1
%164 = load double, double* %57
%165 = fneg double %164
%166 = add nsw i64 %163, %60
%167 = getelementptr inbounds double, double* %4, i64 %166
%168 = load double, double* %167
%169 = fmul double %168, %165
%170 = getelementptr inbounds double, double* %5, i64 %166
store double %169, double* %170
%171 = add nuw nsw i64 %155, 2
%172 = icmp eq i64 %171, %14
br i1 %172, label %173, label %154
173: ; preds = %151, %154, %138, %43
%174 = add nuw nsw i64 %44, 1
%175 = icmp eq i64 %174, %13
br i1 %175, label %176, label %43
176: ; preds = %173, %36
%177 = add nuw nsw i64 %37, 1
%178 = icmp eq i64 %177, %12
br i1 %178, label %179, label %36
179: ; preds = %176, %6
ret void
}