void mm3x3(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):
<mm3x3>:
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
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
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
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
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
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
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
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
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
movsd  %xmm0,(%rax)
add    $0x70,%rsp
pop    %rbp
ret

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

LLVM IR (-O0):
define void @mm3x3(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
store double %102, double* %103
%104 = load double*, double** %7
%105 = load double, double* %104
%106 = load double*, double** %19
%107 = load double, double* %106
%108 = load double*, double** %10
%109 = load double, double* %108
%110 = load double*, double** %20
%111 = load double, double* %110
%112 = fmul double %109, %111
%113 = call double @llvm.fmuladd.f64(double %105, double %107, double %112)
%114 = load double*, double** %13
%115 = load double, double* %114
%116 = load double*, double** %21
%117 = load double, double* %116
%118 = call double @llvm.fmuladd.f64(double %115, double %117, double %113)
%119 = load double*, double** %28
store double %118, double* %119
%120 = load double*, double** %7
%121 = load double, double* %120
%122 = load double*, double** %22
%123 = load double, double* %122
%124 = load double*, double** %10
%125 = load double, double* %124
%126 = load double*, double** %23
%127 = load double, double* %126
%128 = fmul double %125, %127
%129 = call double @llvm.fmuladd.f64(double %121, double %123, double %128)
%130 = load double*, double** %13
%131 = load double, double* %130
%132 = load double*, double** %24
%133 = load double, double* %132
%134 = call double @llvm.fmuladd.f64(double %131, double %133, double %129)
%135 = load double*, double** %31
store double %134, double* %135
%136 = load double*, double** %8
%137 = load double, double* %136
%138 = load double*, double** %16
%139 = load double, double* %138
%140 = load double*, double** %11
%141 = load double, double* %140
%142 = load double*, double** %17
%143 = load double, double* %142
%144 = fmul double %141, %143
%145 = call double @llvm.fmuladd.f64(double %137, double %139, double %144)
%146 = load double*, double** %14
%147 = load double, double* %146
%148 = load double*, double** %18
%149 = load double, double* %148
%150 = call double @llvm.fmuladd.f64(double %147, double %149, double %145)
%151 = load double*, double** %26
store double %150, double* %151
%152 = load double*, double** %8
%153 = load double, double* %152
%154 = load double*, double** %19
%155 = load double, double* %154
%156 = load double*, double** %11
%157 = load double, double* %156
%158 = load double*, double** %20
%159 = load double, double* %158
%160 = fmul double %157, %159
%161 = call double @llvm.fmuladd.f64(double %153, double %155, double %160)
%162 = load double*, double** %14
%163 = load double, double* %162
%164 = load double*, double** %21
%165 = load double, double* %164
%166 = call double @llvm.fmuladd.f64(double %163, double %165, double %161)
%167 = load double*, double** %29
store double %166, double* %167
%168 = load double*, double** %8
%169 = load double, double* %168
%170 = load double*, double** %22
%171 = load double, double* %170
%172 = load double*, double** %11
%173 = load double, double* %172
%174 = load double*, double** %23
%175 = load double, double* %174
%176 = fmul double %173, %175
%177 = call double @llvm.fmuladd.f64(double %169, double %171, double %176)
%178 = load double*, double** %14
%179 = load double, double* %178
%180 = load double*, double** %24
%181 = load double, double* %180
%182 = call double @llvm.fmuladd.f64(double %179, double %181, double %177)
%183 = load double*, double** %32
store double %182, double* %183
%184 = load double*, double** %9
%185 = load double, double* %184
%186 = load double*, double** %16
%187 = load double, double* %186
%188 = load double*, double** %12
%189 = load double, double* %188
%190 = load double*, double** %17
%191 = load double, double* %190
%192 = fmul double %189, %191
%193 = call double @llvm.fmuladd.f64(double %185, double %187, double %192)
%194 = load double*, double** %15
%195 = load double, double* %194
%196 = load double*, double** %18
%197 = load double, double* %196
%198 = call double @llvm.fmuladd.f64(double %195, double %197, double %193)
%199 = load double*, double** %27
store double %198, double* %199
%200 = load double*, double** %9
%201 = load double, double* %200
%202 = load double*, double** %19
%203 = load double, double* %202
%204 = load double*, double** %12
%205 = load double, double* %204
%206 = load double*, double** %20
%207 = load double, double* %206
%208 = fmul double %205, %207
%209 = call double @llvm.fmuladd.f64(double %201, double %203, double %208)
%210 = load double*, double** %15
%211 = load double, double* %210
%212 = load double*, double** %21
%213 = load double, double* %212
%214 = call double @llvm.fmuladd.f64(double %211, double %213, double %209)
%215 = load double*, double** %30
store double %214, double* %215
%216 = load double*, double** %9
%217 = load double, double* %216
%218 = load double*, double** %22
%219 = load double, double* %218
%220 = load double*, double** %12
%221 = load double, double* %220
%222 = load double*, double** %23
%223 = load double, double* %222
%224 = fmul double %221, %223
%225 = call double @llvm.fmuladd.f64(double %217, double %219, double %224)
%226 = load double*, double** %15
%227 = load double, double* %226
%228 = load double*, double** %24
%229 = load double, double* %228
%230 = call double @llvm.fmuladd.f64(double %227, double %229, double %225)
%231 = load double*, double** %33
store double %230, double* %231
ret void
}

LLVM IR (-O2):
define void @mm3x3(double* noalias nocapture %0, double* noalias nocapture %1, double* noalias nocapture writeonly %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>*
store <2 x double> %44, <2 x double>* %45
%46 = extractelement <2 x double> %27, i64 1
%47 = extractelement <2 x double> %29, i64 1
%48 = extractelement <2 x double> %32, i64 1
%49 = insertelement <2 x double> poison, double %34, i64 0
%50 = shufflevector <2 x double> %49, <2 x double> poison, <2 x i32> zeroinitializer
%51 = fmul <2 x double> %27, %50
%52 = insertelement <2 x double> poison, double %33, i64 0
%53 = shufflevector <2 x double> %52, <2 x double> poison, <2 x i32> zeroinitializer
%54 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %29, <2 x double> %53, <2 x double> %51)
%55 = insertelement <2 x double> poison, double %35, 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> %32, <2 x double> %56, <2 x double> %54)
%58 = bitcast double* %19 to <2 x double>*
store <2 x double> %57, <2 x double>* %58
%59 = load double, double* %4
%60 = load double, double* %6
%61 = shufflevector <2 x double> %36, <2 x double> %27, <2 x i32> <i32 0, i32 2>
%62 = insertelement <2 x double> poison, double %60, i64 0
%63 = insertelement <2 x double> %62, double %25, i64 1
%64 = fmul <2 x double> %61, %63
%65 = insertelement <2 x double> poison, double %59, i64 0
%66 = shufflevector <2 x double> %65, <2 x double> %29, <2 x i32> <i32 0, i32 2>
%67 = insertelement <2 x double> %39, double %24, i64 1
%68 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %66, <2 x double> %67, <2 x double> %64)
%69 = load double, double* %8
%70 = insertelement <2 x double> poison, double %69, i64 0
%71 = shufflevector <2 x double> %70, <2 x double> %32, <2 x i32> <i32 0, i32 2>
%72 = insertelement <2 x double> %42, double %30, i64 1
%73 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %71, <2 x double> %72, <2 x double> %68)
%74 = bitcast double* %17 to <2 x double>*
store <2 x double> %73, <2 x double>* %74
%75 = insertelement <2 x double> poison, double %25, i64 0
%76 = shufflevector <2 x double> %75, <2 x double> poison, <2 x i32> zeroinitializer
%77 = insertelement <2 x double> poison, double %46, i64 0
%78 = insertelement <2 x double> %77, double %60, i64 1
%79 = fmul <2 x double> %76, %78
%80 = insertelement <2 x double> poison, double %47, i64 0
%81 = insertelement <2 x double> %80, double %59, i64 1
%82 = insertelement <2 x double> poison, double %24, i64 0
%83 = shufflevector <2 x double> %82, <2 x double> poison, <2 x i32> zeroinitializer
%84 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %81, <2 x double> %83, <2 x double> %79)
%85 = insertelement <2 x double> poison, double %48, i64 0
%86 = insertelement <2 x double> %85, double %69, i64 1
%87 = insertelement <2 x double> poison, double %30, i64 0
%88 = shufflevector <2 x double> %87, <2 x double> poison, <2 x i32> zeroinitializer
%89 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %86, <2 x double> %88, <2 x double> %84)
%90 = bitcast double* %18 to <2 x double>*
store <2 x double> %89, <2 x double>* %90
%91 = fmul double %34, %60
%92 = tail call double @llvm.fmuladd.f64(double %59, double %33, double %91)
%93 = tail call double @llvm.fmuladd.f64(double %69, double %35, double %92)
store double %93, double* %20
ret void
}