void corner_dtrmm_nt_u_4x3_lib4(double *A, double *B, double *C) {
  const int bs = 4;
  const int lda = bs;
  const int ldc = 4;
  double a_0, a_1, a_2, a_3, b_0, b_1, b_2, b_3,
      c_00 = 0, c_01 = 0, c_02 = 0, c_10 = 0, c_11 = 0, c_12 = 0, c_20 = 0,
      c_21 = 0, c_22 = 0, c_30 = 0, c_31 = 0, c_32 = 0;
  a_0 = A[0 + lda * 0];
  a_1 = A[1 + lda * 0];
  a_2 = A[2 + lda * 0];
  a_3 = A[3 + lda * 0];
  b_0 = B[0 + lda * 0];
  c_00 += a_0 * b_0;
  c_10 += a_1 * b_0;
  c_20 += a_2 * b_0;
  c_30 += a_3 * b_0;
  a_0 = A[0 + lda * 1];
  a_1 = A[1 + lda * 1];
  a_2 = A[2 + lda * 1];
  a_3 = A[3 + lda * 1];
  b_0 = B[0 + lda * 1];
  b_1 = B[1 + lda * 1];
  c_00 += a_0 * b_0;
  c_10 += a_1 * b_0;
  c_20 += a_2 * b_0;
  c_30 += a_3 * b_0;
  c_01 += a_0 * b_1;
  c_11 += a_1 * b_1;
  c_21 += a_2 * b_1;
  c_31 += a_3 * b_1;
  a_0 = A[0 + lda * 2];
  a_1 = A[1 + lda * 2];
  a_2 = A[2 + lda * 2];
  a_3 = A[3 + lda * 2];
  b_0 = B[0 + lda * 2];
  b_1 = B[1 + lda * 2];
  b_2 = B[2 + lda * 2];
  c_00 += a_0 * b_0;
  c_10 += a_1 * b_0;
  c_20 += a_2 * b_0;
  c_30 += a_3 * b_0;
  c_01 += a_0 * b_1;
  c_11 += a_1 * b_1;
  c_21 += a_2 * b_1;
  c_31 += a_3 * b_1;
  c_02 += a_0 * b_2;
  c_12 += a_1 * b_2;
  c_22 += a_2 * b_2;
  c_32 += a_3 * b_2;
  C[0 + ldc * 0] = c_00;
  C[1 + ldc * 0] = c_10;
  C[2 + ldc * 0] = c_20;
  C[3 + ldc * 0] = c_30;
  C[0 + ldc * 1] = c_01;
  C[1 + ldc * 1] = c_11;
  C[2 + ldc * 1] = c_21;
  C[3 + ldc * 1] = c_31;
  C[0 + ldc * 2] = c_02;
  C[1 + ldc * 2] = c_12;
  C[2 + ldc * 2] = c_22;
  C[3 + ldc * 2] = c_32;
}


x86 assembly (clang, -O0):
<corner_dtrmm_nt_u_4x3_lib4>:
push   %rbp
mov    %rsp,%rbp
sub    $0x48,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
mov    %rdx,-0x18(%rbp)
movl   $0x4,-0x1c(%rbp)
movl   $0x4,-0x20(%rbp)
movl   $0x4,-0x24(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x70(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x78(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x80(%rbp)
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xb0(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xc0(%rbp)
ff
xorps  %xmm0,%xmm0
movsd  %xmm0,-0xc8(%rbp)
ff
mov    -0x8(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    -0x8(%rbp),%rax
movsd  0x8(%rax),%xmm0
movsd  %xmm0,-0x38(%rbp)
mov    -0x8(%rbp),%rax
movsd  0x10(%rax),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x8(%rbp),%rax
movsd  0x18(%rax),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x10(%rbp),%rax
movsd  (%rax),%xmm0
movsd  %xmm0,-0x50(%rbp)
movsd  -0x30(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x88(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x40(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0xa0(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0x48(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0xb8(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
mov    -0x8(%rbp),%rax
movsd  0x20(%rax),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    -0x8(%rbp),%rax
movsd  0x28(%rax),%xmm0
movsd  %xmm0,-0x38(%rbp)
mov    -0x8(%rbp),%rax
movsd  0x30(%rax),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x8(%rbp),%rax
movsd  0x38(%rax),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x20(%rax),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x28(%rax),%xmm0
movsd  %xmm0,-0x58(%rbp)
movsd  -0x30(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x88(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x40(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0xa0(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0x48(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0xb8(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
movsd  -0x30(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x78(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x90(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x40(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0xa8(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  -0x48(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0xc0(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xc0(%rbp)
ff
mov    -0x8(%rbp),%rax
movsd  0x40(%rax),%xmm0
movsd  %xmm0,-0x30(%rbp)
mov    -0x8(%rbp),%rax
movsd  0x48(%rax),%xmm0
movsd  %xmm0,-0x38(%rbp)
mov    -0x8(%rbp),%rax
movsd  0x50(%rax),%xmm0
movsd  %xmm0,-0x40(%rbp)
mov    -0x8(%rbp),%rax
movsd  0x58(%rax),%xmm0
movsd  %xmm0,-0x48(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x40(%rax),%xmm0
movsd  %xmm0,-0x50(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x48(%rax),%xmm0
movsd  %xmm0,-0x58(%rbp)
mov    -0x10(%rbp),%rax
movsd  0x50(%rax),%xmm0
movsd  %xmm0,-0x60(%rbp)
movsd  -0x30(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x70(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x70(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0x88(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x88(%rbp)
ff
movsd  -0x40(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0xa0(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa0(%rbp)
ff
movsd  -0x48(%rbp),%xmm0
movsd  -0x50(%rbp),%xmm2
movsd  -0xb8(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xb8(%rbp)
ff
movsd  -0x30(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x78(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x78(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0x90(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x90(%rbp)
ff
movsd  -0x40(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0xa8(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xa8(%rbp)
ff
movsd  -0x48(%rbp),%xmm0
movsd  -0x58(%rbp),%xmm2
movsd  -0xc0(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xc0(%rbp)
ff
movsd  -0x30(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x80(%rbp),%xmm1
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x80(%rbp)
movsd  -0x38(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0x98(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0x98(%rbp)
ff
movsd  -0x40(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0xb0(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xb0(%rbp)
ff
movsd  -0x48(%rbp),%xmm0
movsd  -0x60(%rbp),%xmm2
movsd  -0xc8(%rbp),%xmm1
ff
mulsd  %xmm2,%xmm0
addsd  %xmm1,%xmm0
movsd  %xmm0,-0xc8(%rbp)
ff
movsd  -0x70(%rbp),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,(%rax)
movsd  -0x88(%rbp),%xmm0
ff
mov    -0x18(%rbp),%rax
movsd  %xmm0,0x8(%rax)
movsd  -0xa0(%rbp),%xmm0
ff
mov    -0x18(%rbp),%rax
movsd  %xmm0,0x10(%rax)
movsd  -0xb8(%rbp),%xmm0
ff
mov    -0x18(%rbp),%rax
movsd  %xmm0,0x18(%rax)
movsd  -0x78(%rbp),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,0x20(%rax)
movsd  -0x90(%rbp),%xmm0
ff
mov    -0x18(%rbp),%rax
movsd  %xmm0,0x28(%rax)
movsd  -0xa8(%rbp),%xmm0
ff
mov    -0x18(%rbp),%rax
movsd  %xmm0,0x30(%rax)
movsd  -0xc0(%rbp),%xmm0
ff
mov    -0x18(%rbp),%rax
movsd  %xmm0,0x38(%rax)
movsd  -0x80(%rbp),%xmm0
mov    -0x18(%rbp),%rax
movsd  %xmm0,0x40(%rax)
movsd  -0x98(%rbp),%xmm0
ff
mov    -0x18(%rbp),%rax
movsd  %xmm0,0x48(%rax)
movsd  -0xb0(%rbp),%xmm0
ff
mov    -0x18(%rbp),%rax
movsd  %xmm0,0x50(%rax)
movsd  -0xc8(%rbp),%xmm0
ff
mov    -0x18(%rbp),%rax
movsd  %xmm0,0x58(%rax)
add    $0x48,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<corner_dtrmm_nt_u_4x3_lib4>:
movsd  (%rsi),%xmm5
movsd  0x20(%rsi),%xmm3
movsd  0x28(%rsi),%xmm2
movsd  0x40(%rsi),%xmm0
unpcklpd %xmm5,%xmm5
movupd (%rdi),%xmm6
movupd 0x10(%rdi),%xmm7
movupd 0x20(%rdi),%xmm1
movupd 0x30(%rdi),%xmm9
mulpd  %xmm5,%xmm6
xorpd  %xmm8,%xmm8
addpd  %xmm8,%xmm6
mulpd  %xmm5,%xmm7
addpd  %xmm8,%xmm7
unpcklpd %xmm3,%xmm3
movapd %xmm1,%xmm4
mulpd  %xmm3,%xmm4
addpd  %xmm6,%xmm4
mulpd  %xmm9,%xmm3
addpd  %xmm7,%xmm3
unpcklpd %xmm2,%xmm2
mulpd  %xmm2,%xmm1
addpd  %xmm8,%xmm1
mulpd  %xmm9,%xmm2
addpd  %xmm8,%xmm2
movupd 0x40(%rdi),%xmm5
movupd 0x50(%rdi),%xmm6
unpcklpd %xmm0,%xmm0
movapd %xmm5,%xmm7
mulpd  %xmm0,%xmm7
addpd  %xmm4,%xmm7
mulpd  %xmm6,%xmm0
addpd  %xmm3,%xmm0
movsd  0x48(%rsi),%xmm3
unpcklpd %xmm3,%xmm3
movapd %xmm5,%xmm4
mulpd  %xmm3,%xmm4
addpd  %xmm1,%xmm4
mulpd  %xmm6,%xmm3
addpd  %xmm2,%xmm3
movsd  0x50(%rsi),%xmm1
unpcklpd %xmm1,%xmm1
mulpd  %xmm1,%xmm5
addpd  %xmm8,%xmm5
mulpd  %xmm6,%xmm1
addpd  %xmm8,%xmm1
movupd %xmm7,(%rdx)
movupd %xmm0,0x10(%rdx)
movupd %xmm4,0x20(%rdx)
movupd %xmm3,0x30(%rdx)
movupd %xmm5,0x40(%rdx)
movupd %xmm1,0x50(%rdx)
ret

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

LLVM IR (-O2):
define void @corner_dtrmm_nt_u_4x3_lib4(double* nocapture %0, double* nocapture %1, double* nocapture writeonly %2) {
%4 = bitcast double* %0 to <2 x double>*
%5 = load <2 x double>, <2 x double>* %4
%6 = getelementptr inbounds double, double* %0, i64 2
%7 = bitcast double* %6 to <2 x double>*
%8 = load <2 x double>, <2 x double>* %7
%9 = load double, double* %1
%10 = insertelement <2 x double> poison, double %9, i64 0
%11 = shufflevector <2 x double> %10, <2 x double> poison, <2 x i32> zeroinitializer
%12 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %5, <2 x double> %11, <2 x double> zeroinitializer)
%13 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %8, <2 x double> %11, <2 x double> zeroinitializer)
%14 = getelementptr inbounds double, double* %0, i64 4
%15 = bitcast double* %14 to <2 x double>*
%16 = load <2 x double>, <2 x double>* %15
%17 = getelementptr inbounds double, double* %0, i64 6
%18 = bitcast double* %17 to <2 x double>*
%19 = load <2 x double>, <2 x double>* %18
%20 = getelementptr inbounds double, double* %1, i64 4
%21 = load double, double* %20
%22 = getelementptr inbounds double, double* %1, i64 5
%23 = load double, double* %22
%24 = insertelement <2 x double> poison, double %21, i64 0
%25 = shufflevector <2 x double> %24, <2 x double> poison, <2 x i32> zeroinitializer
%26 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %16, <2 x double> %25, <2 x double> %12)
%27 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %19, <2 x double> %25, <2 x double> %13)
%28 = insertelement <2 x double> poison, double %23, i64 0
%29 = shufflevector <2 x double> %28, <2 x double> poison, <2 x i32> zeroinitializer
%30 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %16, <2 x double> %29, <2 x double> zeroinitializer)
%31 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %19, <2 x double> %29, <2 x double> zeroinitializer)
%32 = getelementptr inbounds double, double* %0, i64 8
%33 = bitcast double* %32 to <2 x double>*
%34 = load <2 x double>, <2 x double>* %33
%35 = getelementptr inbounds double, double* %0, i64 10
%36 = bitcast double* %35 to <2 x double>*
%37 = load <2 x double>, <2 x double>* %36
%38 = getelementptr inbounds double, double* %1, i64 8
%39 = load double, double* %38
%40 = getelementptr inbounds double, double* %1, i64 9
%41 = load double, double* %40
%42 = getelementptr inbounds double, double* %1, i64 10
%43 = load double, double* %42
%44 = insertelement <2 x double> poison, double %39, i64 0
%45 = shufflevector <2 x double> %44, <2 x double> poison, <2 x i32> zeroinitializer
%46 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %34, <2 x double> %45, <2 x double> %26)
%47 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %37, <2 x double> %45, <2 x double> %27)
%48 = insertelement <2 x double> poison, double %41, i64 0
%49 = shufflevector <2 x double> %48, <2 x double> poison, <2 x i32> zeroinitializer
%50 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %34, <2 x double> %49, <2 x double> %30)
%51 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %37, <2 x double> %49, <2 x double> %31)
%52 = insertelement <2 x double> poison, double %43, 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> %34, <2 x double> %53, <2 x double> zeroinitializer)
%55 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %37, <2 x double> %53, <2 x double> zeroinitializer)
%56 = bitcast double* %2 to <2 x double>*
store <2 x double> %46, <2 x double>* %56
%57 = getelementptr inbounds double, double* %2, i64 2
%58 = bitcast double* %57 to <2 x double>*
store <2 x double> %47, <2 x double>* %58
%59 = getelementptr inbounds double, double* %2, i64 4
%60 = bitcast double* %59 to <2 x double>*
store <2 x double> %50, <2 x double>* %60
%61 = getelementptr inbounds double, double* %2, i64 6
%62 = bitcast double* %61 to <2 x double>*
store <2 x double> %51, <2 x double>* %62
%63 = getelementptr inbounds double, double* %2, i64 8
%64 = bitcast double* %63 to <2 x double>*
store <2 x double> %54, <2 x double>* %64
%65 = getelementptr inbounds double, double* %2, i64 10
%66 = bitcast double* %65 to <2 x double>*
store <2 x double> %55, <2 x double>* %66
ret void
}