void spec_boundary_val(int imax, int jmax, double **U, double **V, double UI,
                       double VI) {
  int j;
  for (j = 1; j <= jmax / 2; j++) {
    U[0][j] = 0.0;
    V[0][j] = -V[1][j];
  }
  for (j = jmax / 2 + 1; j < jmax + 1; j++) {
    U[0][j] = UI;
    V[0][j] = 2 * VI - V[1][j];
  }
}


x86 assembly (clang, -O0):
<spec_boundary_val>:
push   %rbp
mov    %rsp,%rbp
mov    %edi,-0x4(%rbp)
mov    %esi,-0x8(%rbp)
mov    %rdx,-0x10(%rbp)
mov    %rcx,-0x18(%rbp)
movsd  %xmm0,-0x20(%rbp)
movsd  %xmm1,-0x28(%rbp)
movl   $0x1,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
mov    %eax,-0x30(%rbp)
mov    -0x8(%rbp),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
mov    %eax,%ecx
mov    -0x30(%rbp),%eax
cmp    %ecx,%eax
jg     119a <spec_boundary_val+0x9a>
mov    -0x10(%rbp),%rax
mov    (%rax),%rax
movslq -0x2c(%rbp),%rcx
xorps  %xmm0,%xmm0
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x18(%rbp),%rax
mov    0x8(%rax),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mov    -0x18(%rbp),%rax
mov    (%rax),%rax
movslq -0x2c(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    1123 <spec_boundary_val+0x23>
mov    -0x8(%rbp),%eax
mov    $0x2,%ecx
cltd
idiv   %ecx
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
mov    -0x8(%rbp),%ecx
add    $0x1,%ecx
cmp    %ecx,%eax
jge    1224 <spec_boundary_val+0x124>
movsd  -0x20(%rbp),%xmm0
mov    -0x10(%rbp),%rax
mov    (%rax),%rax
movslq -0x2c(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
movsd  -0x28(%rbp),%xmm0
mov    -0x18(%rbp),%rax
mov    0x8(%rax),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
addsd  %xmm0,%xmm0
addsd  %xmm1,%xmm0
mov    -0x18(%rbp),%rax
mov    (%rax),%rax
movslq -0x2c(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    11ab <spec_boundary_val+0xab>
pop    %rbp
ret

x86 assembly (clang, -O2):
<spec_boundary_val>:
push   %rbp
push   %r15
push   %r14
push   %r13
push   %r12
push   %rbx
mov    %esi,%r8d
shr    $0x1f,%r8d
add    %esi,%r8d
sar    %r8d
cmp    $0x2,%esi
jl     133c <spec_boundary_val+0x23c>
mov    (%rdx),%r9
mov    (%rcx),%r11
mov    0x8(%rcx),%r12
lea    0x1(%r8),%r10d
lea    -0x1(%r10),%rdi
mov    $0x1,%eax
cmp    $0x4,%rdi
jb     12c5 <spec_boundary_val+0x1c5>
mov    %rdi,-0x8(%rsp)
mov    %rdx,-0x10(%rsp)
mov    %rcx,-0x18(%rsp)
lea    0x8(%r9),%rdi
lea    (%r9,%r10,8),%rbp
lea    0x8(%r11),%rbx
lea    (%r11,%r10,8),%r15
lea    0x8(%r12),%r14
lea    (%r12,%r10,8),%rdx
cmp    %r15,%rdi
setb   -0x19(%rsp)
cmp    %rbp,%rbx
setb   %cl
cmp    %rdx,%rdi
setb   %r13b
cmp    %rbp,%r14
setb   %bpl
cmp    %rdx,%rbx
setb   %dil
cmp    %r15,%r14
setb   %r15b
test   %cl,-0x19(%rsp)
jne    12bb <spec_boundary_val+0x1bb>
and    %bpl,%r13b
jne    12bb <spec_boundary_val+0x1bb>
and    %r15b,%dil
mov    -0x18(%rsp),%rcx
mov    -0x10(%rsp),%rdx
jne    12c5 <spec_boundary_val+0x1c5>
mov    -0x8(%rsp),%rbp
mov    %rbp,%rax
and    $0xfffffffffffffffc,%rax
lea    -0x4(%rax),%rdi
mov    %rdi,%r15
shr    $0x2,%r15
add    $0x1,%r15
test   %rdi,%rdi
je     14d9 <spec_boundary_val+0x3d9>
mov    %r15,%rdi
and    $0xfffffffffffffffe,%rdi
mov    $0x1,%ebx
xorpd  %xmm2,%xmm2
movapd 0xe0b(%rip),%xmm3
cs nopw 0x0(%rax,%rax,1)
nop
movupd %xmm2,(%r9,%rbx,8)
movupd %xmm2,0x10(%r9,%rbx,8)
movupd (%r12,%rbx,8),%xmm4
movupd 0x10(%r12,%rbx,8),%xmm5
xorpd  %xmm3,%xmm4
xorpd  %xmm3,%xmm5
movupd %xmm4,(%r11,%rbx,8)
movupd %xmm5,0x10(%r11,%rbx,8)
movupd %xmm2,0x20(%r9,%rbx,8)
movupd %xmm2,0x30(%r9,%rbx,8)
movupd 0x20(%r12,%rbx,8),%xmm4
movupd 0x30(%r12,%rbx,8),%xmm5
xorpd  %xmm3,%xmm4
xorpd  %xmm3,%xmm5
movupd %xmm4,0x20(%r11,%rbx,8)
movupd %xmm5,0x30(%r11,%rbx,8)
add    $0x8,%rbx
add    $0xfffffffffffffffe,%rdi
jne    1200 <spec_boundary_val+0x100>
test   $0x1,%r15b
je     12ac <spec_boundary_val+0x1ac>
xorpd  %xmm2,%xmm2
movupd %xmm2,(%r9,%rbx,8)
movupd %xmm2,0x10(%r9,%rbx,8)
movupd (%r12,%rbx,8),%xmm2
movupd 0x10(%r12,%rbx,8),%xmm3
movapd 0xd69(%rip),%xmm4
xorpd  %xmm4,%xmm2
xorpd  %xmm4,%xmm3
movupd %xmm2,(%r11,%rbx,8)
movupd %xmm3,0x10(%r11,%rbx,8)
cmp    %rax,%rbp
je     133c <spec_boundary_val+0x23c>
or     $0x1,%rax
jmp    12c5 <spec_boundary_val+0x1c5>
mov    -0x18(%rsp),%rcx
mov    -0x10(%rsp),%rdx
mov    %rax,%rdi
not    %rdi
test   $0x1,%r10b
jne    12f1 <spec_boundary_val+0x1f1>
movq   $0x0,(%r9,%rax,8)
movsd  (%r12,%rax,8),%xmm2
xorpd  0xd19(%rip),%xmm2
movlpd %xmm2,(%r11,%rax,8)
add    $0x1,%rax
add    %r10,%rdi
je     133c <spec_boundary_val+0x23c>
movapd 0xd02(%rip),%xmm2
xchg   %ax,%ax
movq   $0x0,(%r9,%rax,8)
movsd  (%r12,%rax,8),%xmm3
xorpd  %xmm2,%xmm3
movlpd %xmm3,(%r11,%rax,8)
movq   $0x0,0x8(%r9,%rax,8)
movsd  0x8(%r12,%rax,8),%xmm3
xorpd  %xmm2,%xmm3
movlpd %xmm3,0x8(%r11,%rax,8)
add    $0x2,%rax
cmp    %rax,%r10
jne    1300 <spec_boundary_val+0x200>
cmp    %esi,%r8d
jge    14ce <spec_boundary_val+0x3ce>
mov    (%rdx),%r14
mov    (%rcx),%r15
mov    0x8(%rcx),%r12
movslq %r8d,%r9
movslq %esi,%r10
mov    %r10,%r8
sub    %r9,%r8
cmp    $0x4,%r8
jb     1451 <spec_boundary_val+0x351>
lea    (%r14,%r9,8),%rax
add    $0x8,%rax
lea    0x8(%r14,%r10,8),%rcx
lea    0x8(%r15,%r9,8),%rdi
lea    (%r15,%r10,8),%rbp
add    $0x8,%rbp
lea    (%r12,%r9,8),%rbx
add    $0x8,%rbx
lea    (%r12,%r10,8),%rdx
add    $0x8,%rdx
cmp    %rbp,%rax
setb   %r13b
cmp    %rcx,%rdi
setb   %r11b
cmp    %rdx,%rax
setb   %al
cmp    %rcx,%rbx
setb   -0x18(%rsp)
cmp    %rdx,%rdi
setb   %cl
cmp    %rbp,%rbx
setb   %bl
test   %r11b,%r13b
jne    1451 <spec_boundary_val+0x351>
and    -0x18(%rsp),%al
jne    1451 <spec_boundary_val+0x351>
and    %bl,%cl
jne    1451 <spec_boundary_val+0x351>
mov    %r8,%r11
and    $0xfffffffffffffffc,%r11
lea    (%r11,%r9,1),%rbx
movapd %xmm0,%xmm2
unpcklpd %xmm0,%xmm2
movapd %xmm1,%xmm3
unpcklpd %xmm1,%xmm3
lea    (%r15,%r9,8),%rdi
add    $0x18,%rdi
lea    (%r12,%r9,8),%rax
add    $0x18,%rax
lea    (%r14,%r9,8),%rdx
add    $0x18,%rdx
xor    %ecx,%ecx
addpd  %xmm3,%xmm3
nopl   0x0(%rax,%rax,1)
movupd %xmm2,-0x10(%rdx,%rcx,8)
movupd %xmm2,(%rdx,%rcx,8)
movupd -0x10(%rax,%rcx,8),%xmm4
movupd (%rax,%rcx,8),%xmm5
movapd %xmm3,%xmm6
subpd  %xmm4,%xmm6
movapd %xmm3,%xmm4
subpd  %xmm5,%xmm4
movupd %xmm6,-0x10(%rdi,%rcx,8)
movupd %xmm4,(%rdi,%rcx,8)
add    $0x4,%rcx
cmp    %rcx,%r11
jne    1410 <spec_boundary_val+0x310>
cmp    %r11,%r8
jne    1454 <spec_boundary_val+0x354>
jmp    14ce <spec_boundary_val+0x3ce>
mov    %r9,%rbx
sub    %ebx,%esi
mov    %rbx,%rax
not    %rax
test   $0x1,%sil
je     1483 <spec_boundary_val+0x383>
movsd  %xmm0,0x8(%r14,%rbx,8)
movapd %xmm1,%xmm2
addsd  %xmm1,%xmm2
subsd  0x8(%r12,%rbx,8),%xmm2
movsd  %xmm2,0x8(%r15,%rbx,8)
add    $0x1,%rbx
add    %r10,%rax
je     14ce <spec_boundary_val+0x3ce>
addsd  %xmm1,%xmm1
nopl   0x0(%rax)
movsd  %xmm0,0x8(%r14,%rbx,8)
movapd %xmm1,%xmm2
subsd  0x8(%r12,%rbx,8),%xmm2
movsd  %xmm2,0x8(%r15,%rbx,8)
movsd  %xmm0,0x10(%r14,%rbx,8)
movapd %xmm1,%xmm2
subsd  0x10(%r12,%rbx,8),%xmm2
movsd  %xmm2,0x10(%r15,%rbx,8)
lea    0x2(%rbx),%rax
mov    %rax,%rbx
cmp    %rax,%r10
jne    1490 <spec_boundary_val+0x390>
pop    %rbx
pop    %r12
pop    %r13
pop    %r14
pop    %r15
pop    %rbp
ret
mov    $0x1,%ebx
test   $0x1,%r15b
jne    1271 <spec_boundary_val+0x171>
jmp    12ac <spec_boundary_val+0x1ac>

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

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