; LLVM IR from FedericaPaoli1/stm32-speech-recognition-and-traduction :: Drivers/CMSIS/DSP/Source/FilteringFunctions (arm_iir_lattice_f32)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.arm_iir_lattice_instance_f32 = type { i16, ptr, ptr, ptr }

; Function Attrs: nounwind uwtable
define dso_local void @arm_iir_lattice_f32(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca float, align 4
  %12 = alloca float, align 4
  %13 = alloca float, align 4
  %14 = alloca float, align 4
  %15 = alloca float, align 4
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca i32, align 4
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store i32 %3, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #3
  %23 = load ptr, ptr %5, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.arm_iir_lattice_instance_f32, ptr %23, i32 0, i32 1
  %25 = load ptr, ptr %24, align 8, !tbaa !11
  store ptr %25, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #3
  %26 = load ptr, ptr %5, align 8, !tbaa !5
  %27 = getelementptr inbounds %struct.arm_iir_lattice_instance_f32, ptr %26, i32 0, i32 0
  %28 = load i16, ptr %27, align 8, !tbaa !14
  %29 = zext i16 %28 to i32
  store i32 %29, ptr %20, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #3
  %30 = load i32, ptr %8, align 4, !tbaa !9
  store i32 %30, ptr %21, align 4, !tbaa !9
  br label %31

31:                                               ; preds = %80, %4
  %32 = load i32, ptr %21, align 4, !tbaa !9
  %33 = icmp ugt i32 %32, 0
  br i1 %33, label %34, label %96

34:                                               ; preds = %31
  %35 = load ptr, ptr %6, align 8, !tbaa !5
  %36 = getelementptr inbounds float, ptr %35, i32 1
  store ptr %36, ptr %6, align 8, !tbaa !5
  %37 = load float, ptr %35, align 4, !tbaa !15
  store float %37, ptr %13, align 4, !tbaa !15
  %38 = load ptr, ptr %5, align 8, !tbaa !5
  %39 = getelementptr inbounds %struct.arm_iir_lattice_instance_f32, ptr %38, i32 0, i32 3
  %40 = load ptr, ptr %39, align 8, !tbaa !17
  %41 = getelementptr inbounds float, ptr %40, i64 0
  store ptr %41, ptr %19, align 8, !tbaa !5
  %42 = load ptr, ptr %5, align 8, !tbaa !5
  %43 = getelementptr inbounds %struct.arm_iir_lattice_instance_f32, ptr %42, i32 0, i32 2
  %44 = load ptr, ptr %43, align 8, !tbaa !18
  %45 = getelementptr inbounds float, ptr %44, i64 0
  store ptr %45, ptr %18, align 8, !tbaa !5
  %46 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %46, ptr %16, align 8, !tbaa !5
  %47 = load ptr, ptr %9, align 8, !tbaa !5
  store ptr %47, ptr %17, align 8, !tbaa !5
  store float 0.000000e+00, ptr %11, align 4, !tbaa !15
  %48 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %48, ptr %22, align 4, !tbaa !9
  br label %49

49:                                               ; preds = %52, %34
  %50 = load i32, ptr %22, align 4, !tbaa !9
  %51 = icmp ugt i32 %50, 0
  br i1 %51, label %52, label %80

52:                                               ; preds = %49
  %53 = load ptr, ptr %16, align 8, !tbaa !5
  %54 = getelementptr inbounds float, ptr %53, i32 1
  store ptr %54, ptr %16, align 8, !tbaa !5
  %55 = load float, ptr %53, align 4, !tbaa !15
  store float %55, ptr %14, align 4, !tbaa !15
  %56 = load float, ptr %13, align 4, !tbaa !15
  %57 = load ptr, ptr %18, align 8, !tbaa !5
  %58 = load float, ptr %57, align 4, !tbaa !15
  %59 = load float, ptr %14, align 4, !tbaa !15
  %60 = fneg float %58
  %61 = call float @llvm.fmuladd.f32(float %60, float %59, float %56)
  store float %61, ptr %12, align 4, !tbaa !15
  %62 = load float, ptr %12, align 4, !tbaa !15
  %63 = load ptr, ptr %18, align 8, !tbaa !5
  %64 = getelementptr inbounds float, ptr %63, i32 1
  store ptr %64, ptr %18, align 8, !tbaa !5
  %65 = load float, ptr %63, align 4, !tbaa !15
  %66 = load float, ptr %14, align 4, !tbaa !15
  %67 = call float @llvm.fmuladd.f32(float %62, float %65, float %66)
  store float %67, ptr %15, align 4, !tbaa !15
  %68 = load float, ptr %15, align 4, !tbaa !15
  %69 = load ptr, ptr %19, align 8, !tbaa !5
  %70 = getelementptr inbounds float, ptr %69, i32 1
  store ptr %70, ptr %19, align 8, !tbaa !5
  %71 = load float, ptr %69, align 4, !tbaa !15
  %72 = load float, ptr %11, align 4, !tbaa !15
  %73 = call float @llvm.fmuladd.f32(float %68, float %71, float %72)
  store float %73, ptr %11, align 4, !tbaa !15
  %74 = load float, ptr %15, align 4, !tbaa !15
  %75 = load ptr, ptr %17, align 8, !tbaa !5
  %76 = getelementptr inbounds float, ptr %75, i32 1
  store ptr %76, ptr %17, align 8, !tbaa !5
  store float %74, ptr %75, align 4, !tbaa !15
  %77 = load float, ptr %12, align 4, !tbaa !15
  store float %77, ptr %13, align 4, !tbaa !15
  %78 = load i32, ptr %22, align 4, !tbaa !9
  %79 = add i32 %78, -1
  store i32 %79, ptr %22, align 4, !tbaa !9
  br label %49, !llvm.loop !19

80:                                               ; preds = %49
  %81 = load float, ptr %13, align 4, !tbaa !15
  %82 = load ptr, ptr %19, align 8, !tbaa !5
  %83 = load float, ptr %82, align 4, !tbaa !15
  %84 = load float, ptr %11, align 4, !tbaa !15
  %85 = call float @llvm.fmuladd.f32(float %81, float %83, float %84)
  store float %85, ptr %11, align 4, !tbaa !15
  %86 = load float, ptr %13, align 4, !tbaa !15
  %87 = load ptr, ptr %17, align 8, !tbaa !5
  %88 = getelementptr inbounds float, ptr %87, i32 1
  store ptr %88, ptr %17, align 8, !tbaa !5
  store float %86, ptr %87, align 4, !tbaa !15
  %89 = load float, ptr %11, align 4, !tbaa !15
  %90 = load ptr, ptr %7, align 8, !tbaa !5
  %91 = getelementptr inbounds float, ptr %90, i32 1
  store ptr %91, ptr %7, align 8, !tbaa !5
  store float %89, ptr %90, align 4, !tbaa !15
  %92 = load ptr, ptr %9, align 8, !tbaa !5
  %93 = getelementptr inbounds float, ptr %92, i64 1
  store ptr %93, ptr %9, align 8, !tbaa !5
  %94 = load i32, ptr %21, align 4, !tbaa !9
  %95 = add i32 %94, -1
  store i32 %95, ptr %21, align 4, !tbaa !9
  br label %31, !llvm.loop !21

96:                                               ; preds = %31
  %97 = load ptr, ptr %5, align 8, !tbaa !5
  %98 = getelementptr inbounds %struct.arm_iir_lattice_instance_f32, ptr %97, i32 0, i32 1
  %99 = load ptr, ptr %98, align 8, !tbaa !11
  %100 = getelementptr inbounds float, ptr %99, i64 0
  store ptr %100, ptr %10, align 8, !tbaa !5
  %101 = load ptr, ptr %5, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.arm_iir_lattice_instance_f32, ptr %101, i32 0, i32 1
  %103 = load ptr, ptr %102, align 8, !tbaa !11
  %104 = load i32, ptr %8, align 4, !tbaa !9
  %105 = zext i32 %104 to i64
  %106 = getelementptr inbounds float, ptr %103, i64 %105
  store ptr %106, ptr %9, align 8, !tbaa !5
  %107 = load i32, ptr %20, align 4, !tbaa !9
  store i32 %107, ptr %22, align 4, !tbaa !9
  br label %108

108:                                              ; preds = %111, %96
  %109 = load i32, ptr %22, align 4, !tbaa !9
  %110 = icmp ugt i32 %109, 0
  br i1 %110, label %111, label %119

111:                                              ; preds = %108
  %112 = load ptr, ptr %9, align 8, !tbaa !5
  %113 = getelementptr inbounds float, ptr %112, i32 1
  store ptr %113, ptr %9, align 8, !tbaa !5
  %114 = load float, ptr %112, align 4, !tbaa !15
  %115 = load ptr, ptr %10, align 8, !tbaa !5
  %116 = getelementptr inbounds float, ptr %115, i32 1
  store ptr %116, ptr %10, align 8, !tbaa !5
  store float %114, ptr %115, align 4, !tbaa !15
  %117 = load i32, ptr %22, align 4, !tbaa !9
  %118 = add i32 %117, -1
  store i32 %118, ptr %22, align 4, !tbaa !9
  br label %108, !llvm.loop !22

119:                                              ; preds = %108
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #3
  ret void
}

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !6, i64 8}
!12 = !{!"", !13, i64 0, !6, i64 8, !6, i64 16, !6, i64 24}
!13 = !{!"short", !7, i64 0}
!14 = !{!12, !13, i64 0}
!15 = !{!16, !16, i64 0}
!16 = !{!"float", !7, i64 0}
!17 = !{!12, !6, i64 24}
!18 = !{!12, !6, i64 16}
!19 = distinct !{!19, !20}
!20 = !{!"llvm.loop.mustprogress"}
!21 = distinct !{!21, !20}
!22 = distinct !{!22, !20}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable
define dso_local void @arm_iir_lattice_f32(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef writeonly %2, i32 noundef %3) local_unnamed_addr #0 {
  %5 = getelementptr inbounds i8, ptr %0, i64 8
  %6 = load ptr, ptr %5, align 8, !tbaa !5
  %7 = load i16, ptr %0, align 8, !tbaa !11
  %8 = zext i16 %7 to i32
  %.not66 = icmp eq i32 %3, 0
  br i1 %.not66, label %._crit_edge73, label %.lr.ph72

.lr.ph72:                                         ; preds = %4
  %9 = getelementptr inbounds i8, ptr %0, i64 24
  %10 = load ptr, ptr %9, align 8, !tbaa !12
  %11 = getelementptr inbounds i8, ptr %0, i64 16
  %12 = load ptr, ptr %11, align 8, !tbaa !13
  %.not5455 = icmp eq i16 %7, 0
  br i1 %.not5455, label %.lr.ph72.split.us.preheader, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %.lr.ph72
  %xtraiter = and i32 %8, 1
  %lcmp.mod.not = icmp eq i32 %xtraiter, 0
  %13 = getelementptr inbounds i8, ptr %12, i64 4
  %14 = getelementptr inbounds i8, ptr %10, i64 4
  %15 = add nsw i32 %8, -1
  %16 = icmp eq i16 %7, 1
  br label %.lr.ph

.lr.ph72.split.us.preheader:                      ; preds = %.lr.ph72
  %17 = zext i32 %3 to i64
  %min.iters.check = icmp ult i32 %3, 24
  br i1 %min.iters.check, label %.lr.ph72.split.us.preheader153, label %vector.memcheck

vector.memcheck:                                  ; preds = %.lr.ph72.split.us.preheader
  %18 = add i32 %3, -1
  %19 = zext i32 %18 to i64
  %20 = shl nuw nsw i64 %19, 2
  %21 = add nuw nsw i64 %20, 4
  %scevgep = getelementptr i8, ptr %6, i64 %21
  %scevgep93 = getelementptr i8, ptr %2, i64 %21
  %scevgep94 = getelementptr i8, ptr %1, i64 %21
  %scevgep95 = getelementptr i8, ptr %10, i64 4
  %bound0 = icmp ult ptr %6, %scevgep93
  %bound1 = icmp ugt ptr %scevgep, %2
  %found.conflict = and i1 %bound0, %bound1
  %bound096 = icmp ult ptr %6, %scevgep94
  %bound197 = icmp ugt ptr %scevgep, %1
  %found.conflict98 = and i1 %bound096, %bound197
  %conflict.rdx = or i1 %found.conflict, %found.conflict98
  %bound099 = icmp ult ptr %6, %scevgep95
  %bound1100 = icmp ult ptr %10, %scevgep
  %found.conflict101 = and i1 %bound099, %bound1100
  %conflict.rdx102 = or i1 %conflict.rdx, %found.conflict101
  %bound0103 = icmp ugt ptr %scevgep94, %2
  %bound1104 = icmp ugt ptr %scevgep93, %1
  %found.conflict105 = and i1 %bound0103, %bound1104
  %conflict.rdx106 = or i1 %conflict.rdx102, %found.conflict105
  %bound0107 = icmp ugt ptr %scevgep95, %2
  %bound1108 = icmp ult ptr %10, %scevgep93
  %found.conflict109 = and i1 %bound0107, %bound1108
  %conflict.rdx110 = or i1 %conflict.rdx106, %found.conflict109
  br i1 %conflict.rdx110, label %.lr.ph72.split.us.preheader153, label %vector.ph

vector.ph:                                        ; preds = %vector.memcheck
  %n.vec = and i64 %17, 4294967288
  %.cast = trunc nuw i64 %n.vec to i32
  %ind.end = sub i32 %3, %.cast
  %22 = shl nuw nsw i64 %n.vec, 2
  %ind.end111 = getelementptr i8, ptr %1, i64 %22
  %23 = shl nuw nsw i64 %n.vec, 2
  %ind.end113 = getelementptr i8, ptr %2, i64 %23
  %24 = shl nuw nsw i64 %n.vec, 2
  %ind.end115 = getelementptr i8, ptr %6, i64 %24
  %25 = load float, ptr %10, align 4, !tbaa !14, !alias.scope !16
  %broadcast.splatinsert125 = insertelement <4 x float> poison, float %25, i64 0
  %broadcast.splat126 = shufflevector <4 x float> %broadcast.splatinsert125, <4 x float> poison, <4 x i32> zeroinitializer
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %offset.idx = shl i64 %index, 2
  %next.gep = getelementptr i8, ptr %1, i64 %offset.idx
  %offset.idx118 = shl i64 %index, 2
  %next.gep119 = getelementptr i8, ptr %2, i64 %offset.idx118
  %offset.idx121 = shl i64 %index, 2
  %next.gep122 = getelementptr i8, ptr %6, i64 %offset.idx121
  %26 = getelementptr i8, ptr %next.gep, i64 16
  %wide.load = load <4 x float>, ptr %next.gep, align 4, !tbaa !14, !alias.scope !19
  %wide.load124 = load <4 x float>, ptr %26, align 4, !tbaa !14, !alias.scope !19
  %27 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %wide.load, <4 x float> %broadcast.splat126, <4 x float> zeroinitializer)
  %28 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %wide.load124, <4 x float> %broadcast.splat126, <4 x float> zeroinitializer)
  %29 = getelementptr i8, ptr %next.gep122, i64 16
  store <4 x float> %wide.load, ptr %next.gep122, align 4, !tbaa !14, !alias.scope !21, !noalias !23
  store <4 x float> %wide.load124, ptr %29, align 4, !tbaa !14, !alias.scope !21, !noalias !23
  %30 = getelementptr i8, ptr %next.gep119, i64 16
  store <4 x float> %27, ptr %next.gep119, align 4, !tbaa !14, !alias.scope !25, !noalias !26
  store <4 x float> %28, ptr %30, align 4, !tbaa !14, !alias.scope !25, !noalias !26
  %index.next = add nuw i64 %index, 8
  %31 = icmp eq i64 %index.next, %n.vec
  br i1 %31, label %middle.block, label %vector.body, !llvm.loop !27

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %17
  br i1 %cmp.n, label %._crit_edge73, label %.lr.ph72.split.us.preheader153

.lr.ph72.split.us.preheader153:                   ; preds = %middle.block, %vector.memcheck, %.lr.ph72.split.us.preheader
  %.04170.us.ph = phi i32 [ %3, %vector.memcheck ], [ %3, %.lr.ph72.split.us.preheader ], [ %ind.end, %middle.block ]
  %.04269.us.ph = phi ptr [ %1, %vector.memcheck ], [ %1, %.lr.ph72.split.us.preheader ], [ %ind.end111, %middle.block ]
  %.04768.us.ph = phi ptr [ %2, %vector.memcheck ], [ %2, %.lr.ph72.split.us.preheader ], [ %ind.end113, %middle.block ]
  %.04867.us.ph = phi ptr [ %6, %vector.memcheck ], [ %6, %.lr.ph72.split.us.preheader ], [ %ind.end115, %middle.block ]
  %xtraiter158 = and i32 %.04170.us.ph, 1
  %lcmp.mod159.not = icmp eq i32 %xtraiter158, 0
  br i1 %lcmp.mod159.not, label %.lr.ph72.split.us.prol.loopexit, label %.lr.ph72.split.us.prol

.lr.ph72.split.us.prol:                           ; preds = %.lr.ph72.split.us.preheader153
  %32 = getelementptr inbounds i8, ptr %.04269.us.ph, i64 4
  %33 = load float, ptr %.04269.us.ph, align 4, !tbaa !14
  %34 = load float, ptr %10, align 4, !tbaa !14
  %35 = tail call float @llvm.fmuladd.f32(float %33, float %34, float 0.000000e+00)
  store float %33, ptr %.04867.us.ph, align 4, !tbaa !14
  %36 = getelementptr inbounds i8, ptr %.04768.us.ph, i64 4
  store float %35, ptr %.04768.us.ph, align 4, !tbaa !14
  %37 = getelementptr inbounds i8, ptr %.04867.us.ph, i64 4
  %38 = add nsw i32 %.04170.us.ph, -1
  br label %.lr.ph72.split.us.prol.loopexit

.lr.ph72.split.us.prol.loopexit:                  ; preds = %.lr.ph72.split.us.prol, %.lr.ph72.split.us.preheader153
  %.04170.us.unr = phi i32 [ %.04170.us.ph, %.lr.ph72.split.us.preheader153 ], [ %38, %.lr.ph72.split.us.prol ]
  %.04269.us.unr = phi ptr [ %.04269.us.ph, %.lr.ph72.split.us.preheader153 ], [ %32, %.lr.ph72.split.us.prol ]
  %.04768.us.unr = phi ptr [ %.04768.us.ph, %.lr.ph72.split.us.preheader153 ], [ %36, %.lr.ph72.split.us.prol ]
  %.04867.us.unr = phi ptr [ %.04867.us.ph, %.lr.ph72.split.us.preheader153 ], [ %37, %.lr.ph72.split.us.prol ]
  %39 = icmp eq i32 %.04170.us.ph, 1
  br i1 %39, label %._crit_edge73, label %.lr.ph72.split.us

.lr.ph72.split.us:                                ; preds = %.lr.ph72.split.us.prol.loopexit, %.lr.ph72.split.us
  %.04170.us = phi i32 [ %52, %.lr.ph72.split.us ], [ %.04170.us.unr, %.lr.ph72.split.us.prol.loopexit ]
  %.04269.us = phi ptr [ %46, %.lr.ph72.split.us ], [ %.04269.us.unr, %.lr.ph72.split.us.prol.loopexit ]
  %.04768.us = phi ptr [ %50, %.lr.ph72.split.us ], [ %.04768.us.unr, %.lr.ph72.split.us.prol.loopexit ]
  %.04867.us = phi ptr [ %51, %.lr.ph72.split.us ], [ %.04867.us.unr, %.lr.ph72.split.us.prol.loopexit ]
  %40 = getelementptr inbounds i8, ptr %.04269.us, i64 4
  %41 = load float, ptr %.04269.us, align 4, !tbaa !14
  %42 = load float, ptr %10, align 4, !tbaa !14
  %43 = tail call float @llvm.fmuladd.f32(float %41, float %42, float 0.000000e+00)
  store float %41, ptr %.04867.us, align 4, !tbaa !14
  %44 = getelementptr inbounds i8, ptr %.04768.us, i64 4
  store float %43, ptr %.04768.us, align 4, !tbaa !14
  %45 = getelementptr inbounds i8, ptr %.04867.us, i64 4
  %46 = getelementptr inbounds i8, ptr %.04269.us, i64 8
  %47 = load float, ptr %40, align 4, !tbaa !14
  %48 = load float, ptr %10, align 4, !tbaa !14
  %49 = tail call float @llvm.fmuladd.f32(float %47, float %48, float 0.000000e+00)
  store float %47, ptr %45, align 4, !tbaa !14
  %50 = getelementptr inbounds i8, ptr %.04768.us, i64 8
  store float %49, ptr %44, align 4, !tbaa !14
  %51 = getelementptr inbounds i8, ptr %.04867.us, i64 8
  %52 = add i32 %.04170.us, -2
  %.not.us.1 = icmp eq i32 %52, 0
  br i1 %.not.us.1, label %._crit_edge73, label %.lr.ph72.split.us, !llvm.loop !31

.lr.ph:                                           ; preds = %.lr.ph.preheader, %._crit_edge
  %.04170 = phi i32 [ %88, %._crit_edge ], [ %3, %.lr.ph.preheader ]
  %.04269 = phi ptr [ %83, %._crit_edge ], [ %1, %.lr.ph.preheader ]
  %.04768 = phi ptr [ %86, %._crit_edge ], [ %2, %.lr.ph.preheader ]
  %.04867 = phi ptr [ %87, %._crit_edge ], [ %6, %.lr.ph.preheader ]
  %53 = load float, ptr %.04269, align 4, !tbaa !14
  br i1 %lcmp.mod.not, label %.prol.loopexit, label %.prol.loopexit.unr-lcssa

.prol.loopexit.unr-lcssa:                         ; preds = %.lr.ph
  %54 = getelementptr i8, ptr %.04867, i64 4
  %55 = load float, ptr %.04867, align 4, !tbaa !14
  %56 = load float, ptr %12, align 4, !tbaa !14
  %57 = fneg float %56
  %58 = tail call float @llvm.fmuladd.f32(float %57, float %55, float %53)
  %59 = tail call float @llvm.fmuladd.f32(float %58, float %56, float %55)
  %60 = load float, ptr %10, align 4, !tbaa !14
  %61 = tail call float @llvm.fmuladd.f32(float %59, float %60, float 0.000000e+00)
  store float %59, ptr %.04867, align 4, !tbaa !14
  br label %.prol.loopexit

.prol.loopexit:                                   ; preds = %.prol.loopexit.unr-lcssa, %.lr.ph
  %.lcssa157.unr = phi ptr [ poison, %.lr.ph ], [ %54, %.prol.loopexit.unr-lcssa ]
  %.lcssa156.unr = phi float [ poison, %.lr.ph ], [ %58, %.prol.loopexit.unr-lcssa ]
  %.lcssa.unr = phi float [ poison, %.lr.ph ], [ %61, %.prol.loopexit.unr-lcssa ]
  %.062.unr = phi i32 [ %8, %.lr.ph ], [ %15, %.prol.loopexit.unr-lcssa ]
  %.04361.unr = phi ptr [ %10, %.lr.ph ], [ %14, %.prol.loopexit.unr-lcssa ]
  %.04460.unr = phi ptr [ %12, %.lr.ph ], [ %13, %.prol.loopexit.unr-lcssa ]
  %.04559.unr = phi ptr [ %.04867, %.lr.ph ], [ %54, %.prol.loopexit.unr-lcssa ]
  %.05057.unr = phi float [ %53, %.lr.ph ], [ %58, %.prol.loopexit.unr-lcssa ]
  %.05256.unr = phi float [ 0.000000e+00, %.lr.ph ], [ %61, %.prol.loopexit.unr-lcssa ]
  br i1 %16, label %._crit_edge, label %.lr.ph.new

.lr.ph.new:                                       ; preds = %.prol.loopexit, %.lr.ph.new
  %.062 = phi i32 [ %82, %.lr.ph.new ], [ %.062.unr, %.prol.loopexit ]
  %.04361 = phi ptr [ %79, %.lr.ph.new ], [ %.04361.unr, %.prol.loopexit ]
  %.04460 = phi ptr [ %77, %.lr.ph.new ], [ %.04460.unr, %.prol.loopexit ]
  %.04559 = phi ptr [ %72, %.lr.ph.new ], [ %.04559.unr, %.prol.loopexit ]
  %.05057 = phi float [ %76, %.lr.ph.new ], [ %.05057.unr, %.prol.loopexit ]
  %.05256 = phi float [ %81, %.lr.ph.new ], [ %.05256.unr, %.prol.loopexit ]
  %62 = getelementptr i8, ptr %.04559, i64 4
  %63 = load float, ptr %.04559, align 4, !tbaa !14
  %64 = load float, ptr %.04460, align 4, !tbaa !14
  %65 = fneg float %64
  %66 = tail call float @llvm.fmuladd.f32(float %65, float %63, float %.05057)
  %67 = getelementptr inbounds i8, ptr %.04460, i64 4
  %68 = tail call float @llvm.fmuladd.f32(float %66, float %64, float %63)
  %69 = getelementptr inbounds i8, ptr %.04361, i64 4
  %70 = load float, ptr %.04361, align 4, !tbaa !14
  %71 = tail call float @llvm.fmuladd.f32(float %68, float %70, float %.05256)
  store float %68, ptr %.04559, align 4, !tbaa !14
  %72 = getelementptr i8, ptr %.04559, i64 8
  %73 = load float, ptr %62, align 4, !tbaa !14
  %74 = load float, ptr %67, align 4, !tbaa !14
  %75 = fneg float %74
  %76 = tail call float @llvm.fmuladd.f32(float %75, float %73, float %66)
  %77 = getelementptr inbounds i8, ptr %.04460, i64 8
  %78 = tail call float @llvm.fmuladd.f32(float %76, float %74, float %73)
  %79 = getelementptr inbounds i8, ptr %.04361, i64 8
  %80 = load float, ptr %69, align 4, !tbaa !14
  %81 = tail call float @llvm.fmuladd.f32(float %78, float %80, float %71)
  store float %78, ptr %62, align 4, !tbaa !14
  %82 = add nsw i32 %.062, -2
  %.not54.1 = icmp eq i32 %82, 0
  br i1 %.not54.1, label %._crit_edge, label %.lr.ph.new, !llvm.loop !32

._crit_edge:                                      ; preds = %.lr.ph.new, %.prol.loopexit
  %.lcssa157 = phi ptr [ %.lcssa157.unr, %.prol.loopexit ], [ %72, %.lr.ph.new ]
  %.lcssa156 = phi float [ %.lcssa156.unr, %.prol.loopexit ], [ %76, %.lr.ph.new ]
  %.lcssa155 = phi ptr [ %14, %.prol.loopexit ], [ %79, %.lr.ph.new ]
  %.lcssa = phi float [ %.lcssa.unr, %.prol.loopexit ], [ %81, %.lr.ph.new ]
  %83 = getelementptr inbounds i8, ptr %.04269, i64 4
  %84 = load float, ptr %.lcssa155, align 4, !tbaa !14
  %85 = tail call float @llvm.fmuladd.f32(float %.lcssa156, float %84, float %.lcssa)
  store float %.lcssa156, ptr %.lcssa157, align 4, !tbaa !14
  %86 = getelementptr inbounds i8, ptr %.04768, i64 4
  store float %85, ptr %.04768, align 4, !tbaa !14
  %87 = getelementptr inbounds i8, ptr %.04867, i64 4
  %88 = add i32 %.04170, -1
  %.not = icmp eq i32 %88, 0
  br i1 %.not, label %._crit_edge73, label %.lr.ph, !llvm.loop !33

._crit_edge73:                                    ; preds = %._crit_edge, %.lr.ph72.split.us.prol.loopexit, %.lr.ph72.split.us, %middle.block, %4
  %.not5374 = icmp eq i16 %7, 0
  br i1 %.not5374, label %._crit_edge80, label %.lr.ph79.preheader

.lr.ph79.preheader:                               ; preds = %._crit_edge73
  %89 = zext i32 %3 to i64
  %90 = getelementptr float, ptr %6, i64 %89
  %91 = zext i16 %7 to i64
  %min.iters.check129 = icmp ult i16 %7, 8
  br i1 %min.iters.check129, label %.lr.ph79.preheader152, label %vector.ph130

vector.ph130:                                     ; preds = %.lr.ph79.preheader
  %n.vec132 = and i64 %91, 65528
  %.cast133 = trunc nuw nsw i64 %n.vec132 to i32
  %ind.end134 = sub nsw i32 %8, %.cast133
  %92 = shl nuw nsw i64 %n.vec132, 2
  %ind.end136 = getelementptr i8, ptr %90, i64 %92
  %93 = shl nuw nsw i64 %n.vec132, 2
  %ind.end138 = getelementptr i8, ptr %6, i64 %93
  br label %vector.body140

vector.body140:                                   ; preds = %vector.body140, %vector.ph130
  %index141 = phi i64 [ 0, %vector.ph130 ], [ %index.next150, %vector.body140 ]
  %offset.idx142 = shl i64 %index141, 2
  %next.gep143 = getelementptr i8, ptr %90, i64 %offset.idx142
  %offset.idx145 = shl i64 %index141, 2
  %next.gep146 = getelementptr i8, ptr %6, i64 %offset.idx145
  %94 = getelementptr i8, ptr %next.gep143, i64 16
  %wide.load148 = load <4 x float>, ptr %next.gep143, align 4, !tbaa !14
  %wide.load149 = load <4 x float>, ptr %94, align 4, !tbaa !14
  %95 = getelementptr i8, ptr %next.gep146, i64 16
  store <4 x float> %wide.load148, ptr %next.gep146, align 4, !tbaa !14
  store <4 x float> %wide.load149, ptr %95, align 4, !tbaa !14
  %index.next150 = add nuw i64 %index141, 8
  %96 = icmp eq i64 %index.next150, %n.vec132
  br i1 %96, label %middle.block127, label %vector.body140, !llvm.loop !34

middle.block127:                                  ; preds = %vector.body140
  %cmp.n151 = icmp eq i64 %n.vec132, %91
  br i1 %cmp.n151, label %._crit_edge80, label %.lr.ph79.preheader152

.lr.ph79.preheader152:                            ; preds = %middle.block127, %.lr.ph79.preheader
  %.177.ph = phi i32 [ %8, %.lr.ph79.preheader ], [ %ind.end134, %middle.block127 ]
  %.14976.ph = phi ptr [ %90, %.lr.ph79.preheader ], [ %ind.end136, %middle.block127 ]
  %.05175.ph = phi ptr [ %6, %.lr.ph79.preheader ], [ %ind.end138, %middle.block127 ]
  br label %.lr.ph79

.lr.ph79:                                         ; preds = %.lr.ph79.preheader152, %.lr.ph79
  %.177 = phi i32 [ %100, %.lr.ph79 ], [ %.177.ph, %.lr.ph79.preheader152 ]
  %.14976 = phi ptr [ %97, %.lr.ph79 ], [ %.14976.ph, %.lr.ph79.preheader152 ]
  %.05175 = phi ptr [ %99, %.lr.ph79 ], [ %.05175.ph, %.lr.ph79.preheader152 ]
  %97 = getelementptr inbounds i8, ptr %.14976, i64 4
  %98 = load float, ptr %.14976, align 4, !tbaa !14
  %99 = getelementptr inbounds i8, ptr %.05175, i64 4
  store float %98, ptr %.05175, align 4, !tbaa !14
  %100 = add nsw i32 %.177, -1
  %.not53 = icmp eq i32 %100, 0
  br i1 %.not53, label %._crit_edge80, label %.lr.ph79, !llvm.loop !35

._crit_edge80:                                    ; preds = %.lr.ph79, %middle.block127, %._crit_edge73
  ret void
}

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #1

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <4 x float> @llvm.fmuladd.v4f32(<4 x float>, <4 x float>, <4 x float>) #2

attributes #0 = { nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !10, i64 8}
!6 = !{!"", !7, i64 0, !10, i64 8, !10, i64 16, !10, i64 24}
!7 = !{!"short", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!6, !10, i64 24}
!13 = !{!6, !10, i64 16}
!14 = !{!15, !15, i64 0}
!15 = !{!"float", !8, i64 0}
!16 = !{!17}
!17 = distinct !{!17, !18}
!18 = distinct !{!18, !"LVerDomain"}
!19 = !{!20}
!20 = distinct !{!20, !18}
!21 = !{!22}
!22 = distinct !{!22, !18}
!23 = !{!24, !20, !17}
!24 = distinct !{!24, !18}
!25 = !{!24}
!26 = !{!20, !17}
!27 = distinct !{!27, !28, !29, !30}
!28 = !{!"llvm.loop.mustprogress"}
!29 = !{!"llvm.loop.isvectorized", i32 1}
!30 = !{!"llvm.loop.unroll.runtime.disable"}
!31 = distinct !{!31, !28, !29}
!32 = distinct !{!32, !28}
!33 = distinct !{!33, !28}
!34 = distinct !{!34, !28, !29, !30}
!35 = distinct !{!35, !28, !30, !29}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopInstSimplifyPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyCFGPass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass,TailCallElimPass