void setupBoundaryConditions(double X[6][6], unsigned long int x,
                             unsigned long int y) {
  unsigned long int ix, jy, i, j;
  double leftBC = 0, rightBC = 0, topBC = 0, bottomBC = 0;
  for (i = 0; i < x; i++) {
    X[i][0] = bottomBC;
    X[i][y - 1] = topBC;
  }
  for (j = 0; j < y; j++) {
    X[0][j] = leftBC;
    X[x - 1][j] = rightBC;
  }
  X[0][0] = 0.5 * (leftBC + bottomBC);
  X[0][y - 1] = 0.5 * (topBC + leftBC);
  X[x - 1][y - 1] = 0.5 * (topBC + rightBC);
  X[x - 1][0] = 0.5 * (bottomBC + rightBC);
}


x86 assembly (clang, -O0):
<setupBoundaryConditions>:
push   %rbp
mov    %rsp,%rbp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x40(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x48(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x50(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x58(%rbp)
movq   $0x0,-0x30(%rbp)
mov    -0x30(%rbp),%rax
cmp    -0x10(%rbp),%rax
jae    118a <setupBoundaryConditions+0x8a>
movsd  -0x58(%rbp),%xmm0
mov    -0x8(%rbp),%rax
imul   $0x30,-0x30(%rbp),%rcx
add    %rcx,%rax
movsd  %xmm0,(%rax)
movsd  -0x50(%rbp),%xmm0
mov    -0x8(%rbp),%rax
imul   $0x30,-0x30(%rbp),%rcx
add    %rcx,%rax
mov    -0x18(%rbp),%rcx
sub    $0x1,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x30(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x30(%rbp)
jmp    1138 <setupBoundaryConditions+0x38>
movq   $0x0,-0x38(%rbp)
mov    -0x38(%rbp),%rax
cmp    -0x18(%rbp),%rax
jae    11e4 <setupBoundaryConditions+0xe4>
movsd  -0x40(%rbp),%xmm0
mov    -0x8(%rbp),%rax
mov    -0x38(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x48(%rbp),%xmm0
mov    -0x8(%rbp),%rax
mov    -0x10(%rbp),%rcx
sub    $0x1,%rcx
imul   $0x30,%rcx,%rcx
add    %rcx,%rax
mov    -0x38(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x38(%rbp),%rax
add    $0x1,%rax
mov    %rax,-0x38(%rbp)
jmp    1192 <setupBoundaryConditions+0x92>
movsd  -0x40(%rbp),%xmm1
addsd  -0x58(%rbp),%xmm1
movsd  0xe0a(%rip),%xmm0
mulsd  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0x50(%rbp),%xmm1
addsd  -0x40(%rbp),%xmm1
movsd  0xdec(%rip),%xmm0
mulsd  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
mov    -0x18(%rbp),%rcx
sub    $0x1,%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x50(%rbp),%xmm1
addsd  -0x48(%rbp),%xmm1
movsd  0xdc5(%rip),%xmm0
mulsd  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
mov    -0x10(%rbp),%rcx
sub    $0x1,%rcx
imul   $0x30,%rcx,%rcx
add    %rcx,%rax
mov    -0x18(%rbp),%rcx
sub    $0x1,%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x58(%rbp),%xmm1
addsd  -0x48(%rbp),%xmm1
movsd  0xd8f(%rip),%xmm0
mulsd  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
mov    -0x10(%rbp),%rcx
sub    $0x1,%rcx
imul   $0x30,%rcx,%rcx
add    %rcx,%rax
movsd  %xmm0,(%rax)
pop    %rbp
ret

x86 assembly (clang, -O2):
<setupBoundaryConditions>:
push   %rbx
test   %rsi,%rsi
je     1174 <setupBoundaryConditions+0x74>
cmp    $0x1,%rsi
jne    1110 <setupBoundaryConditions+0x10>
xor    %eax,%eax
jmp    114e <setupBoundaryConditions+0x4e>
mov    %rsi,%r8
and    $0xfffffffffffffffe,%r8
xor    %eax,%eax
mov    %rdi,%rcx
nopl   0x0(%rax)
movq   $0x0,(%rcx)
movq   $0x0,-0x8(%rcx,%rdx,8)
movq   $0x0,0x30(%rcx)
movq   $0x0,0x28(%rcx,%rdx,8)
add    $0x2,%rax
add    $0x60,%rcx
cmp    %rax,%r8
jne    1120 <setupBoundaryConditions+0x20>
test   $0x1,%sil
je     1174 <setupBoundaryConditions+0x74>
lea    -0x1(%rdx),%r8
lea    (%rax,%rax,2),%rax
shl    $0x4,%rax
lea    (%rdi,%rax,1),%rcx
movq   $0x0,(%rdi,%rax,1)
movq   $0x0,(%rcx,%r8,8)
lea    -0x1(%rsi),%r8
test   %rdx,%rdx
je     1358 <setupBoundaryConditions+0x258>
cmp    $0x4,%rdx
jb     11ac <setupBoundaryConditions+0xac>
lea    (%r8,%r8,2),%rax
shl    $0x4,%rax
add    %rdi,%rax
lea    (%rax,%rdx,8),%rcx
cmp    %rdi,%rcx
jbe    1264 <setupBoundaryConditions+0x164>
lea    (%rdi,%rdx,8),%rcx
cmp    %rcx,%rax
jae    1264 <setupBoundaryConditions+0x164>
xor    %ecx,%ecx
mov    %rcx,%r9
not    %r9
add    %rdx,%r9
mov    %rdx,%rax
and    $0x3,%rax
je     11ea <setupBoundaryConditions+0xea>
lea    (%r8,%r8,2),%r10
shl    $0x4,%r10
add    %rdi,%r10
nopl   0x0(%rax,%rax,1)
movq   $0x0,(%rdi,%rcx,8)
movq   $0x0,(%r10,%rcx,8)
add    $0x1,%rcx
add    $0xffffffffffffffff,%rax
jne    11d0 <setupBoundaryConditions+0xd0>
cmp    $0x3,%r9
jb     1358 <setupBoundaryConditions+0x258>
lea    (%rsi,%rsi,2),%rax
shl    $0x4,%rax
add    %rdi,%rax
add    $0xffffffffffffffe8,%rax
cs nopw 0x0(%rax,%rax,1)
nopl   (%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,%rdx
jne    1210 <setupBoundaryConditions+0x110>
jmp    1358 <setupBoundaryConditions+0x258>
mov    %rdx,%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    128b <setupBoundaryConditions+0x18b>
xor    %ebx,%ebx
jmp    1300 <setupBoundaryConditions+0x200>
and    $0xfffffffffffffffc,%r10
lea    (%rsi,%rsi,2),%r11
shl    $0x4,%r11
add    %rdi,%r11
xor    %ebx,%ebx
xorps  %xmm0,%xmm0
nop
movups %xmm0,(%rdi,%rbx,8)
movups %xmm0,0x10(%rdi,%rbx,8)
movups %xmm0,-0x30(%r11,%rbx,8)
movups %xmm0,-0x20(%r11,%rbx,8)
movups %xmm0,0x20(%rdi,%rbx,8)
movups %xmm0,0x30(%rdi,%rbx,8)
movups %xmm0,-0x10(%r11,%rbx,8)
movups %xmm0,(%r11,%rbx,8)
movups %xmm0,0x40(%rdi,%rbx,8)
movups %xmm0,0x50(%rdi,%rbx,8)
movups %xmm0,0x10(%r11,%rbx,8)
movups %xmm0,0x20(%r11,%rbx,8)
movups %xmm0,0x60(%rdi,%rbx,8)
movups %xmm0,0x70(%rdi,%rbx,8)
movups %xmm0,0x30(%r11,%rbx,8)
movups %xmm0,0x40(%r11,%rbx,8)
add    $0x10,%rbx
add    $0xfffffffffffffffc,%r10
jne    12a0 <setupBoundaryConditions+0x1a0>
test   %r9,%r9
je     134f <setupBoundaryConditions+0x24f>
lea    (%rsi,%rsi,2),%rax
shl    $0x4,%rax
add    %rdi,%rax
lea    (%rax,%rbx,8),%r10
add    $0xffffffffffffffe0,%r10
lea    (%rdi,%rbx,8),%r11
add    $0x10,%r11
shl    $0x5,%r9
xor    %eax,%eax
xorps  %xmm0,%xmm0
nopl   0x0(%rax)
movups %xmm0,-0x10(%r11,%rax,1)
movups %xmm0,(%r11,%rax,1)
movups %xmm0,-0x10(%r10,%rax,1)
movups %xmm0,(%r10,%rax,1)
add    $0x20,%rax
cmp    %rax,%r9
jne    1330 <setupBoundaryConditions+0x230>
cmp    %rdx,%rcx
jne    11ae <setupBoundaryConditions+0xae>
movq   $0x0,(%rdi)
movq   $0x0,-0x8(%rdi,%rdx,8)
lea    (%r8,%r8,2),%rax
shl    $0x4,%rax
lea    (%rdi,%rax,1),%rcx
movq   $0x0,-0x8(%rcx,%rdx,8)
movq   $0x0,(%rdi,%rax,1)
pop    %rbx
ret

LLVM IR (-O0):
define void @setupBoundaryConditions([6 x double]* %0, i64 %1, i64 %2) {
%4 = alloca [6 x double]*
%5 = alloca i64
%6 = alloca i64
%7 = alloca i64
%8 = alloca i64
%9 = alloca i64
%10 = alloca i64
%11 = alloca double
%12 = alloca double
%13 = alloca double
%14 = alloca double
store [6 x double]* %0, [6 x double]** %4
store i64 %1, i64* %5
store i64 %2, i64* %6
store double 0.000000e+00, double* %11
store double 0.000000e+00, double* %12
store double 0.000000e+00, double* %13
store double 0.000000e+00, double* %14
store i64 0, i64* %9
br label %15
15: ; preds = %32, %3
%16 = load i64, i64* %9
%17 = load i64, i64* %5
%18 = icmp ult i64 %16, %17
br i1 %18, label %19, label %35
19: ; preds = %15
%20 = load double, double* %14
%21 = load [6 x double]*, [6 x double]** %4
%22 = load i64, i64* %9
%23 = getelementptr inbounds [6 x double], [6 x double]* %21, i64 %22
%24 = getelementptr inbounds [6 x double], [6 x double]* %23, i64 0, i64 0
store double %20, double* %24
%25 = load double, double* %13
%26 = load [6 x double]*, [6 x double]** %4
%27 = load i64, i64* %9
%28 = getelementptr inbounds [6 x double], [6 x double]* %26, i64 %27
%29 = load i64, i64* %6
%30 = sub i64 %29, 1
%31 = getelementptr inbounds [6 x double], [6 x double]* %28, i64 0, i64 %30
store double %25, double* %31
br label %32
32: ; preds = %19
%33 = load i64, i64* %9
%34 = add i64 %33, 1
store i64 %34, i64* %9
br label %15
35: ; preds = %15
store i64 0, i64* %10
br label %36
36: ; preds = %53, %35
%37 = load i64, i64* %10
%38 = load i64, i64* %6
%39 = icmp ult i64 %37, %38
br i1 %39, label %40, label %56
40: ; preds = %36
%41 = load double, double* %11
%42 = load [6 x double]*, [6 x double]** %4
%43 = getelementptr inbounds [6 x double], [6 x double]* %42, i64 0
%44 = load i64, i64* %10
%45 = getelementptr inbounds [6 x double], [6 x double]* %43, i64 0, i64 %44
store double %41, double* %45
%46 = load double, double* %12
%47 = load [6 x double]*, [6 x double]** %4
%48 = load i64, i64* %5
%49 = sub i64 %48, 1
%50 = getelementptr inbounds [6 x double], [6 x double]* %47, i64 %49
%51 = load i64, i64* %10
%52 = getelementptr inbounds [6 x double], [6 x double]* %50, i64 0, i64 %51
store double %46, double* %52
br label %53
53: ; preds = %40
%54 = load i64, i64* %10
%55 = add i64 %54, 1
store i64 %55, i64* %10
br label %36
56: ; preds = %36
%57 = load double, double* %11
%58 = load double, double* %14
%59 = fadd double %57, %58
%60 = fmul double 5.000000e-01, %59
%61 = load [6 x double]*, [6 x double]** %4
%62 = getelementptr inbounds [6 x double], [6 x double]* %61, i64 0
%63 = getelementptr inbounds [6 x double], [6 x double]* %62, i64 0, i64 0
store double %60, double* %63
%64 = load double, double* %13
%65 = load double, double* %11
%66 = fadd double %64, %65
%67 = fmul double 5.000000e-01, %66
%68 = load [6 x double]*, [6 x double]** %4
%69 = getelementptr inbounds [6 x double], [6 x double]* %68, i64 0
%70 = load i64, i64* %6
%71 = sub i64 %70, 1
%72 = getelementptr inbounds [6 x double], [6 x double]* %69, i64 0, i64 %71
store double %67, double* %72
%73 = load double, double* %13
%74 = load double, double* %12
%75 = fadd double %73, %74
%76 = fmul double 5.000000e-01, %75
%77 = load [6 x double]*, [6 x double]** %4
%78 = load i64, i64* %5
%79 = sub i64 %78, 1
%80 = getelementptr inbounds [6 x double], [6 x double]* %77, i64 %79
%81 = load i64, i64* %6
%82 = sub i64 %81, 1
%83 = getelementptr inbounds [6 x double], [6 x double]* %80, i64 0, i64 %82
store double %76, double* %83
%84 = load double, double* %14
%85 = load double, double* %12
%86 = fadd double %84, %85
%87 = fmul double 5.000000e-01, %86
%88 = load [6 x double]*, [6 x double]** %4
%89 = load i64, i64* %5
%90 = sub i64 %89, 1
%91 = getelementptr inbounds [6 x double], [6 x double]* %88, i64 %90
%92 = getelementptr inbounds [6 x double], [6 x double]* %91, i64 0, i64 0
store double %87, double* %92
ret void
}

LLVM IR (-O2):
define void @setupBoundaryConditions([6 x double]* nocapture writeonly %0, i64 %1, i64 %2) {
%4 = icmp eq i64 %1, 0
br i1 %4, label %17, label %5
5: ; preds = %3
%6 = add i64 %2, -1
%7 = and i64 %1, 1
%8 = icmp eq i64 %1, 1
br i1 %8, label %11, label %9
9: ; preds = %5
%10 = and i64 %1, -2
br label %116
11: ; preds = %116, %5
%12 = phi i64 [ 0, %5 ], [ %124, %116 ]
%13 = icmp eq i64 %7, 0
br i1 %13, label %17, label %14
14: ; preds = %11
%15 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 %12, i64 0
store double 0.000000e+00, double* %15
%16 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 %12, i64 %6
store double 0.000000e+00, double* %16
br label %17
17: ; preds = %14, %11, %3
%18 = icmp eq i64 %2, 0
%19 = add i64 %1, -1
br i1 %18, label %142, label %20
20: ; preds = %17
%21 = icmp ult i64 %2, 4
br i1 %21, label %99, label %22
22: ; preds = %20
%23 = getelementptr [6 x double], [6 x double]* %0, i64 0, i64 %2
%24 = getelementptr [6 x double], [6 x double]* %0, i64 %19, i64 0
%25 = getelementptr [6 x double], [6 x double]* %0, i64 %19, i64 %2
%26 = bitcast double* %25 to [6 x double]*
%27 = icmp ugt [6 x double]* %26, %0
%28 = icmp ult double* %24, %23
%29 = and i1 %27, %28
br i1 %29, label %99, label %30
30: ; preds = %22
%31 = and i64 %2, -4
%32 = add i64 %31, -4
%33 = lshr exact i64 %32, 2
%34 = add nuw nsw i64 %33, 1
%35 = and i64 %34, 3
%36 = icmp ult i64 %32, 12
br i1 %36, label %80, label %37
37: ; preds = %30
%38 = and i64 %34, 9223372036854775804
br label %39
39: ; preds = %39, %37
%40 = phi i64 [ 0, %37 ], [ %77, %39 ]
%41 = phi i64 [ 0, %37 ], [ %78, %39 ]
%42 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 0, i64 %40
%43 = bitcast double* %42 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %43
%44 = getelementptr inbounds double, double* %42, i64 2
%45 = bitcast double* %44 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %45
%46 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 %19, i64 %40
%47 = bitcast double* %46 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %47
%48 = getelementptr inbounds double, double* %46, i64 2
%49 = bitcast double* %48 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %49
%50 = or i64 %40, 4
%51 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 0, i64 %50
%52 = bitcast double* %51 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %52
%53 = getelementptr inbounds double, double* %51, i64 2
%54 = bitcast double* %53 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %54
%55 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 %19, i64 %50
%56 = bitcast double* %55 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %56
%57 = getelementptr inbounds double, double* %55, i64 2
%58 = bitcast double* %57 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %58
%59 = or i64 %40, 8
%60 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 0, i64 %59
%61 = bitcast double* %60 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %61
%62 = getelementptr inbounds double, double* %60, i64 2
%63 = bitcast double* %62 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %63
%64 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 %19, i64 %59
%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 = or i64 %40, 12
%69 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 0, i64 %68
%70 = bitcast double* %69 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %70
%71 = getelementptr inbounds double, double* %69, i64 2
%72 = bitcast double* %71 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %72
%73 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 %19, i64 %68
%74 = bitcast double* %73 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %74
%75 = getelementptr inbounds double, double* %73, i64 2
%76 = bitcast double* %75 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %76
%77 = add nuw i64 %40, 16
%78 = add nuw i64 %41, 4
%79 = icmp eq i64 %78, %38
br i1 %79, label %80, label %39
80: ; preds = %39, %30
%81 = phi i64 [ 0, %30 ], [ %77, %39 ]
%82 = icmp eq i64 %35, 0
br i1 %82, label %97, label %83
83: ; preds = %80, %83
%84 = phi i64 [ %94, %83 ], [ %81, %80 ]
%85 = phi i64 [ %95, %83 ], [ 0, %80 ]
%86 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 0, i64 %84
%87 = bitcast double* %86 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %87
%88 = getelementptr inbounds double, double* %86, i64 2
%89 = bitcast double* %88 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %89
%90 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 %19, i64 %84
%91 = bitcast double* %90 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %91
%92 = getelementptr inbounds double, double* %90, i64 2
%93 = bitcast double* %92 to <2 x double>*
store <2 x double> zeroinitializer, <2 x double>* %93
%94 = add nuw i64 %84, 4
%95 = add i64 %85, 1
%96 = icmp eq i64 %95, %35
br i1 %96, label %97, label %83
97: ; preds = %83, %80
%98 = icmp eq i64 %31, %2
br i1 %98, label %142, label %99
99: ; preds = %22, %20, %97
%100 = phi i64 [ 0, %22 ], [ 0, %20 ], [ %31, %97 ]
%101 = xor i64 %100, -1
%102 = add i64 %101, %2
%103 = and i64 %2, 3
%104 = icmp eq i64 %103, 0
br i1 %104, label %113, label %105
105: ; preds = %99, %105
%106 = phi i64 [ %110, %105 ], [ %100, %99 ]
%107 = phi i64 [ %111, %105 ], [ 0, %99 ]
%108 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 0, i64 %106
store double 0.000000e+00, double* %108
%109 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 %19, i64 %106
store double 0.000000e+00, double* %109
%110 = add nuw i64 %106, 1
%111 = add i64 %107, 1
%112 = icmp eq i64 %111, %103
br i1 %112, label %113, label %105
113: ; preds = %105, %99
%114 = phi i64 [ %100, %99 ], [ %110, %105 ]
%115 = icmp ult i64 %102, 3
br i1 %115, label %142, label %127
116: ; preds = %116, %9
%117 = phi i64 [ 0, %9 ], [ %124, %116 ]
%118 = phi i64 [ 0, %9 ], [ %125, %116 ]
%119 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 %117, i64 0
store double 0.000000e+00, double* %119
%120 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 %117, i64 %6
store double 0.000000e+00, double* %120
%121 = or i64 %117, 1
%122 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 %121, i64 0
store double 0.000000e+00, double* %122
%123 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 %121, i64 %6
store double 0.000000e+00, double* %123
%124 = add nuw i64 %117, 2
%125 = add i64 %118, 2
%126 = icmp eq i64 %125, %10
br i1 %126, label %11, label %116
127: ; preds = %113, %127
%128 = phi i64 [ %140, %127 ], [ %114, %113 ]
%129 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 0, i64 %128
store double 0.000000e+00, double* %129
%130 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 %19, i64 %128
store double 0.000000e+00, double* %130
%131 = add nuw i64 %128, 1
%132 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 0, i64 %131
store double 0.000000e+00, double* %132
%133 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 %19, i64 %131
store double 0.000000e+00, double* %133
%134 = add nuw i64 %128, 2
%135 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 0, i64 %134
store double 0.000000e+00, double* %135
%136 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 %19, i64 %134
store double 0.000000e+00, double* %136
%137 = add nuw i64 %128, 3
%138 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 0, i64 %137
store double 0.000000e+00, double* %138
%139 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 %19, i64 %137
store double 0.000000e+00, double* %139
%140 = add nuw i64 %128, 4
%141 = icmp eq i64 %140, %2
br i1 %141, label %142, label %127
142: ; preds = %113, %127, %97, %17
%143 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 0, i64 0
store double 0.000000e+00, double* %143
%144 = add i64 %2, -1
%145 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 0, i64 %144
store double 0.000000e+00, double* %145
%146 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 %19, i64 %144
store double 0.000000e+00, double* %146
%147 = getelementptr inbounds [6 x double], [6 x double]* %0, i64 %19, i64 0
store double 0.000000e+00, double* %147
ret void
}