void clearFrame(double *img, long w, long h) {
  int i, j;
  for (j = 0; j < w; j++) {
    img[j] = 0.0;
    img[(h - 1) * w + j] = 0.0;
  }
  for (i = 0; i < h; i++) {
    img[w * i] = 0.0;
    img[w * i + (w - 1)] = 0.0;
  }
}


x86 assembly (clang, -O0):
<clearFrame>:
push   %rbp
mov    %rsp,%rbp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
movl   $0x0,-0x20(%rbp)
movslq -0x20(%rbp),%rax
cmp    -0x10(%rbp),%rax
jge    1163 <clearFrame+0x63>
mov    -0x8(%rbp),%rax
movslq -0x20(%rbp),%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x8(%rbp),%rax
mov    -0x18(%rbp),%rcx
sub    $0x1,%rcx
imul   -0x10(%rbp),%rcx
movslq -0x20(%rbp),%rdx
add    %rdx,%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x20(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x20(%rbp)
jmp    1117 <clearFrame+0x17>
movl   $0x0,-0x1c(%rbp)
movslq -0x1c(%rbp),%rax
cmp    -0x18(%rbp),%rax
jge    11c1 <clearFrame+0xc1>
mov    -0x8(%rbp),%rax
mov    -0x10(%rbp),%rcx
movslq -0x1c(%rbp),%rdx
imul   %rdx,%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x8(%rbp),%rax
mov    -0x10(%rbp),%rcx
movslq -0x1c(%rbp),%rdx
imul   %rdx,%rcx
mov    -0x10(%rbp),%rdx
sub    $0x1,%rdx
add    %rdx,%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x1c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x1c(%rbp)
jmp    116a <clearFrame+0x6a>
pop    %rbp
ret

x86 assembly (clang, -O2):
<clearFrame>:
push   %r15
push   %r14
push   %rbx
test   %rsi,%rsi
jle    12d6 <clearFrame+0x1d6>
lea    -0x1(%rdx),%r8
imul   %rsi,%r8
cmp    $0x4,%rsi
jb     1141 <clearFrame+0x41>
mov    %rdx,%rax
imul   %rsi,%rax
lea    (%rdi,%rax,8),%rax
cmp    %rdi,%rax
jbe    11e4 <clearFrame+0xe4>
lea    (%rdi,%rsi,8),%rax
lea    (%rdi,%r8,8),%rcx
cmp    %rax,%rcx
jae    11e4 <clearFrame+0xe4>
xor    %ecx,%ecx
mov    %rcx,%r9
not    %r9
add    %rsi,%r9
mov    %rsi,%rbx
and    $0x3,%rbx
je     117a <clearFrame+0x7a>
lea    (%rdi,%r8,8),%rax
nopl   0x0(%rax)
movq   $0x0,(%rdi,%rcx,8)
movq   $0x0,(%rax,%rcx,8)
add    $0x1,%rcx
add    $0xffffffffffffffff,%rbx
jne    1160 <clearFrame+0x60>
cmp    $0x3,%r9
jb     12d6 <clearFrame+0x1d6>
lea    (%rdi,%r8,8),%rax
add    $0x18,%rax
nopl   0x0(%rax)
movq   $0x0,(%rdi,%rcx,8)
movq   $0x0,-0x18(%rax,%rcx,8)
movq   $0x0,0x8(%rdi,%rcx,8)
movq   $0x0,-0x10(%rax,%rcx,8)
movq   $0x0,0x10(%rdi,%rcx,8)
movq   $0x0,-0x8(%rax,%rcx,8)
movq   $0x0,0x18(%rdi,%rcx,8)
movq   $0x0,(%rax,%rcx,8)
add    $0x4,%rcx
cmp    %rcx,%rsi
jne    1190 <clearFrame+0x90>
jmp    12d6 <clearFrame+0x1d6>
mov    %rsi,%rcx
and    $0xfffffffffffffffc,%rcx
lea    -0x4(%rcx),%rax
mov    %rax,%r10
shr    $0x2,%r10
add    $0x1,%r10
mov    %r10d,%r9d
and    $0x3,%r9d
cmp    $0xc,%rax
jae    120b <clearFrame+0x10b>
xor    %eax,%eax
jmp    1280 <clearFrame+0x180>
and    $0xfffffffffffffffc,%r10
lea    0x70(%rdi),%r11
lea    (%rdi,%r8,8),%rbx
add    $0x70,%rbx
xor    %eax,%eax
xorps  %xmm0,%xmm0
movups %xmm0,-0x70(%r11,%rax,8)
movups %xmm0,-0x60(%r11,%rax,8)
movups %xmm0,-0x70(%rbx,%rax,8)
movups %xmm0,-0x60(%rbx,%rax,8)
movups %xmm0,-0x50(%r11,%rax,8)
movups %xmm0,-0x40(%r11,%rax,8)
movups %xmm0,-0x50(%rbx,%rax,8)
movups %xmm0,-0x40(%rbx,%rax,8)
movups %xmm0,-0x30(%r11,%rax,8)
movups %xmm0,-0x20(%r11,%rax,8)
movups %xmm0,-0x30(%rbx,%rax,8)
movups %xmm0,-0x20(%rbx,%rax,8)
movups %xmm0,-0x10(%r11,%rax,8)
movups %xmm0,(%r11,%rax,8)
movups %xmm0,-0x10(%rbx,%rax,8)
movups %xmm0,(%rbx,%rax,8)
add    $0x10,%rax
add    $0xfffffffffffffffc,%r10
jne    1220 <clearFrame+0x120>
test   %r9,%r9
je     12cd <clearFrame+0x1cd>
lea    (%rax,%r8,1),%rbx
lea    (%rdi,%rbx,8),%r10
add    $0x10,%r10
lea    (%rdi,%rax,8),%rax
add    $0x10,%rax
shl    $0x5,%r9
xor    %ebx,%ebx
xorps  %xmm0,%xmm0
cs nopw 0x0(%rax,%rax,1)
nopl   0x0(%rax)
movups %xmm0,-0x10(%rax,%rbx,1)
movups %xmm0,(%rax,%rbx,1)
movups %xmm0,-0x10(%r10,%rbx,1)
movups %xmm0,(%r10,%rbx,1)
add    $0x20,%rbx
cmp    %rbx,%r9
jne    12b0 <clearFrame+0x1b0>
cmp    %rsi,%rcx
jne    1143 <clearFrame+0x43>
test   %rdx,%rdx
jle    141f <clearFrame+0x31f>
lea    -0x1(%rsi),%r8
xor    %r10d,%r10d
cmp    $0x4,%rdx
jb     13ac <clearFrame+0x2ac>
cmp    $0x1,%rsi
jne    13ac <clearFrame+0x2ac>
mov    %rdx,%r10
and    $0xfffffffffffffffc,%r10
lea    -0x4(%r10),%rax
mov    %rax,%r9
shr    $0x2,%r9
add    $0x1,%r9
test   %rax,%rax
je     1425 <clearFrame+0x325>
movabs $0x7ffffffffffffffc,%rax
ff ff 7f
or     $0x2,%rax
and    %r9,%rax
lea    0x0(,%rsi,8),%rcx
lea    (%rcx,%rcx,4),%r11
mov    %rsi,%r14
shl    $0x6,%r14
mov    %rsi,%r15
shl    $0x5,%r15
xor    %ecx,%ecx
xorps  %xmm0,%xmm0
mov    %rdi,%rbx
nopl   0x0(%rax)
movups %xmm0,(%rbx)
movups %xmm0,0x10(%rbx)
movups %xmm0,-0x8(%rbx,%rsi,8)
movups %xmm0,0x8(%rbx,%rsi,8)
movups %xmm0,(%rbx,%r15,1)
movups %xmm0,0x10(%rbx,%r15,1)
movups %xmm0,-0x8(%rbx,%r11,1)
movups %xmm0,0x8(%rbx,%r11,1)
add    $0x8,%rcx
add    %r14,%rbx
add    $0xfffffffffffffffe,%rax
jne    1350 <clearFrame+0x250>
test   $0x1,%r9b
je     13a7 <clearFrame+0x2a7>
imul   %rsi,%rcx
xorps  %xmm0,%xmm0
movups %xmm0,(%rdi,%rcx,8)
movups %xmm0,0x10(%rdi,%rcx,8)
add    %r8,%rcx
movups %xmm0,(%rdi,%rcx,8)
movups %xmm0,0x10(%rdi,%rcx,8)
cmp    %rdx,%r10
je     141f <clearFrame+0x31f>
mov    %r10,%rax
not    %rax
test   $0x1,%dl
je     13d5 <clearFrame+0x2d5>
mov    %r10,%rcx
imul   %rsi,%rcx
movq   $0x0,(%rdi,%rcx,8)
add    %rcx,%r8
movq   $0x0,(%rdi,%r8,8)
or     $0x1,%r10
add    %rdx,%rax
je     141f <clearFrame+0x31f>
sub    %r10,%rdx
lea    0x1(%r10),%rax
imul   %rsi,%rax
mov    %rsi,%rcx
shl    $0x4,%rcx
mov    %r10,%rbx
imul   %rsi,%rbx
add    $0x2,%r10
imul   %rsi,%r10
xorps  %xmm0,%xmm0
xchg   %ax,%ax
movq   $0x0,(%rdi,%rbx,8)
movups %xmm0,-0x8(%rdi,%rax,8)
movq   $0x0,-0x8(%rdi,%r10,8)
add    %rcx,%rdi
add    $0xfffffffffffffffe,%rdx
jne    1400 <clearFrame+0x300>
pop    %rbx
pop    %r14
pop    %r15
ret
xor    %ecx,%ecx
test   $0x1,%r9b
jne    138b <clearFrame+0x28b>
jmp    13a7 <clearFrame+0x2a7>

LLVM IR (-O0):
define void @clearFrame(double* %0, i64 %1, i64 %2) {
%4 = alloca double*
%5 = alloca i64
%6 = alloca i64
%7 = alloca i32
%8 = alloca i32
store double* %0, double** %4
store i64 %1, i64* %5
store i64 %2, i64* %6
store i32 0, i32* %8
br label %9
9: ; preds = %28, %3
%10 = load i32, i32* %8
%11 = sext i32 %10 to i64
%12 = load i64, i64* %5
%13 = icmp slt i64 %11, %12
br i1 %13, label %14, label %31
14: ; preds = %9
%15 = load double*, double** %4
%16 = load i32, i32* %8
%17 = sext i32 %16 to i64
%18 = getelementptr inbounds double, double* %15, i64 %17
store double 0.000000e+00, double* %18
%19 = load double*, double** %4
%20 = load i64, i64* %6
%21 = sub nsw i64 %20, 1
%22 = load i64, i64* %5
%23 = mul nsw i64 %21, %22
%24 = load i32, i32* %8
%25 = sext i32 %24 to i64
%26 = add nsw i64 %23, %25
%27 = getelementptr inbounds double, double* %19, i64 %26
store double 0.000000e+00, double* %27
br label %28
28: ; preds = %14
%29 = load i32, i32* %8
%30 = add nsw i32 %29, 1
store i32 %30, i32* %8
br label %9
31: ; preds = %9
store i32 0, i32* %7
br label %32
32: ; preds = %53, %31
%33 = load i32, i32* %7
%34 = sext i32 %33 to i64
%35 = load i64, i64* %6
%36 = icmp slt i64 %34, %35
br i1 %36, label %37, label %56
37: ; preds = %32
%38 = load double*, double** %4
%39 = load i64, i64* %5
%40 = load i32, i32* %7
%41 = sext i32 %40 to i64
%42 = mul nsw i64 %39, %41
%43 = getelementptr inbounds double, double* %38, i64 %42
store double 0.000000e+00, double* %43
%44 = load double*, double** %4
%45 = load i64, i64* %5
%46 = load i32, i32* %7
%47 = sext i32 %46 to i64
%48 = mul nsw i64 %45, %47
%49 = load i64, i64* %5
%50 = sub nsw i64 %49, 1
%51 = add nsw i64 %48, %50
%52 = getelementptr inbounds double, double* %44, i64 %51
store double 0.000000e+00, double* %52
br label %53
53: ; preds = %37
%54 = load i32, i32* %7
%55 = add nsw i32 %54, 1
store i32 %55, i32* %7
br label %32
56: ; preds = %32
ret void
}

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