void cg_step(double *xtemp, double *x, double *d, double alpha, int n) {
  int n5, i;
  n5 = n % 5;
  for (i = 0; i < n5; i++)
    xtemp[i] = x[i] + alpha * d[i];
  for (; i < n; i += 5) {
    xtemp[i] = x[i] + alpha * d[i];
    xtemp[i + 1] = x[i + 1] + alpha * d[i + 1];
    xtemp[i + 2] = x[i + 2] + alpha * d[i + 2];
    xtemp[i + 3] = x[i + 3] + alpha * d[i + 3];
    xtemp[i + 4] = x[i + 4] + alpha * d[i + 4];
  }
}


x86 assembly (clang, -O0):
<cg_step>:
push   %rbp
mov    %rsp,%rbp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
movsd  %xmm0,-0x20(%rbp)
mov    %ecx,-0x24(%rbp)
mov    -0x24(%rbp),%eax
mov    $0x5,%ecx
cltd
idiv   %ecx
mov    %edx,-0x28(%rbp)
movl   $0x0,-0x2c(%rbp)
mov    -0x2c(%rbp),%eax
cmp    -0x28(%rbp),%eax
jge    117b <cg_step+0x7b>
mov    -0x10(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm1
movsd  -0x20(%rbp),%xmm0
mov    -0x18(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x2c(%rbp),%eax
add    $0x1,%eax
mov    %eax,-0x2c(%rbp)
jmp    112d <cg_step+0x2d>
jmp    1180 <cg_step+0x80>
mov    -0x2c(%rbp),%eax
cmp    -0x24(%rbp),%eax
jge    12da <cg_step+0x1da>
mov    -0x10(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm1
movsd  -0x20(%rbp),%xmm0
mov    -0x18(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  (%rax,%rcx,8),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
movslq -0x2c(%rbp),%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x10(%rbp),%rax
mov    -0x2c(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm1
movsd  -0x20(%rbp),%xmm0
mov    -0x18(%rbp),%rax
mov    -0x2c(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
mov    -0x2c(%rbp),%ecx
add    $0x1,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x10(%rbp),%rax
mov    -0x2c(%rbp),%ecx
add    $0x2,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm1
movsd  -0x20(%rbp),%xmm0
mov    -0x18(%rbp),%rax
mov    -0x2c(%rbp),%ecx
add    $0x2,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
mov    -0x2c(%rbp),%ecx
add    $0x2,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x10(%rbp),%rax
mov    -0x2c(%rbp),%ecx
add    $0x3,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm1
movsd  -0x20(%rbp),%xmm0
mov    -0x18(%rbp),%rax
mov    -0x2c(%rbp),%ecx
add    $0x3,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
mov    -0x2c(%rbp),%ecx
add    $0x3,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x10(%rbp),%rax
mov    -0x2c(%rbp),%ecx
add    $0x4,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm1
movsd  -0x20(%rbp),%xmm0
mov    -0x18(%rbp),%rax
mov    -0x2c(%rbp),%ecx
add    $0x4,%ecx
movslq %ecx,%rcx
movsd  (%rax,%rcx,8),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
mov    -0x2c(%rbp),%ecx
add    $0x4,%ecx
movslq %ecx,%rcx
movsd  %xmm0,(%rax,%rcx,8)
mov    -0x2c(%rbp),%eax
add    $0x5,%eax
mov    %eax,-0x2c(%rbp)
jmp    1180 <cg_step+0x80>
pop    %rbp
ret

x86 assembly (clang, -O2):
<cg_step>:
push   %rbp
push   %r15
push   %r14
push   %rbx
mov    %rdx,%r9
movslq %ecx,%r10
imul   $0x66666667,%r10,%rax
mov    %rax,%rdx
shr    $0x3f,%rdx
sar    $0x21,%rax
add    %edx,%eax
lea    (%rax,%rax,4),%edx
mov    %r10d,%eax
sub    %edx,%eax
test   %eax,%eax
jle    11d3 <cg_step+0xd3>
movsd  (%r9),%xmm1
mulsd  %xmm0,%xmm1
addsd  (%rsi),%xmm1
movsd  %xmm1,(%rdi)
cmp    $0x1,%eax
je     11d5 <cg_step+0xd5>
movsd  0x8(%r9),%xmm1
mulsd  %xmm0,%xmm1
addsd  0x8(%rsi),%xmm1
movsd  %xmm1,0x8(%rdi)
cmp    $0x2,%eax
je     11d5 <cg_step+0xd5>
movsd  0x10(%r9),%xmm1
mulsd  %xmm0,%xmm1
addsd  0x10(%rsi),%xmm1
movsd  %xmm1,0x10(%rdi)
cmp    $0x3,%eax
je     11d5 <cg_step+0xd5>
movsd  0x18(%r9),%xmm1
mulsd  %xmm0,%xmm1
addsd  0x18(%rsi),%xmm1
movsd  %xmm1,0x18(%rdi)
cmp    $0x4,%eax
je     11d5 <cg_step+0xd5>
movsd  0x20(%r9),%xmm1
mulsd  %xmm0,%xmm1
addsd  0x20(%rsi),%xmm1
movsd  %xmm1,0x20(%rdi)
movsd  0x28(%r9),%xmm1
mulsd  %xmm0,%xmm1
addsd  0x28(%rsi),%xmm1
movsd  %xmm1,0x28(%rdi)
movsd  0x30(%r9),%xmm1
mulsd  %xmm0,%xmm1
addsd  0x30(%rsi),%xmm1
movsd  %xmm1,0x30(%rdi)
jmp    11d5 <cg_step+0xd5>
xor    %eax,%eax
cmp    %ecx,%eax
jge    1289 <cg_step+0x189>
mov    %eax,%ecx
mov    %rcx,%r11
not    %r11
add    %r10,%r11
movabs $0xcccccccccccccccd,%rbx
cc cc cc
mov    %r11,%rax
mul    %rbx
cmp    $0x5,%r11
jae    1290 <cg_step+0x190>
mov    %rcx,%rax
cs nopw 0x0(%rax,%rax,1)
nop
movsd  (%r9,%rax,8),%xmm1
mulsd  %xmm0,%xmm1
addsd  (%rsi,%rax,8),%xmm1
movsd  %xmm1,(%rdi,%rax,8)
movsd  0x8(%r9,%rax,8),%xmm1
mulsd  %xmm0,%xmm1
addsd  0x8(%rsi,%rax,8),%xmm1
movsd  %xmm1,0x8(%rdi,%rax,8)
movsd  0x10(%r9,%rax,8),%xmm1
mulsd  %xmm0,%xmm1
addsd  0x10(%rsi,%rax,8),%xmm1
movsd  %xmm1,0x10(%rdi,%rax,8)
movsd  0x18(%r9,%rax,8),%xmm1
mulsd  %xmm0,%xmm1
addsd  0x18(%rsi,%rax,8),%xmm1
movsd  %xmm1,0x18(%rdi,%rax,8)
movsd  0x20(%r9,%rax,8),%xmm1
mulsd  %xmm0,%xmm1
addsd  0x20(%rsi,%rax,8),%xmm1
movsd  %xmm1,0x20(%rdi,%rax,8)
add    $0x5,%rax
cmp    %r10,%rax
jl     1210 <cg_step+0x110>
pop    %rbx
pop    %r14
pop    %r15
pop    %rbp
ret
mov    %rdx,%r8
lea    (%rdi,%rcx,8),%r14
mov    %r11,%rax
mul    %rbx
shr    $0x2,%rdx
lea    (%rdx,%rdx,4),%rax
add    %rcx,%rax
lea    (%rdi,%rax,8),%rdx
add    $0x28,%rdx
lea    (%rsi,%rcx,8),%r11
lea    (%rsi,%rax,8),%rbx
add    $0x28,%rbx
lea    (%r9,%rcx,8),%r15
lea    (%r9,%rax,8),%rax
add    $0x28,%rax
cmp    %rbx,%r14
setb   %bpl
cmp    %rdx,%r11
setb   %bl
cmp    %rax,%r14
setb   %al
cmp    %rdx,%r15
setb   %dl
test   %bl,%bpl
jne    141f <cg_step+0x31f>
and    %dl,%al
jne    1427 <cg_step+0x327>
shr    $0x2,%r8
add    $0x1,%r8
mov    %r8,%r11
and    $0xfffffffffffffffe,%r11
lea    (%r11,%r11,4),%rax
add    %rcx,%rax
movapd %xmm0,%xmm8
unpcklpd %xmm0,%xmm8
shl    $0x3,%rcx
mov    %r11,%rdx
nopl   0x0(%rax)
movsd  (%rsi,%rcx,1),%xmm7
movsd  0x8(%rsi,%rcx,1),%xmm1
movsd  0x10(%rsi,%rcx,1),%xmm6
movsd  0x18(%rsi,%rcx,1),%xmm9
movhpd 0x28(%rsi,%rcx,1),%xmm7
movsd  (%r9,%rcx,1),%xmm2
movsd  0x8(%r9,%rcx,1),%xmm4
movsd  0x10(%r9,%rcx,1),%xmm3
movsd  0x18(%r9,%rcx,1),%xmm5
movhpd 0x28(%r9,%rcx,1),%xmm2
mulpd  %xmm8,%xmm2
addpd  %xmm7,%xmm2
movhpd 0x30(%rsi,%rcx,1),%xmm1
movhpd 0x30(%r9,%rcx,1),%xmm4
mulpd  %xmm8,%xmm4
addpd  %xmm1,%xmm4
movhpd 0x38(%rsi,%rcx,1),%xmm6
movhpd 0x38(%r9,%rcx,1),%xmm3
mulpd  %xmm8,%xmm3
addpd  %xmm6,%xmm3
movhpd 0x40(%rsi,%rcx,1),%xmm9
movhpd 0x40(%r9,%rcx,1),%xmm5
mulpd  %xmm8,%xmm5
addpd  %xmm9,%xmm5
movsd  0x20(%rsi,%rcx,1),%xmm1
movhpd 0x48(%rsi,%rcx,1),%xmm1
movsd  0x20(%r9,%rcx,1),%xmm6
movhpd 0x48(%r9,%rcx,1),%xmm6
mulpd  %xmm8,%xmm6
addpd  %xmm1,%xmm6
movapd %xmm2,%xmm1
unpcklpd %xmm4,%xmm1
movsd  %xmm6,%xmm2
unpckhpd %xmm3,%xmm4
unpcklpd %xmm5,%xmm3
movhlps %xmm5,%xmm6
movups %xmm6,0x40(%rdi,%rcx,1)
movupd %xmm4,0x30(%rdi,%rcx,1)
movupd %xmm2,0x20(%rdi,%rcx,1)
movupd %xmm3,0x10(%rdi,%rcx,1)
movupd %xmm1,(%rdi,%rcx,1)
add    $0x50,%rcx
add    $0xfffffffffffffffe,%rdx
jne    1320 <cg_step+0x220>
cmp    %r11,%r8
jne    1210 <cg_step+0x110>
jmp    1289 <cg_step+0x189>
mov    %rcx,%rax
jmp    1210 <cg_step+0x110>
mov    %rcx,%rax
jmp    1210 <cg_step+0x110>

LLVM IR (-O0):
define void @cg_step(double* %0, double* %1, double* %2, double %3, i32 %4) {
%6 = alloca double*
%7 = alloca double*
%8 = alloca double*
%9 = alloca double
%10 = alloca i32
%11 = alloca i32
%12 = alloca i32
store double* %0, double** %6
store double* %1, double** %7
store double* %2, double** %8
store double %3, double* %9
store i32 %4, i32* %10
%13 = load i32, i32* %10
%14 = srem i32 %13, 5
store i32 %14, i32* %11
store i32 0, i32* %12
br label %15
15: ; preds = %36, %5
%16 = load i32, i32* %12
%17 = load i32, i32* %11
%18 = icmp slt i32 %16, %17
br i1 %18, label %19, label %39
19: ; preds = %15
%20 = load double*, double** %7
%21 = load i32, i32* %12
%22 = sext i32 %21 to i64
%23 = getelementptr inbounds double, double* %20, i64 %22
%24 = load double, double* %23
%25 = load double, double* %9
%26 = load double*, double** %8
%27 = load i32, i32* %12
%28 = sext i32 %27 to i64
%29 = getelementptr inbounds double, double* %26, i64 %28
%30 = load double, double* %29
%31 = call double @llvm.fmuladd.f64(double %25, double %30, double %24)
%32 = load double*, double** %6
%33 = load i32, i32* %12
%34 = sext i32 %33 to i64
%35 = getelementptr inbounds double, double* %32, i64 %34
store double %31, double* %35
br label %36
36: ; preds = %19
%37 = load i32, i32* %12
%38 = add nsw i32 %37, 1
store i32 %38, i32* %12
br label %15
39: ; preds = %15
br label %40
40: ; preds = %137, %39
%41 = load i32, i32* %12
%42 = load i32, i32* %10
%43 = icmp slt i32 %41, %42
br i1 %43, label %44, label %140
44: ; preds = %40
%45 = load double*, double** %7
%46 = load i32, i32* %12
%47 = sext i32 %46 to i64
%48 = getelementptr inbounds double, double* %45, i64 %47
%49 = load double, double* %48
%50 = load double, double* %9
%51 = load double*, double** %8
%52 = load i32, i32* %12
%53 = sext i32 %52 to i64
%54 = getelementptr inbounds double, double* %51, i64 %53
%55 = load double, double* %54
%56 = call double @llvm.fmuladd.f64(double %50, double %55, double %49)
%57 = load double*, double** %6
%58 = load i32, i32* %12
%59 = sext i32 %58 to i64
%60 = getelementptr inbounds double, double* %57, i64 %59
store double %56, double* %60
%61 = load double*, double** %7
%62 = load i32, i32* %12
%63 = add nsw i32 %62, 1
%64 = sext i32 %63 to i64
%65 = getelementptr inbounds double, double* %61, i64 %64
%66 = load double, double* %65
%67 = load double, double* %9
%68 = load double*, double** %8
%69 = load i32, i32* %12
%70 = add nsw i32 %69, 1
%71 = sext i32 %70 to i64
%72 = getelementptr inbounds double, double* %68, i64 %71
%73 = load double, double* %72
%74 = call double @llvm.fmuladd.f64(double %67, double %73, double %66)
%75 = load double*, double** %6
%76 = load i32, i32* %12
%77 = add nsw i32 %76, 1
%78 = sext i32 %77 to i64
%79 = getelementptr inbounds double, double* %75, i64 %78
store double %74, double* %79
%80 = load double*, double** %7
%81 = load i32, i32* %12
%82 = add nsw i32 %81, 2
%83 = sext i32 %82 to i64
%84 = getelementptr inbounds double, double* %80, i64 %83
%85 = load double, double* %84
%86 = load double, double* %9
%87 = load double*, double** %8
%88 = load i32, i32* %12
%89 = add nsw i32 %88, 2
%90 = sext i32 %89 to i64
%91 = getelementptr inbounds double, double* %87, i64 %90
%92 = load double, double* %91
%93 = call double @llvm.fmuladd.f64(double %86, double %92, double %85)
%94 = load double*, double** %6
%95 = load i32, i32* %12
%96 = add nsw i32 %95, 2
%97 = sext i32 %96 to i64
%98 = getelementptr inbounds double, double* %94, i64 %97
store double %93, double* %98
%99 = load double*, double** %7
%100 = load i32, i32* %12
%101 = add nsw i32 %100, 3
%102 = sext i32 %101 to i64
%103 = getelementptr inbounds double, double* %99, i64 %102
%104 = load double, double* %103
%105 = load double, double* %9
%106 = load double*, double** %8
%107 = load i32, i32* %12
%108 = add nsw i32 %107, 3
%109 = sext i32 %108 to i64
%110 = getelementptr inbounds double, double* %106, i64 %109
%111 = load double, double* %110
%112 = call double @llvm.fmuladd.f64(double %105, double %111, double %104)
%113 = load double*, double** %6
%114 = load i32, i32* %12
%115 = add nsw i32 %114, 3
%116 = sext i32 %115 to i64
%117 = getelementptr inbounds double, double* %113, i64 %116
store double %112, double* %117
%118 = load double*, double** %7
%119 = load i32, i32* %12
%120 = add nsw i32 %119, 4
%121 = sext i32 %120 to i64
%122 = getelementptr inbounds double, double* %118, i64 %121
%123 = load double, double* %122
%124 = load double, double* %9
%125 = load double*, double** %8
%126 = load i32, i32* %12
%127 = add nsw i32 %126, 4
%128 = sext i32 %127 to i64
%129 = getelementptr inbounds double, double* %125, i64 %128
%130 = load double, double* %129
%131 = call double @llvm.fmuladd.f64(double %124, double %130, double %123)
%132 = load double*, double** %6
%133 = load i32, i32* %12
%134 = add nsw i32 %133, 4
%135 = sext i32 %134 to i64
%136 = getelementptr inbounds double, double* %132, i64 %135
store double %131, double* %136
br label %137
137: ; preds = %44
%138 = load i32, i32* %12
%139 = add nsw i32 %138, 5
store i32 %139, i32* %12
br label %40
140: ; preds = %40
ret void
}

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