void TaskFunction(T, q) double T[6];
double q[6];
{
  double t1;
  double t10;
  double t12;
  double t14;
  double t18;
  double t2;
  double t20;
  double t21;
  double t23;
  double t24;
  double t26;
  double t3;
  double t35;
  double t36;
  double t38;
  double t4;
  double t40;
  double t45;
  double t46;
  double t48;
  double t5;
  double t50;
  double t6;
  double t9;
  {
    t1 = q[0];
    t2 = cos(t1);
    t3 = q[1];
    t4 = cos(t3);
    t5 = q[2];
    t6 = sin(t5);
    t9 = sin(t3);
    t10 = cos(t5);
    t12 = 0.45 + 0.45 * t10;
    t14 = 0.45 * t4 * t6 + t9 * t12;
    T[0] = t2 * t14;
    T[1] = 0.42 - 0.45 * t9 * t6 + t4 * t12;
    t18 = sin(t1);
    T[2] = -t18 * t14;
    t20 = q[3];
    t21 = cos(t20);
    t23 = q[4];
    t24 = sin(t23);
    t26 = cos(t23);
    t35 =
        t4 * (t10 * t21 * t24 + t6 * t26) + t9 * (-t6 * t21 * t24 + t10 * t26);
    t36 = t2 * t35;
    t38 = sin(t20);
    t40 = t18 * t38 * t24;
    T[3] = 0.1 * t36 - 0.1 * t40;
    t45 = q[5];
    t46 = sin(t45);
    t48 = cos(t45);
    t50 = t21 * t26 * t46 + t38 * t48;
    T[4] = 0.15 * t36 - 0.15 * t40 +
           0.5E-1 * t2 *
               (t4 * (t10 * t50 - t6 * t24 * t46) +
                t9 * (-t6 * t50 - t10 * t24 * t46)) +
           0.5E-1 * t18 * (-t38 * t26 * t46 + t21 * t48);
    T[5] = -0.1 * t18 * t35 - 0.1 * t2 * t38 * t24;
    return;
  }
}


x86 assembly (clang, -O0):
<TaskFunction>:
push   %rbp
mov    %rsp,%rbp
sub    $0xd0,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x18(%rbp)
movsd  -0x18(%rbp),%xmm0
call   1040 <cos@plt>
movsd  %xmm0,-0x40(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x70(%rbp),%xmm0
call   1040 <cos@plt>
movsd  %xmm0,-0x90(%rbp)
ff
mov    -0x10(%rbp),%rax
movsd  0x10(%rax),%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
movsd  -0xb8(%rbp),%xmm0
ff
call   1030 <sin@plt>
movsd  %xmm0,-0xc8(%rbp)
ff
movsd  -0x70(%rbp),%xmm0
call   1030 <sin@plt>
movsd  %xmm0,-0xd0(%rbp)
ff
movsd  -0xb8(%rbp),%xmm0
ff
call   1040 <cos@plt>
movsd  %xmm0,-0x20(%rbp)
movsd  -0x20(%rbp),%xmm0
movsd  0xe62(%rip),%xmm1
mulsd  %xmm1,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x28(%rbp)
movsd  0xe4d(%rip),%xmm0
mulsd  -0x90(%rbp),%xmm0
ff
movsd  -0xc8(%rbp),%xmm2
ff
movsd  -0xd0(%rbp),%xmm1
ff
mulsd  -0x28(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x30(%rbp)
movsd  -0x40(%rbp),%xmm0
mulsd  -0x30(%rbp),%xmm0
mov    -0x8(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  0xe09(%rip),%xmm1
mulsd  -0xd0(%rbp),%xmm1
ff
movsd  -0xc8(%rbp),%xmm0
ff
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm0,%xmm1
movsd  0xdce(%rip),%xmm0
addsd  %xmm0,%xmm1
movsd  -0x90(%rbp),%xmm0
ff
movsd  -0x28(%rbp),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
movsd  %xmm0,0x8(%rax)
movsd  -0x18(%rbp),%xmm0
call   1030 <sin@plt>
movsd  %xmm0,-0x38(%rbp)
movsd  -0x38(%rbp),%xmm0
movq   %xmm0,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm0
mulsd  -0x30(%rbp),%xmm0
mov    -0x8(%rbp),%rax
movsd  %xmm0,0x10(%rax)
mov    -0x10(%rbp),%rax
movsd  0x18(%rax),%xmm0
movsd  %xmm0,-0x48(%rbp)
movsd  -0x48(%rbp),%xmm0
call   1040 <cos@plt>
movsd  %xmm0,-0x50(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x20(%rax),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x58(%rbp),%xmm0
call   1030 <sin@plt>
movsd  %xmm0,-0x60(%rbp)
movsd  -0x58(%rbp),%xmm0
call   1040 <cos@plt>
movsd  %xmm0,-0x68(%rbp)
movsd  -0x90(%rbp),%xmm0
ff
movsd  -0x20(%rbp),%xmm2
mulsd  -0x50(%rbp),%xmm2
movsd  -0x60(%rbp),%xmm3
movsd  -0xc8(%rbp),%xmm1
ff
mulsd  -0x68(%rbp),%xmm1
mulsd  %xmm3,%xmm2
addsd  %xmm1,%xmm2
movsd  -0xd0(%rbp),%xmm1
ff
movsd  -0xc8(%rbp),%xmm3
ff
movq   %xmm3,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm3
mulsd  -0x50(%rbp),%xmm3
movsd  -0x60(%rbp),%xmm5
movsd  -0x20(%rbp),%xmm4
mulsd  -0x68(%rbp),%xmm4
mulsd  %xmm5,%xmm3
addsd  %xmm4,%xmm3
mulsd  %xmm3,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x40(%rbp),%xmm0
mulsd  -0x78(%rbp),%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x48(%rbp),%xmm0
call   1030 <sin@plt>
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x38(%rbp),%xmm0
mulsd  -0x88(%rbp),%xmm0
ff
mulsd  -0x60(%rbp),%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x80(%rbp),%xmm0
movsd  0xc42(%rip),%xmm1
mulsd  -0x98(%rbp),%xmm1
ff
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
movsd  0xc1b(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
movsd  %xmm0,0x18(%rax)
mov    -0x10(%rbp),%rax
movsd  0x28(%rax),%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0xa0(%rbp),%xmm0
ff
call   1030 <sin@plt>
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  -0xa0(%rbp),%xmm0
ff
call   1040 <cos@plt>
movsd  %xmm0,-0xb0(%rbp)
ff
movsd  -0x50(%rbp),%xmm0
mulsd  -0x68(%rbp),%xmm0
movsd  -0xa8(%rbp),%xmm2
ff
movsd  -0x88(%rbp),%xmm1
ff
mulsd  -0xb0(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xc0(%rbp)
ff
movsd  -0x80(%rbp),%xmm0
movsd  0xba8(%rip),%xmm1
mulsd  -0x98(%rbp),%xmm1
ff
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
movsd  0xb81(%rip),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  0xb69(%rip),%xmm1
mulsd  -0x40(%rbp),%xmm1
movsd  -0x90(%rbp),%xmm2
ff
movsd  -0x20(%rbp),%xmm4
movsd  -0xc0(%rbp),%xmm5
ff
movsd  -0xc8(%rbp),%xmm3
ff
mulsd  -0x60(%rbp),%xmm3
mulsd  -0xa8(%rbp),%xmm3
ff
movq   %xmm3,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm3
mulsd  %xmm5,%xmm4
addsd  %xmm3,%xmm4
movsd  -0xd0(%rbp),%xmm3
ff
movsd  -0xc8(%rbp),%xmm5
ff
movq   %xmm5,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm5
movsd  -0xc0(%rbp),%xmm7
ff
movsd  -0x20(%rbp),%xmm6
mulsd  -0x60(%rbp),%xmm6
mulsd  -0xa8(%rbp),%xmm6
ff
movq   %xmm6,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm6
mulsd  %xmm7,%xmm5
addsd  %xmm6,%xmm5
mulsd  %xmm5,%xmm3
mulsd  %xmm4,%xmm2
addsd  %xmm3,%xmm2
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
movsd  0xa9f(%rip),%xmm0
mulsd  -0x38(%rbp),%xmm0
movsd  -0x88(%rbp),%xmm2
ff
movq   %xmm2,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm2
mulsd  -0x68(%rbp),%xmm2
movsd  -0xa8(%rbp),%xmm4
ff
movsd  -0x50(%rbp),%xmm3
mulsd  -0xb0(%rbp),%xmm3
ff
mulsd  %xmm4,%xmm2
addsd  %xmm3,%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
movsd  %xmm0,0x20(%rax)
movsd  0xa38(%rip),%xmm0
mulsd  -0x38(%rbp),%xmm0
movsd  -0x78(%rbp),%xmm2
movsd  0xa1e(%rip),%xmm1
mulsd  -0x40(%rbp),%xmm1
mulsd  -0x88(%rbp),%xmm1
ff
mulsd  -0x60(%rbp),%xmm1
movq   %xmm1,%rax
movabs $0x8000000000000000,%rcx
xor    %rcx,%rax
movq   %rax,%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
movsd  %xmm0,0x28(%rax)
add    $0xd0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<TaskFunction>:
push   %r14
push   %rbx
sub    $0xc8,%rsp
mov    %rsi,%rbx
mov    %rdi,%r14
movsd  (%rsi),%xmm0
movsd  %xmm0,0x20(%rsp)
call   1040 <cos@plt>
movaps %xmm0,0x50(%rsp)
movsd  0x8(%rbx),%xmm0
movsd  %xmm0,0x8(%rsp)
call   1040 <cos@plt>
movsd  %xmm0,0x18(%rsp)
movsd  0x10(%rbx),%xmm0
movsd  %xmm0,(%rsp)
call   1030 <sin@plt>
movaps %xmm0,0x40(%rsp)
movsd  0x8(%rsp),%xmm0
call   1030 <sin@plt>
movsd  %xmm0,0x8(%rsp)
movsd  (%rsp),%xmm0
call   1040 <cos@plt>
movapd %xmm0,0x90(%rsp)
movsd  0xe66(%rip),%xmm2
movapd %xmm0,%xmm5
mulsd  %xmm2,%xmm5
addsd  %xmm2,%xmm5
movsd  0x18(%rsp),%xmm3
mulsd  %xmm3,%xmm2
movsd  0x8(%rsp),%xmm0
movapd %xmm0,%xmm1
mulsd  %xmm5,%xmm1
movapd 0x40(%rsp),%xmm4
mulsd  %xmm4,%xmm2
addsd  %xmm1,%xmm2
movsd  %xmm2,(%rsp)
movapd 0x50(%rsp),%xmm1
mulsd  %xmm2,%xmm1
movsd  0xe25(%rip),%xmm2
mulsd  %xmm0,%xmm2
mulsd  %xmm4,%xmm2
addsd  0xe1d(%rip),%xmm2
movsd  %xmm1,(%r14)
mulsd  %xmm3,%xmm5
addsd  %xmm2,%xmm5
movsd  %xmm5,0x8(%r14)
movsd  0x20(%rsp),%xmm0
call   1030 <sin@plt>
movapd %xmm0,0xa0(%rsp)
movapd 0xe1e(%rip),%xmm2
movapd %xmm2,0x20(%rsp)
movapd %xmm0,%xmm1
xorpd  %xmm2,%xmm1
mulsd  (%rsp),%xmm1
movsd  %xmm1,0x10(%r14)
movsd  0x18(%rbx),%xmm0
movsd  %xmm0,0x30(%rsp)
call   1040 <cos@plt>
movaps %xmm0,0x80(%rsp)
movsd  0x20(%rbx),%xmm0
movsd  %xmm0,0x10(%rsp)
call   1030 <sin@plt>
movsd  %xmm0,(%rsp)
movsd  0x10(%rsp),%xmm0
call   1040 <cos@plt>
movapd %xmm0,%xmm5
movsd  %xmm0,0x78(%rsp)
movapd 0x90(%rsp),%xmm2
movapd %xmm2,%xmm3
movapd 0x80(%rsp),%xmm4
mulsd  %xmm4,%xmm3
movapd 0x40(%rsp),%xmm1
movapd %xmm1,%xmm0
mulsd  %xmm5,%xmm0
movsd  (%rsp),%xmm6
mulsd  %xmm6,%xmm3
addsd  %xmm0,%xmm3
movapd 0x20(%rsp),%xmm0
xorpd  %xmm1,%xmm0
movapd %xmm0,0x20(%rsp)
movapd %xmm4,%xmm0
mulsd  %xmm1,%xmm0
movapd %xmm2,%xmm1
mulsd  %xmm5,%xmm1
mulsd  %xmm6,%xmm0
subsd  %xmm0,%xmm1
mulsd  0x8(%rsp),%xmm1
mulsd  0x18(%rsp),%xmm3
addsd  %xmm1,%xmm3
movapd %xmm3,0xb0(%rsp)
movapd 0x50(%rsp),%xmm0
mulsd  %xmm3,%xmm0
movsd  %xmm0,0x10(%rsp)
movsd  0x30(%rsp),%xmm0
call   1030 <sin@plt>
movsd  %xmm0,0x70(%rsp)
movapd 0xa0(%rsp),%xmm1
mulsd  %xmm0,%xmm1
mulsd  (%rsp),%xmm1
movapd %xmm1,0x30(%rsp)
movapd %xmm1,%xmm0
mulsd  0xce0(%rip),%xmm0
movsd  0xce0(%rip),%xmm1
mulsd  0x10(%rsp),%xmm1
addsd  %xmm0,%xmm1
movsd  %xmm1,0x18(%r14)
movsd  0x28(%rbx),%xmm0
movsd  %xmm0,0x60(%rsp)
call   1030 <sin@plt>
movsd  %xmm0,0x68(%rsp)
movsd  0x60(%rsp),%xmm0
call   1040 <cos@plt>
movapd 0x80(%rsp),%xmm10
movapd %xmm10,%xmm1
movsd  0x78(%rsp),%xmm7
mulsd  %xmm7,%xmm1
movsd  0x70(%rsp),%xmm5
movapd %xmm5,%xmm2
mulsd  %xmm0,%xmm2
movsd  0x68(%rsp),%xmm6
mulsd  %xmm6,%xmm1
movapd 0x30(%rsp),%xmm4
mulsd  0xc78(%rip),%xmm4
movsd  0x10(%rsp),%xmm3
mulsd  0xc72(%rip),%xmm3
addsd  %xmm2,%xmm1
addsd  %xmm4,%xmm3
movapd %xmm3,%xmm9
movapd 0x40(%rsp),%xmm2
movsd  (%rsp),%xmm3
mulsd  %xmm3,%xmm2
mulsd  %xmm6,%xmm2
movapd %xmm2,%xmm4
movapd %xmm3,%xmm2
movapd %xmm3,%xmm8
movapd 0x90(%rsp),%xmm3
mulsd  %xmm3,%xmm2
mulsd  %xmm1,%xmm3
subsd  %xmm4,%xmm3
mulsd  0x20(%rsp),%xmm1
mulsd  %xmm6,%xmm2
subsd  %xmm2,%xmm1
mulsd  0x8(%rsp),%xmm1
mulsd  0x18(%rsp),%xmm3
addsd  %xmm1,%xmm3
movsd  0xc12(%rip),%xmm1
movapd 0x50(%rsp),%xmm2
mulsd  %xmm2,%xmm1
mulsd  %xmm1,%xmm3
addsd  %xmm9,%xmm3
movapd %xmm10,%xmm1
mulsd  %xmm0,%xmm1
movapd %xmm7,%xmm0
mulsd  %xmm5,%xmm0
mulsd  %xmm6,%xmm0
subsd  %xmm0,%xmm1
movapd %xmm2,%xmm0
mulsd  0xbba(%rip),%xmm0
mulsd  %xmm5,%xmm0
mulsd  %xmm8,%xmm0
unpcklpd %xmm0,%xmm3
movapd 0xa0(%rsp),%xmm0
unpcklpd %xmm0,%xmm0
mulpd  0xbd0(%rip),%xmm0
unpcklpd 0xb0(%rsp),%xmm1
mulpd  %xmm0,%xmm1
addpd  %xmm3,%xmm1
movupd %xmm1,0x20(%r14)
add    $0xc8,%rsp
pop    %rbx
pop    %r14
ret

LLVM IR (-O0):
define void @TaskFunction(double* %0, double* %1) {
%3 = alloca double*
%4 = alloca double*
%5 = alloca double
%6 = alloca double
%7 = alloca double
%8 = alloca double
%9 = alloca double
%10 = alloca double
%11 = alloca double
%12 = alloca double
%13 = alloca double
%14 = alloca double
%15 = alloca double
%16 = alloca double
%17 = alloca double
%18 = alloca double
%19 = alloca double
%20 = alloca double
%21 = alloca double
%22 = alloca double
%23 = alloca double
%24 = alloca double
%25 = alloca double
%26 = alloca double
%27 = alloca double
%28 = alloca double
store double* %0, double** %3
store double* %1, double** %4
%29 = load double*, double** %4
%30 = getelementptr inbounds double, double* %29, i64 0
%31 = load double, double* %30
store double %31, double* %5
%32 = load double, double* %5
%33 = call double @cos(double %32)
store double %33, double* %10
%34 = load double*, double** %4
%35 = getelementptr inbounds double, double* %34, i64 1
%36 = load double, double* %35
store double %36, double* %16
%37 = load double, double* %16
%38 = call double @cos(double %37)
store double %38, double* %20
%39 = load double*, double** %4
%40 = getelementptr inbounds double, double* %39, i64 2
%41 = load double, double* %40
store double %41, double* %25
%42 = load double, double* %25
%43 = call double @sin(double %42)
store double %43, double* %27
%44 = load double, double* %16
%45 = call double @sin(double %44)
store double %45, double* %28
%46 = load double, double* %25
%47 = call double @cos(double %46)
store double %47, double* %6
%48 = load double, double* %6
%49 = call double @llvm.fmuladd.f64(double 4.500000e-01, double %48, double 4.500000e-01)
store double %49, double* %7
%50 = load double, double* %20
%51 = fmul double 4.500000e-01, %50
%52 = load double, double* %27
%53 = load double, double* %28
%54 = load double, double* %7
%55 = fmul double %53, %54
%56 = call double @llvm.fmuladd.f64(double %51, double %52, double %55)
store double %56, double* %8
%57 = load double, double* %10
%58 = load double, double* %8
%59 = fmul double %57, %58
%60 = load double*, double** %3
%61 = getelementptr inbounds double, double* %60, i64 0
store double %59, double* %61
%62 = load double, double* %28
%63 = fmul double 4.500000e-01, %62
%64 = load double, double* %27
%65 = fneg double %63
%66 = call double @llvm.fmuladd.f64(double %65, double %64, double 4.200000e-01)
%67 = load double, double* %20
%68 = load double, double* %7
%69 = call double @llvm.fmuladd.f64(double %67, double %68, double %66)
%70 = load double*, double** %3
%71 = getelementptr inbounds double, double* %70, i64 1
store double %69, double* %71
%72 = load double, double* %5
%73 = call double @sin(double %72)
store double %73, double* %9
%74 = load double, double* %9
%75 = fneg double %74
%76 = load double, double* %8
%77 = fmul double %75, %76
%78 = load double*, double** %3
%79 = getelementptr inbounds double, double* %78, i64 2
store double %77, double* %79
%80 = load double*, double** %4
%81 = getelementptr inbounds double, double* %80, i64 3
%82 = load double, double* %81
store double %82, double* %11
%83 = load double, double* %11
%84 = call double @cos(double %83)
store double %84, double* %12
%85 = load double*, double** %4
%86 = getelementptr inbounds double, double* %85, i64 4
%87 = load double, double* %86
store double %87, double* %13
%88 = load double, double* %13
%89 = call double @sin(double %88)
store double %89, double* %14
%90 = load double, double* %13
%91 = call double @cos(double %90)
store double %91, double* %15
%92 = load double, double* %20
%93 = load double, double* %6
%94 = load double, double* %12
%95 = fmul double %93, %94
%96 = load double, double* %14
%97 = load double, double* %27
%98 = load double, double* %15
%99 = fmul double %97, %98
%100 = call double @llvm.fmuladd.f64(double %95, double %96, double %99)
%101 = load double, double* %28
%102 = load double, double* %27
%103 = fneg double %102
%104 = load double, double* %12
%105 = fmul double %103, %104
%106 = load double, double* %14
%107 = load double, double* %6
%108 = load double, double* %15
%109 = fmul double %107, %108
%110 = call double @llvm.fmuladd.f64(double %105, double %106, double %109)
%111 = fmul double %101, %110
%112 = call double @llvm.fmuladd.f64(double %92, double %100, double %111)
store double %112, double* %17
%113 = load double, double* %10
%114 = load double, double* %17
%115 = fmul double %113, %114
store double %115, double* %18
%116 = load double, double* %11
%117 = call double @sin(double %116)
store double %117, double* %19
%118 = load double, double* %9
%119 = load double, double* %19
%120 = fmul double %118, %119
%121 = load double, double* %14
%122 = fmul double %120, %121
store double %122, double* %21
%123 = load double, double* %18
%124 = load double, double* %21
%125 = fmul double 1.000000e-01, %124
%126 = fneg double %125
%127 = call double @llvm.fmuladd.f64(double 1.000000e-01, double %123, double %126)
%128 = load double*, double** %3
%129 = getelementptr inbounds double, double* %128, i64 3
store double %127, double* %129
%130 = load double*, double** %4
%131 = getelementptr inbounds double, double* %130, i64 5
%132 = load double, double* %131
store double %132, double* %22
%133 = load double, double* %22
%134 = call double @sin(double %133)
store double %134, double* %23
%135 = load double, double* %22
%136 = call double @cos(double %135)
store double %136, double* %24
%137 = load double, double* %12
%138 = load double, double* %15
%139 = fmul double %137, %138
%140 = load double, double* %23
%141 = load double, double* %19
%142 = load double, double* %24
%143 = fmul double %141, %142
%144 = call double @llvm.fmuladd.f64(double %139, double %140, double %143)
store double %144, double* %26
%145 = load double, double* %18
%146 = load double, double* %21
%147 = fmul double 1.500000e-01, %146
%148 = fneg double %147
%149 = call double @llvm.fmuladd.f64(double 1.500000e-01, double %145, double %148)
%150 = load double, double* %10
%151 = fmul double 5.000000e-02, %150
%152 = load double, double* %20
%153 = load double, double* %6
%154 = load double, double* %26
%155 = load double, double* %27
%156 = load double, double* %14
%157 = fmul double %155, %156
%158 = load double, double* %23
%159 = fmul double %157, %158
%160 = fneg double %159
%161 = call double @llvm.fmuladd.f64(double %153, double %154, double %160)
%162 = load double, double* %28
%163 = load double, double* %27
%164 = fneg double %163
%165 = load double, double* %26
%166 = load double, double* %6
%167 = load double, double* %14
%168 = fmul double %166, %167
%169 = load double, double* %23
%170 = fmul double %168, %169
%171 = fneg double %170
%172 = call double @llvm.fmuladd.f64(double %164, double %165, double %171)
%173 = fmul double %162, %172
%174 = call double @llvm.fmuladd.f64(double %152, double %161, double %173)
%175 = call double @llvm.fmuladd.f64(double %151, double %174, double %149)
%176 = load double, double* %9
%177 = fmul double 5.000000e-02, %176
%178 = load double, double* %19
%179 = fneg double %178
%180 = load double, double* %15
%181 = fmul double %179, %180
%182 = load double, double* %23
%183 = load double, double* %12
%184 = load double, double* %24
%185 = fmul double %183, %184
%186 = call double @llvm.fmuladd.f64(double %181, double %182, double %185)
%187 = call double @llvm.fmuladd.f64(double %177, double %186, double %175)
%188 = load double*, double** %3
%189 = getelementptr inbounds double, double* %188, i64 4
store double %187, double* %189
%190 = load double, double* %9
%191 = fmul double -1.000000e-01, %190
%192 = load double, double* %17
%193 = load double, double* %10
%194 = fmul double 1.000000e-01, %193
%195 = load double, double* %19
%196 = fmul double %194, %195
%197 = load double, double* %14
%198 = fmul double %196, %197
%199 = fneg double %198
%200 = call double @llvm.fmuladd.f64(double %191, double %192, double %199)
%201 = load double*, double** %3
%202 = getelementptr inbounds double, double* %201, i64 5
store double %200, double* %202
ret void
}

LLVM IR (-O2):
define void @TaskFunction(double* nocapture writeonly %0, double* nocapture %1) {
%3 = load double, double* %1
%4 = tail call double @cos(double %3)
%5 = getelementptr inbounds double, double* %1, i64 1
%6 = load double, double* %5
%7 = tail call double @cos(double %6)
%8 = getelementptr inbounds double, double* %1, i64 2
%9 = load double, double* %8
%10 = tail call double @sin(double %9)
%11 = tail call double @sin(double %6)
%12 = tail call double @cos(double %9)
%13 = tail call double @llvm.fmuladd.f64(double %12, double 4.500000e-01, double 4.500000e-01)
%14 = fmul double %7, 4.500000e-01
%15 = fmul double %11, %13
%16 = tail call double @llvm.fmuladd.f64(double %14, double %10, double %15)
%17 = fmul double %4, %16
store double %17, double* %0
%18 = fmul double %11, -4.500000e-01
%19 = tail call double @llvm.fmuladd.f64(double %18, double %10, double 4.200000e-01)
%20 = tail call double @llvm.fmuladd.f64(double %7, double %13, double %19)
%21 = getelementptr inbounds double, double* %0, i64 1
store double %20, double* %21
%22 = tail call double @sin(double %3)
%23 = fneg double %22
%24 = fmul double %16, %23
%25 = getelementptr inbounds double, double* %0, i64 2
store double %24, double* %25
%26 = getelementptr inbounds double, double* %1, i64 3
%27 = load double, double* %26
%28 = tail call double @cos(double %27)
%29 = getelementptr inbounds double, double* %1, i64 4
%30 = load double, double* %29
%31 = tail call double @sin(double %30)
%32 = tail call double @cos(double %30)
%33 = fmul double %12, %28
%34 = fmul double %10, %32
%35 = tail call double @llvm.fmuladd.f64(double %33, double %31, double %34)
%36 = fneg double %10
%37 = fmul double %28, %36
%38 = fmul double %12, %32
%39 = tail call double @llvm.fmuladd.f64(double %37, double %31, double %38)
%40 = fmul double %11, %39
%41 = tail call double @llvm.fmuladd.f64(double %7, double %35, double %40)
%42 = fmul double %4, %41
%43 = tail call double @sin(double %27)
%44 = fmul double %22, %43
%45 = fmul double %31, %44
%46 = fmul double %45, -1.000000e-01
%47 = tail call double @llvm.fmuladd.f64(double %42, double 1.000000e-01, double %46)
%48 = getelementptr inbounds double, double* %0, i64 3
store double %47, double* %48
%49 = getelementptr inbounds double, double* %1, i64 5
%50 = load double, double* %49
%51 = tail call double @sin(double %50)
%52 = tail call double @cos(double %50)
%53 = fmul double %28, %32
%54 = fmul double %43, %52
%55 = tail call double @llvm.fmuladd.f64(double %53, double %51, double %54)
%56 = fmul double %45, -1.500000e-01
%57 = tail call double @llvm.fmuladd.f64(double %42, double 1.500000e-01, double %56)
%58 = fmul double %4, 5.000000e-02
%59 = fmul double %31, %36
%60 = fmul double %59, %51
%61 = tail call double @llvm.fmuladd.f64(double %12, double %55, double %60)
%62 = fneg double %12
%63 = fmul double %31, %62
%64 = fmul double %63, %51
%65 = tail call double @llvm.fmuladd.f64(double %36, double %55, double %64)
%66 = fmul double %11, %65
%67 = tail call double @llvm.fmuladd.f64(double %7, double %61, double %66)
%68 = tail call double @llvm.fmuladd.f64(double %58, double %67, double %57)
%69 = fneg double %43
%70 = fmul double %32, %69
%71 = fmul double %28, %52
%72 = tail call double @llvm.fmuladd.f64(double %70, double %51, double %71)
%73 = getelementptr inbounds double, double* %0, i64 4
%74 = insertelement <2 x double> poison, double %22, i64 0
%75 = shufflevector <2 x double> %74, <2 x double> poison, <2 x i32> zeroinitializer
%76 = fmul <2 x double> %75, <double 5.000000e-02, double -1.000000e-01>
%77 = fmul double %4, -1.000000e-01
%78 = fmul double %77, %43
%79 = fmul double %31, %78
%80 = insertelement <2 x double> poison, double %72, i64 0
%81 = insertelement <2 x double> %80, double %41, i64 1
%82 = insertelement <2 x double> poison, double %68, i64 0
%83 = insertelement <2 x double> %82, double %79, i64 1
%84 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %76, <2 x double> %81, <2 x double> %83)
%85 = bitcast double* %73 to <2 x double>*
store <2 x double> %84, <2 x double>* %85
ret void
}