void mmp3x3(double *restrict a, double *restrict b, double *restrict c) {
  double *a00 __attribute__((unused)) = a++;
  double *a10 __attribute__((unused)) = a++;
  double *a20 __attribute__((unused)) = a++;
  double *a01 __attribute__((unused)) = a++;
  double *a11 __attribute__((unused)) = a++;
  double *a21 __attribute__((unused)) = a++;
  double *a02 __attribute__((unused)) = a++;
  double *a12 __attribute__((unused)) = a++;
  double *a22 __attribute__((unused)) = a++;
  ;
  double *b00 __attribute__((unused)) = b++;
  double *b10 __attribute__((unused)) = b++;
  double *b20 __attribute__((unused)) = b++;
  double *b01 __attribute__((unused)) = b++;
  double *b11 __attribute__((unused)) = b++;
  double *b21 __attribute__((unused)) = b++;
  double *b02 __attribute__((unused)) = b++;
  double *b12 __attribute__((unused)) = b++;
  double *b22 __attribute__((unused)) = b++;
  ;
  double *c00 __attribute__((unused)) = c++;
  double *c10 __attribute__((unused)) = c++;
  double *c20 __attribute__((unused)) = c++;
  double *c01 __attribute__((unused)) = c++;
  double *c11 __attribute__((unused)) = c++;
  double *c21 __attribute__((unused)) = c++;
  double *c02 __attribute__((unused)) = c++;
  double *c12 __attribute__((unused)) = c++;
  double *c22 __attribute__((unused)) = c++;
  ;
  *c00 += *a00 * *b00 + *a01 * *b10 + *a02 * *b20;
  *c01 += *a00 * *b01 + *a01 * *b11 + *a02 * *b21;
  *c02 += *a00 * *b02 + *a01 * *b12 + *a02 * *b22;
  *c10 += *a10 * *b00 + *a11 * *b10 + *a12 * *b20;
  *c11 += *a10 * *b01 + *a11 * *b11 + *a12 * *b21;
  *c12 += *a10 * *b02 + *a11 * *b12 + *a12 * *b22;
  *c20 += *a20 * *b00 + *a21 * *b10 + *a22 * *b20;
  *c21 += *a20 * *b01 + *a21 * *b11 + *a22 * *b21;
  *c22 += *a20 * *b02 + *a21 * *b12 + *a22 * *b22;
}


x86 assembly (clang, -O0):
<mmp3x3>:
push   %rbp
mov    %rsp,%rbp
sub    $0x70,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x8(%rbp)
mov    %rax,-0x20(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x8(%rbp)
mov    %rax,-0x28(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x8(%rbp)
mov    %rax,-0x30(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x8(%rbp)
mov    %rax,-0x38(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x8(%rbp)
mov    %rax,-0x40(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x8(%rbp)
mov    %rax,-0x48(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x8(%rbp)
mov    %rax,-0x50(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x8(%rbp)
mov    %rax,-0x58(%rbp)
mov    -0x8(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x8(%rbp)
mov    %rax,-0x60(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x10(%rbp)
mov    %rax,-0x68(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x10(%rbp)
mov    %rax,-0x70(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x10(%rbp)
mov    %rax,-0x78(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x10(%rbp)
mov    %rax,-0x80(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x10(%rbp)
mov    %rax,-0x88(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x10(%rbp)
mov    %rax,-0x90(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x10(%rbp)
mov    %rax,-0x98(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x10(%rbp)
mov    %rax,-0xa0(%rbp)
mov    -0x10(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x10(%rbp)
mov    %rax,-0xa8(%rbp)
mov    -0x18(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x18(%rbp)
mov    %rax,-0xb0(%rbp)
mov    -0x18(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x18(%rbp)
mov    %rax,-0xb8(%rbp)
mov    -0x18(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x18(%rbp)
mov    %rax,-0xc0(%rbp)
mov    -0x18(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x18(%rbp)
mov    %rax,-0xc8(%rbp)
mov    -0x18(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x18(%rbp)
mov    %rax,-0xd0(%rbp)
mov    -0x18(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x18(%rbp)
mov    %rax,-0xd8(%rbp)
mov    -0x18(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x18(%rbp)
mov    %rax,-0xe0(%rbp)
mov    -0x18(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x18(%rbp)
mov    %rax,-0xe8(%rbp)
mov    -0x18(%rbp),%rax
mov    %rax,%rcx
add    $0x8,%rcx
mov    %rcx,-0x18(%rbp)
mov    %rax,-0xf0(%rbp)
mov    -0x20(%rbp),%rax
movsd  (%rax),%xmm1
mov    -0x68(%rbp),%rax
movsd  (%rax),%xmm2
mov    -0x38(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x70(%rbp),%rax
mulsd  (%rax),%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
mov    -0x50(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x78(%rbp),%rax
movsd  (%rax),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0xb0(%rbp),%rax
addsd  (%rax),%xmm0
movsd  %xmm0,(%rax)
mov    -0x20(%rbp),%rax
movsd  (%rax),%xmm1
mov    -0x80(%rbp),%rax
movsd  (%rax),%xmm2
mov    -0x38(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x88(%rbp),%rax
mulsd  (%rax),%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
mov    -0x50(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x90(%rbp),%rax
movsd  (%rax),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0xc8(%rbp),%rax
addsd  (%rax),%xmm0
movsd  %xmm0,(%rax)
mov    -0x20(%rbp),%rax
movsd  (%rax),%xmm1
mov    -0x98(%rbp),%rax
movsd  (%rax),%xmm2
mov    -0x38(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0xa0(%rbp),%rax
mulsd  (%rax),%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
mov    -0x50(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0xa8(%rbp),%rax
movsd  (%rax),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0xe0(%rbp),%rax
addsd  (%rax),%xmm0
movsd  %xmm0,(%rax)
mov    -0x28(%rbp),%rax
movsd  (%rax),%xmm1
mov    -0x68(%rbp),%rax
movsd  (%rax),%xmm2
mov    -0x40(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x70(%rbp),%rax
mulsd  (%rax),%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
mov    -0x58(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x78(%rbp),%rax
movsd  (%rax),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0xb8(%rbp),%rax
addsd  (%rax),%xmm0
movsd  %xmm0,(%rax)
mov    -0x28(%rbp),%rax
movsd  (%rax),%xmm1
mov    -0x80(%rbp),%rax
movsd  (%rax),%xmm2
mov    -0x40(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x88(%rbp),%rax
mulsd  (%rax),%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
mov    -0x58(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x90(%rbp),%rax
movsd  (%rax),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0xd0(%rbp),%rax
addsd  (%rax),%xmm0
movsd  %xmm0,(%rax)
mov    -0x28(%rbp),%rax
movsd  (%rax),%xmm1
mov    -0x98(%rbp),%rax
movsd  (%rax),%xmm2
mov    -0x40(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0xa0(%rbp),%rax
mulsd  (%rax),%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
mov    -0x58(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0xa8(%rbp),%rax
movsd  (%rax),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0xe8(%rbp),%rax
addsd  (%rax),%xmm0
movsd  %xmm0,(%rax)
mov    -0x30(%rbp),%rax
movsd  (%rax),%xmm1
mov    -0x68(%rbp),%rax
movsd  (%rax),%xmm2
mov    -0x48(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x70(%rbp),%rax
mulsd  (%rax),%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
mov    -0x60(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x78(%rbp),%rax
movsd  (%rax),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0xc0(%rbp),%rax
addsd  (%rax),%xmm0
movsd  %xmm0,(%rax)
mov    -0x30(%rbp),%rax
movsd  (%rax),%xmm1
mov    -0x80(%rbp),%rax
movsd  (%rax),%xmm2
mov    -0x48(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x88(%rbp),%rax
mulsd  (%rax),%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
mov    -0x60(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0x90(%rbp),%rax
movsd  (%rax),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0xd8(%rbp),%rax
addsd  (%rax),%xmm0
movsd  %xmm0,(%rax)
mov    -0x30(%rbp),%rax
movsd  (%rax),%xmm1
mov    -0x98(%rbp),%rax
movsd  (%rax),%xmm2
mov    -0x48(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0xa0(%rbp),%rax
mulsd  (%rax),%xmm0
mulsd  %xmm2,%xmm1
addsd  %xmm0,%xmm1
mov    -0x60(%rbp),%rax
movsd  (%rax),%xmm0
mov    -0xa8(%rbp),%rax
movsd  (%rax),%xmm2
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
mov    -0xf0(%rbp),%rax
addsd  (%rax),%xmm0
movsd  %xmm0,(%rax)
add    $0x70,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<mmp3x3>:
movupd (%rdi),%xmm14
movupd 0x18(%rdi),%xmm5
movupd 0x30(%rdi),%xmm4
movsd  0x30(%rsi),%xmm8
movsd  0x38(%rsi),%xmm10
movsd  0x40(%rsi),%xmm9
movsd  (%rsi),%xmm7
movsd  0x8(%rsi),%xmm12
movsd  0x10(%rsi),%xmm0
movsd  0x18(%rsi),%xmm6
movapd %xmm12,%xmm1
unpcklpd %xmm12,%xmm1
mulpd  %xmm5,%xmm1
movapd %xmm7,%xmm2
unpcklpd %xmm7,%xmm2
mulpd  %xmm14,%xmm2
addpd  %xmm1,%xmm2
movapd %xmm0,%xmm1
unpcklpd %xmm0,%xmm1
mulpd  %xmm4,%xmm1
addpd  %xmm2,%xmm1
movupd (%rdx),%xmm3
addpd  %xmm1,%xmm3
movupd 0x10(%rdx),%xmm11
movupd 0x30(%rdx),%xmm15
movsd  0x20(%rsi),%xmm13
movsd  0x28(%rsi),%xmm2
movupd %xmm3,(%rdx)
movapd %xmm10,%xmm3
unpcklpd %xmm10,%xmm3
mulpd  %xmm5,%xmm3
movapd %xmm8,%xmm1
unpcklpd %xmm8,%xmm1
mulpd  %xmm14,%xmm1
addpd  %xmm3,%xmm1
movapd %xmm9,%xmm3
unpcklpd %xmm9,%xmm3
mulpd  %xmm4,%xmm3
addpd  %xmm1,%xmm3
addpd  %xmm15,%xmm3
movupd %xmm3,0x30(%rdx)
movsd  0x10(%rdi),%xmm15
movsd  0x28(%rdi),%xmm3
unpcklpd %xmm5,%xmm12
shufpd $0x1,%xmm3,%xmm5
mulsd  %xmm3,%xmm10
unpcklpd %xmm13,%xmm3
mulpd  %xmm12,%xmm3
movapd %xmm15,%xmm1
unpcklpd %xmm14,%xmm1
unpcklpd %xmm6,%xmm7
mulpd  %xmm1,%xmm7
addpd  %xmm3,%xmm7
movsd  0x40(%rdi),%xmm1
movapd %xmm1,%xmm3
unpcklpd %xmm4,%xmm3
unpcklpd %xmm2,%xmm0
mulpd  %xmm3,%xmm0
addpd  %xmm7,%xmm0
addpd  %xmm11,%xmm0
movupd %xmm0,0x10(%rdx)
unpcklpd %xmm13,%xmm13
mulpd  %xmm13,%xmm5
shufpd $0x1,%xmm15,%xmm14
unpcklpd %xmm6,%xmm6
mulpd  %xmm14,%xmm6
addpd  %xmm5,%xmm6
shufpd $0x1,%xmm1,%xmm4
unpcklpd %xmm2,%xmm2
mulpd  %xmm4,%xmm2
addpd  %xmm6,%xmm2
movupd 0x20(%rdx),%xmm0
addpd  %xmm2,%xmm0
movupd %xmm0,0x20(%rdx)
mulsd  %xmm8,%xmm15
addsd  %xmm10,%xmm15
mulsd  %xmm9,%xmm1
addsd  %xmm15,%xmm1
addsd  0x40(%rdx),%xmm1
movsd  %xmm1,0x40(%rdx)
ret

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

LLVM IR (-O2):
define void @mmp3x3(double* noalias nocapture %0, double* noalias nocapture %1, double* noalias nocapture %2) {
%4 = getelementptr inbounds double, double* %0, i64 2
%5 = getelementptr inbounds double, double* %0, i64 3
%6 = getelementptr inbounds double, double* %0, i64 5
%7 = getelementptr inbounds double, double* %0, i64 6
%8 = getelementptr inbounds double, double* %0, i64 8
%9 = getelementptr inbounds double, double* %1, i64 1
%10 = getelementptr inbounds double, double* %1, i64 2
%11 = getelementptr inbounds double, double* %1, i64 3
%12 = getelementptr inbounds double, double* %1, i64 4
%13 = getelementptr inbounds double, double* %1, i64 5
%14 = getelementptr inbounds double, double* %1, i64 6
%15 = getelementptr inbounds double, double* %1, i64 7
%16 = getelementptr inbounds double, double* %1, i64 8
%17 = getelementptr inbounds double, double* %2, i64 2
%18 = getelementptr inbounds double, double* %2, i64 4
%19 = getelementptr inbounds double, double* %2, i64 6
%20 = getelementptr inbounds double, double* %2, i64 8
%21 = load double, double* %1
%22 = load double, double* %9
%23 = load double, double* %10
%24 = load double, double* %11
%25 = load double, double* %12
%26 = bitcast double* %5 to <2 x double>*
%27 = load <2 x double>, <2 x double>* %26
%28 = bitcast double* %0 to <2 x double>*
%29 = load <2 x double>, <2 x double>* %28
%30 = load double, double* %13
%31 = bitcast double* %7 to <2 x double>*
%32 = load <2 x double>, <2 x double>* %31
%33 = load double, double* %14
%34 = load double, double* %15
%35 = load double, double* %16
%36 = insertelement <2 x double> poison, double %22, i64 0
%37 = shufflevector <2 x double> %36, <2 x double> poison, <2 x i32> zeroinitializer
%38 = fmul <2 x double> %37, %27
%39 = insertelement <2 x double> poison, double %21, i64 0
%40 = shufflevector <2 x double> %39, <2 x double> poison, <2 x i32> zeroinitializer
%41 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %29, <2 x double> %40, <2 x double> %38)
%42 = insertelement <2 x double> poison, double %23, i64 0
%43 = shufflevector <2 x double> %42, <2 x double> poison, <2 x i32> zeroinitializer
%44 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %32, <2 x double> %43, <2 x double> %41)
%45 = bitcast double* %2 to <2 x double>*
%46 = load <2 x double>, <2 x double>* %45
%47 = fadd <2 x double> %46, %44
%48 = bitcast double* %2 to <2 x double>*
store <2 x double> %47, <2 x double>* %48
%49 = extractelement <2 x double> %27, i64 1
%50 = extractelement <2 x double> %29, i64 1
%51 = extractelement <2 x double> %32, i64 1
%52 = insertelement <2 x double> poison, double %34, i64 0
%53 = shufflevector <2 x double> %52, <2 x double> poison, <2 x i32> zeroinitializer
%54 = fmul <2 x double> %27, %53
%55 = insertelement <2 x double> poison, double %33, i64 0
%56 = shufflevector <2 x double> %55, <2 x double> poison, <2 x i32> zeroinitializer
%57 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %29, <2 x double> %56, <2 x double> %54)
%58 = insertelement <2 x double> poison, double %35, i64 0
%59 = shufflevector <2 x double> %58, <2 x double> poison, <2 x i32> zeroinitializer
%60 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %32, <2 x double> %59, <2 x double> %57)
%61 = bitcast double* %19 to <2 x double>*
%62 = load <2 x double>, <2 x double>* %61
%63 = fadd <2 x double> %62, %60
%64 = bitcast double* %19 to <2 x double>*
store <2 x double> %63, <2 x double>* %64
%65 = load double, double* %4
%66 = load double, double* %6
%67 = shufflevector <2 x double> %36, <2 x double> %27, <2 x i32> <i32 0, i32 2>
%68 = insertelement <2 x double> poison, double %66, i64 0
%69 = insertelement <2 x double> %68, double %25, i64 1
%70 = fmul <2 x double> %67, %69
%71 = insertelement <2 x double> poison, double %65, i64 0
%72 = shufflevector <2 x double> %71, <2 x double> %29, <2 x i32> <i32 0, i32 2>
%73 = insertelement <2 x double> %39, double %24, i64 1
%74 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %72, <2 x double> %73, <2 x double> %70)
%75 = load double, double* %8
%76 = insertelement <2 x double> poison, double %75, i64 0
%77 = shufflevector <2 x double> %76, <2 x double> %32, <2 x i32> <i32 0, i32 2>
%78 = insertelement <2 x double> %42, double %30, i64 1
%79 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %77, <2 x double> %78, <2 x double> %74)
%80 = bitcast double* %17 to <2 x double>*
%81 = load <2 x double>, <2 x double>* %80
%82 = fadd <2 x double> %81, %79
%83 = bitcast double* %17 to <2 x double>*
store <2 x double> %82, <2 x double>* %83
%84 = insertelement <2 x double> poison, double %25, i64 0
%85 = shufflevector <2 x double> %84, <2 x double> poison, <2 x i32> zeroinitializer
%86 = insertelement <2 x double> poison, double %49, i64 0
%87 = insertelement <2 x double> %86, double %66, i64 1
%88 = fmul <2 x double> %85, %87
%89 = insertelement <2 x double> poison, double %50, i64 0
%90 = insertelement <2 x double> %89, double %65, i64 1
%91 = insertelement <2 x double> poison, double %24, i64 0
%92 = shufflevector <2 x double> %91, <2 x double> poison, <2 x i32> zeroinitializer
%93 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %90, <2 x double> %92, <2 x double> %88)
%94 = insertelement <2 x double> poison, double %51, i64 0
%95 = insertelement <2 x double> %94, double %75, i64 1
%96 = insertelement <2 x double> poison, double %30, i64 0
%97 = shufflevector <2 x double> %96, <2 x double> poison, <2 x i32> zeroinitializer
%98 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %95, <2 x double> %97, <2 x double> %93)
%99 = bitcast double* %18 to <2 x double>*
%100 = load <2 x double>, <2 x double>* %99
%101 = fadd <2 x double> %98, %100
%102 = bitcast double* %18 to <2 x double>*
store <2 x double> %101, <2 x double>* %102
%103 = fmul double %34, %66
%104 = tail call double @llvm.fmuladd.f64(double %65, double %33, double %103)
%105 = tail call double @llvm.fmuladd.f64(double %75, double %35, double %104)
%106 = load double, double* %20
%107 = fadd double %105, %106
store double %107, double* %20
ret void
}