#define NULL ((void *)0)
typedef unsigned long size_t; // Customize by platform.
typedef long intptr_t;
typedef unsigned long uintptr_t;
typedef long scalar_t__; // Either arithmetic or pointer type.
/* By default, we understand bool (as a convenience). */
typedef int bool;
#define false 0
#define true 1

/* Forward declarations */

/* Type definitions */

/* Variables and functions */
scalar_t__ cos(float);
scalar_t__ sin(float);
int /*<<< orphan*/ v_nrm(float *, float const *);
void m_rot(float *M, const float *v, float a) {
  float u[3];
  float U[16];
  float S[16];
  const float s = ((float)sin((float)a));
  const float c = ((float)cos((float)a));
  v_nrm(u, v);
  U[0] = u[0] * u[0];
  U[4] = u[0] * u[1];
  U[8] = u[0] * u[2];
  U[1] = u[1] * u[0];
  U[5] = u[1] * u[1];
  U[9] = u[1] * u[2];
  U[2] = u[2] * u[0];
  U[6] = u[2] * u[1];
  U[10] = u[2] * u[2];
  S[0] = 0.f;
  S[4] = -u[2];
  S[8] = u[1];
  S[1] = u[2];
  S[5] = 0.f;
  S[9] = -u[0];
  S[2] = -u[1];
  S[6] = u[0];
  S[10] = 0.f;
  M[0] = U[0] + c * (1.f - U[0]) + s * S[0];
  M[1] = U[1] + c * (0.f - U[1]) + s * S[1];
  M[2] = U[2] + c * (0.f - U[2]) + s * S[2];
  M[3] = 0.f;
  M[4] = U[4] + c * (0.f - U[4]) + s * S[4];
  M[5] = U[5] + c * (1.f - U[5]) + s * S[5];
  M[6] = U[6] + c * (0.f - U[6]) + s * S[6];
  M[7] = 0.f;
  M[8] = U[8] + c * (0.f - U[8]) + s * S[8];
  M[9] = U[9] + c * (0.f - U[9]) + s * S[9];
  M[10] = U[10] + c * (1.f - U[10]) + s * S[10];
  M[11] = 0.f;
  M[12] = 0.f;
  M[13] = 0.f;
  M[14] = 0.f;
  M[15] = 1.f;
}


x86 assembly (clang, -O0):
<m_rot>:
push   %rbp
mov    %rsp,%rbp
sub    $0xb0,%rsp
mov    %rdi,-0x8(%rbp)
mov    %rsi,-0x10(%rbp)
movss  %xmm0,-0x14(%rbp)
movss  -0x14(%rbp),%xmm0
call   1040 <sin@plt>
cvtsi2ss %rax,%xmm0
movss  %xmm0,-0xa4(%rbp)
ff
movss  -0x14(%rbp),%xmm0
call   1050 <cos@plt>
cvtsi2ss %rax,%xmm0
movss  %xmm0,-0xa8(%rbp)
ff
lea    -0x20(%rbp),%rdi
mov    -0x10(%rbp),%rsi
call   1030 <v_nrm@plt>
movss  -0x20(%rbp),%xmm0
mulss  -0x20(%rbp),%xmm0
movss  %xmm0,-0x60(%rbp)
movss  -0x20(%rbp),%xmm0
mulss  -0x1c(%rbp),%xmm0
movss  %xmm0,-0x50(%rbp)
movss  -0x20(%rbp),%xmm0
mulss  -0x18(%rbp),%xmm0
movss  %xmm0,-0x40(%rbp)
movss  -0x1c(%rbp),%xmm0
mulss  -0x20(%rbp),%xmm0
movss  %xmm0,-0x5c(%rbp)
movss  -0x1c(%rbp),%xmm0
mulss  -0x1c(%rbp),%xmm0
movss  %xmm0,-0x4c(%rbp)
movss  -0x1c(%rbp),%xmm0
mulss  -0x18(%rbp),%xmm0
movss  %xmm0,-0x3c(%rbp)
movss  -0x18(%rbp),%xmm0
mulss  -0x20(%rbp),%xmm0
movss  %xmm0,-0x58(%rbp)
movss  -0x18(%rbp),%xmm0
mulss  -0x1c(%rbp),%xmm0
movss  %xmm0,-0x48(%rbp)
movss  -0x18(%rbp),%xmm0
mulss  -0x18(%rbp),%xmm0
movss  %xmm0,-0x38(%rbp)
xorps  %xmm0,%xmm0
movss  %xmm0,-0xa0(%rbp)
ff
movss  -0x18(%rbp),%xmm0
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
movss  %xmm0,-0x90(%rbp)
ff
movss  -0x1c(%rbp),%xmm0
movss  %xmm0,-0x80(%rbp)
movss  -0x18(%rbp),%xmm0
movss  %xmm0,-0x9c(%rbp)
ff
xorps  %xmm0,%xmm0
movss  %xmm0,-0x8c(%rbp)
ff
movss  -0x20(%rbp),%xmm0
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
movss  %xmm0,-0x7c(%rbp)
movss  -0x1c(%rbp),%xmm0
movd   %xmm0,%eax
xor    $0x80000000,%eax
movd   %eax,%xmm0
movss  %xmm0,-0x98(%rbp)
ff
movss  -0x20(%rbp),%xmm0
movss  %xmm0,-0x88(%rbp)
ff
xorps  %xmm0,%xmm0
movss  %xmm0,-0x78(%rbp)
movss  -0x60(%rbp),%xmm0
movss  -0xa8(%rbp),%xmm1
ff
movss  0xd54(%rip),%xmm2
subss  -0x60(%rbp),%xmm2
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xa4(%rbp),%xmm0
ff
movss  -0xa0(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
movss  %xmm0,(%rax)
movss  -0x5c(%rbp),%xmm0
movss  -0xa8(%rbp),%xmm1
ff
xorps  %xmm2,%xmm2
subss  -0x5c(%rbp),%xmm2
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xa4(%rbp),%xmm0
ff
movss  -0x9c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
movss  %xmm0,0x4(%rax)
movss  -0x58(%rbp),%xmm0
movss  -0xa8(%rbp),%xmm1
ff
xorps  %xmm2,%xmm2
subss  -0x58(%rbp),%xmm2
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xa4(%rbp),%xmm0
ff
movss  -0x98(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
movss  %xmm0,0x8(%rax)
mov    -0x8(%rbp),%rax
xorps  %xmm0,%xmm0
movss  %xmm0,0xc(%rax)
movss  -0x50(%rbp),%xmm0
movss  -0xa8(%rbp),%xmm1
ff
xorps  %xmm2,%xmm2
subss  -0x50(%rbp),%xmm2
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xa4(%rbp),%xmm0
ff
movss  -0x90(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
movss  %xmm0,0x10(%rax)
movss  -0x4c(%rbp),%xmm0
movss  -0xa8(%rbp),%xmm1
ff
movss  0xc4c(%rip),%xmm2
subss  -0x4c(%rbp),%xmm2
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xa4(%rbp),%xmm0
ff
movss  -0x8c(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
movss  %xmm0,0x14(%rax)
movss  -0x48(%rbp),%xmm0
movss  -0xa8(%rbp),%xmm1
ff
xorps  %xmm2,%xmm2
subss  -0x48(%rbp),%xmm2
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xa4(%rbp),%xmm0
ff
movss  -0x88(%rbp),%xmm2
ff
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
movss  %xmm0,0x18(%rax)
mov    -0x8(%rbp),%rax
xorps  %xmm0,%xmm0
movss  %xmm0,0x1c(%rax)
movss  -0x40(%rbp),%xmm0
movss  -0xa8(%rbp),%xmm1
ff
xorps  %xmm2,%xmm2
subss  -0x40(%rbp),%xmm2
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xa4(%rbp),%xmm0
ff
movss  -0x80(%rbp),%xmm2
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
movss  %xmm0,0x20(%rax)
movss  -0x3c(%rbp),%xmm0
movss  -0xa8(%rbp),%xmm1
ff
xorps  %xmm2,%xmm2
subss  -0x3c(%rbp),%xmm2
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xa4(%rbp),%xmm0
ff
movss  -0x7c(%rbp),%xmm2
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
movss  %xmm0,0x24(%rax)
movss  -0x38(%rbp),%xmm0
movss  -0xa8(%rbp),%xmm1
ff
movss  0xb49(%rip),%xmm2
subss  -0x38(%rbp),%xmm2
mulss  %xmm2,%xmm1
addss  %xmm0,%xmm1
movss  -0xa4(%rbp),%xmm0
ff
movss  -0x78(%rbp),%xmm2
mulss  %xmm2,%xmm0
addss  %xmm1,%xmm0
mov    -0x8(%rbp),%rax
movss  %xmm0,0x28(%rax)
mov    -0x8(%rbp),%rax
xorps  %xmm0,%xmm0
movss  %xmm0,0x2c(%rax)
mov    -0x8(%rbp),%rax
xorps  %xmm0,%xmm0
movss  %xmm0,0x30(%rax)
mov    -0x8(%rbp),%rax
xorps  %xmm0,%xmm0
movss  %xmm0,0x34(%rax)
mov    -0x8(%rbp),%rax
xorps  %xmm0,%xmm0
movss  %xmm0,0x38(%rax)
mov    -0x8(%rbp),%rax
movss  0xae2(%rip),%xmm0
movss  %xmm0,0x3c(%rax)
add    $0xb0,%rsp
pop    %rbp
ret

x86 assembly (clang, -O2):
<m_rot>:
push   %r14
push   %rbx
sub    $0x18,%rsp
movss  %xmm0,0x4(%rsp)
mov    %rsi,%r14
mov    %rdi,%rbx
call   1040 <sin@plt>
xorps  %xmm0,%xmm0
cvtsi2ss %rax,%xmm0
movss  %xmm0,0x8(%rsp)
movss  0x4(%rsp),%xmm0
call   1050 <cos@plt>
xorps  %xmm0,%xmm0
cvtsi2ss %rax,%xmm0
movss  %xmm0,0x4(%rsp)
lea    0xc(%rsp),%rdi
mov    %r14,%rsi
call   1030 <v_nrm@plt>
movss  0xc(%rsp),%xmm7
movss  0x10(%rsp),%xmm0
movaps %xmm7,%xmm1
mulss  %xmm0,%xmm1
movss  0x14(%rsp),%xmm3
movaps %xmm7,%xmm6
mulss  %xmm3,%xmm6
movaps %xmm0,%xmm10
movaps %xmm0,%xmm9
mulss  %xmm3,%xmm9
movaps %xmm3,%xmm8
movss  0x8(%rsp),%xmm5
movaps %xmm5,%xmm11
mulss  %xmm5,%xmm3
movaps %xmm5,%xmm12
mulss  %xmm5,%xmm0
mulss  %xmm7,%xmm12
mulss  %xmm7,%xmm7
mulss  %xmm10,%xmm10
mulss  %xmm8,%xmm8
movss  0xe22(%rip),%xmm4
movaps %xmm4,%xmm2
subss  %xmm7,%xmm2
movss  0x4(%rsp),%xmm5
mulss  %xmm5,%xmm2
addss  %xmm7,%xmm2
xorps  %xmm7,%xmm7
mulss  %xmm7,%xmm11
addss  %xmm11,%xmm2
movss  %xmm2,(%rbx)
xorps  %xmm2,%xmm2
subss  %xmm1,%xmm2
mulss  %xmm5,%xmm2
addss  %xmm1,%xmm2
movaps %xmm3,%xmm1
addss  %xmm2,%xmm1
movss  %xmm1,0x4(%rbx)
xorps  %xmm1,%xmm1
subss  %xmm6,%xmm1
mulss  %xmm5,%xmm1
addss  %xmm6,%xmm1
movaps %xmm1,%xmm6
subss  %xmm0,%xmm6
movss  %xmm6,0x8(%rbx)
movl   $0x0,0xc(%rbx)
subss  %xmm3,%xmm2
movss  %xmm2,0x10(%rbx)
movaps %xmm4,%xmm2
subss  %xmm10,%xmm2
mulss  %xmm5,%xmm2
addss  %xmm10,%xmm2
addss  %xmm11,%xmm2
movss  %xmm2,0x14(%rbx)
subss  %xmm9,%xmm7
mulss  %xmm5,%xmm7
addss  %xmm9,%xmm7
movaps %xmm12,%xmm2
addss  %xmm7,%xmm2
movss  %xmm2,0x18(%rbx)
movl   $0x0,0x1c(%rbx)
addss  %xmm1,%xmm0
movss  %xmm0,0x20(%rbx)
subss  %xmm12,%xmm7
movss  %xmm7,0x24(%rbx)
subss  %xmm8,%xmm4
mulss  %xmm5,%xmm4
addss  %xmm8,%xmm4
addss  %xmm11,%xmm4
movss  %xmm4,0x28(%rbx)
xorps  %xmm0,%xmm0
movups %xmm0,0x2c(%rbx)
movl   $0x3f800000,0x3c(%rbx)
add    $0x18,%rsp
pop    %rbx
pop    %r14
ret

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

LLVM IR (-O2):
define void @m_rot(float* nocapture writeonly %0, float* %1, float %2) {
%4 = alloca [3 x float]
%5 = bitcast [3 x float]* %4 to i8*
%6 = tail call i64 @sin(float %2)
%7 = sitofp i64 %6 to float
%8 = tail call i64 @cos(float %2)
%9 = sitofp i64 %8 to float
%10 = getelementptr inbounds [3 x float], [3 x float]* %4, i64 0, i64 0
%11 = call i32 @v_nrm(float* %10, float* %1)
%12 = load float, float* %10
%13 = fmul float %12, %12
%14 = getelementptr inbounds [3 x float], [3 x float]* %4, i64 0, i64 1
%15 = load float, float* %14
%16 = fmul float %12, %15
%17 = getelementptr inbounds [3 x float], [3 x float]* %4, i64 0, i64 2
%18 = load float, float* %17
%19 = fmul float %12, %18
%20 = fmul float %15, %15
%21 = fmul float %15, %18
%22 = fmul float %18, %18
%23 = fneg float %18
%24 = fneg float %12
%25 = fneg float %15
%26 = fsub float 1.000000e+00, %13
%27 = call float @llvm.fmuladd.f32(float %9, float %26, float %13)
%28 = call float @llvm.fmuladd.f32(float %7, float 0.000000e+00, float %27)
store float %28, float* %0
%29 = fsub float 0.000000e+00, %16
%30 = call float @llvm.fmuladd.f32(float %9, float %29, float %16)
%31 = call float @llvm.fmuladd.f32(float %7, float %18, float %30)
%32 = getelementptr inbounds float, float* %0, i64 1
store float %31, float* %32
%33 = fsub float 0.000000e+00, %19
%34 = call float @llvm.fmuladd.f32(float %9, float %33, float %19)
%35 = call float @llvm.fmuladd.f32(float %7, float %25, float %34)
%36 = getelementptr inbounds float, float* %0, i64 2
store float %35, float* %36
%37 = getelementptr inbounds float, float* %0, i64 3
store float 0.000000e+00, float* %37
%38 = call float @llvm.fmuladd.f32(float %7, float %23, float %30)
%39 = getelementptr inbounds float, float* %0, i64 4
store float %38, float* %39
%40 = fsub float 1.000000e+00, %20
%41 = call float @llvm.fmuladd.f32(float %9, float %40, float %20)
%42 = call float @llvm.fmuladd.f32(float %7, float 0.000000e+00, float %41)
%43 = getelementptr inbounds float, float* %0, i64 5
store float %42, float* %43
%44 = fsub float 0.000000e+00, %21
%45 = call float @llvm.fmuladd.f32(float %9, float %44, float %21)
%46 = call float @llvm.fmuladd.f32(float %7, float %12, float %45)
%47 = getelementptr inbounds float, float* %0, i64 6
store float %46, float* %47
%48 = getelementptr inbounds float, float* %0, i64 7
store float 0.000000e+00, float* %48
%49 = call float @llvm.fmuladd.f32(float %7, float %15, float %34)
%50 = getelementptr inbounds float, float* %0, i64 8
store float %49, float* %50
%51 = call float @llvm.fmuladd.f32(float %7, float %24, float %45)
%52 = getelementptr inbounds float, float* %0, i64 9
store float %51, float* %52
%53 = fsub float 1.000000e+00, %22
%54 = call float @llvm.fmuladd.f32(float %9, float %53, float %22)
%55 = call float @llvm.fmuladd.f32(float %7, float 0.000000e+00, float %54)
%56 = getelementptr inbounds float, float* %0, i64 10
store float %55, float* %56
%57 = getelementptr inbounds float, float* %0, i64 11
%58 = getelementptr inbounds float, float* %0, i64 15
%59 = bitcast float* %57 to i8*
store float 1.000000e+00, float* %58
ret void
}