; LLVM IR from ermig1979/Simd :: src/Simd/SimdBaseGemm32f.ll (ZN4Simd4Base9Gemm32fNNEmmmPKfS2_mS2_mS2_Pfm)

; 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"

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

35:                                               ; preds = %115, %11
  %36 = load i64, ptr %24, align 8, !tbaa !5
  %37 = load i64, ptr %12, align 8, !tbaa !5
  %38 = icmp ult i64 %36, %37
  br i1 %38, label %40, label %39

39:                                               ; preds = %35
  store i32 2, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #3
  br label %118

40:                                               ; preds = %35
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #3
  %41 = load ptr, ptr %21, align 8, !tbaa !9
  %42 = load i64, ptr %24, align 8, !tbaa !5
  %43 = load i64, ptr %22, align 8, !tbaa !5
  %44 = mul i64 %42, %43
  %45 = getelementptr inbounds float, ptr %41, i64 %44
  store ptr %45, ptr %26, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #3
  store i64 0, ptr %27, align 8, !tbaa !5
  br label %46

46:                                               ; preds = %61, %40
  %47 = load i64, ptr %27, align 8, !tbaa !5
  %48 = load i64, ptr %13, align 8, !tbaa !5
  %49 = icmp ult i64 %47, %48
  br i1 %49, label %51, label %50

50:                                               ; preds = %46
  store i32 5, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #3
  br label %64

51:                                               ; preds = %46
  %52 = load float, ptr %23, align 4, !tbaa !11
  %53 = load ptr, ptr %26, align 8, !tbaa !9
  %54 = load i64, ptr %27, align 8, !tbaa !5
  %55 = getelementptr inbounds float, ptr %53, i64 %54
  %56 = load float, ptr %55, align 4, !tbaa !11
  %57 = fmul float %52, %56
  %58 = load ptr, ptr %26, align 8, !tbaa !9
  %59 = load i64, ptr %27, align 8, !tbaa !5
  %60 = getelementptr inbounds float, ptr %58, i64 %59
  store float %57, ptr %60, align 4, !tbaa !11
  br label %61

61:                                               ; preds = %51
  %62 = load i64, ptr %27, align 8, !tbaa !5
  %63 = add i64 %62, 1
  store i64 %63, ptr %27, align 8, !tbaa !5
  br label %46, !llvm.loop !13

64:                                               ; preds = %50
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #3
  store i64 0, ptr %28, align 8, !tbaa !5
  br label %65

65:                                               ; preds = %111, %64
  %66 = load i64, ptr %28, align 8, !tbaa !5
  %67 = load i64, ptr %14, align 8, !tbaa !5
  %68 = icmp ult i64 %66, %67
  br i1 %68, label %70, label %69

69:                                               ; preds = %65
  store i32 8, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #3
  br label %114

70:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #3
  %71 = load ptr, ptr %18, align 8, !tbaa !9
  %72 = load i64, ptr %28, align 8, !tbaa !5
  %73 = load i64, ptr %19, align 8, !tbaa !5
  %74 = mul i64 %72, %73
  %75 = getelementptr inbounds float, ptr %71, i64 %74
  store ptr %75, ptr %29, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #3
  %76 = load ptr, ptr %15, align 8, !tbaa !9
  %77 = getelementptr inbounds float, ptr %76, i64 0
  %78 = load float, ptr %77, align 4, !tbaa !11
  %79 = load ptr, ptr %16, align 8, !tbaa !9
  %80 = load i64, ptr %24, align 8, !tbaa !5
  %81 = load i64, ptr %17, align 8, !tbaa !5
  %82 = mul i64 %80, %81
  %83 = load i64, ptr %28, align 8, !tbaa !5
  %84 = add i64 %82, %83
  %85 = getelementptr inbounds float, ptr %79, i64 %84
  %86 = load float, ptr %85, align 4, !tbaa !11
  %87 = fmul float %78, %86
  store float %87, ptr %30, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %31) #3
  store i64 0, ptr %31, align 8, !tbaa !5
  br label %88

88:                                               ; preds = %107, %70
  %89 = load i64, ptr %31, align 8, !tbaa !5
  %90 = load i64, ptr %13, align 8, !tbaa !5
  %91 = icmp ult i64 %89, %90
  br i1 %91, label %93, label %92

92:                                               ; preds = %88
  store i32 11, ptr %25, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %31) #3
  br label %110

93:                                               ; preds = %88
  %94 = load float, ptr %30, align 4, !tbaa !11
  %95 = load ptr, ptr %29, align 8, !tbaa !9
  %96 = load i64, ptr %31, align 8, !tbaa !5
  %97 = getelementptr inbounds float, ptr %95, i64 %96
  %98 = load float, ptr %97, align 4, !tbaa !11
  %99 = load ptr, ptr %26, align 8, !tbaa !9
  %100 = load i64, ptr %31, align 8, !tbaa !5
  %101 = getelementptr inbounds float, ptr %99, i64 %100
  %102 = load float, ptr %101, align 4, !tbaa !11
  %103 = call float @llvm.fmuladd.f32(float %94, float %98, float %102)
  %104 = load ptr, ptr %26, align 8, !tbaa !9
  %105 = load i64, ptr %31, align 8, !tbaa !5
  %106 = getelementptr inbounds float, ptr %104, i64 %105
  store float %103, ptr %106, align 4, !tbaa !11
  br label %107

107:                                              ; preds = %93
  %108 = load i64, ptr %31, align 8, !tbaa !5
  %109 = add i64 %108, 1
  store i64 %109, ptr %31, align 8, !tbaa !5
  br label %88, !llvm.loop !15

110:                                              ; preds = %92
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #3
  br label %111

111:                                              ; preds = %110
  %112 = load i64, ptr %28, align 8, !tbaa !5
  %113 = add i64 %112, 1
  store i64 %113, ptr %28, align 8, !tbaa !5
  br label %65, !llvm.loop !16

114:                                              ; preds = %69
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #3
  br label %115

115:                                              ; preds = %114
  %116 = load i64, ptr %24, align 8, !tbaa !5
  %117 = add i64 %116, 1
  store i64 %117, ptr %24, align 8, !tbaa !5
  br label %35, !llvm.loop !17

118:                                              ; preds = %39
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #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 willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.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

attributes #0 = { mustprogress 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}


; 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: mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable
define dso_local void @_ZN4Simd4Base9Gemm32fNNEmmmPKfS2_mS2_mS2_Pfm(i64 noundef %0, i64 noundef %1, i64 noundef %2, ptr nocapture noundef readonly %3, ptr nocapture noundef readonly %4, i64 noundef %5, ptr nocapture noundef readonly %6, i64 noundef %7, ptr nocapture noundef readonly %8, ptr nocapture noundef %9, i64 noundef %10) local_unnamed_addr #0 {
  %12 = load float, ptr %8, align 4, !tbaa !5
  %.not = icmp eq i64 %0, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph46

.lr.ph46:                                         ; preds = %11
  %.not60 = icmp eq i64 %1, 0
  %.not61 = icmp eq i64 %2, 0
  br i1 %.not61, label %.lr.ph46.split, label %.lr.ph46.split.us

.lr.ph46.split.us:                                ; preds = %.lr.ph46
  br i1 %.not60, label %._crit_edge, label %.lr.ph.us.us.preheader.preheader

.lr.ph.us.us.preheader.preheader:                 ; preds = %.lr.ph46.split.us
  %13 = shl i64 %10, 2
  %14 = shl i64 %1, 2
  %15 = add i64 %2, 4611686018427387903
  %16 = mul i64 %15, %7
  %17 = add i64 %16, %1
  %18 = shl i64 %17, 2
  %scevgep74 = getelementptr i8, ptr %6, i64 %18
  %19 = getelementptr i8, ptr %9, i64 %14
  %min.iters.check80 = icmp ult i64 %1, 8
  %n.vec83 = and i64 %1, -8
  %broadcast.splatinsert89 = insertelement <4 x float> poison, float %12, i64 0
  %broadcast.splat90 = shufflevector <4 x float> %broadcast.splatinsert89, <4 x float> poison, <4 x i32> zeroinitializer
  %cmp.n92 = icmp eq i64 %n.vec83, %1
  %min.iters.check = icmp ult i64 %1, 8
  %.mask = and i64 %7, 2305843009213693952
  %stride.check = icmp ne i64 %.mask, 0
  %n.vec = and i64 %1, -8
  %cmp.n = icmp eq i64 %n.vec, %1
  %xtraiter = and i64 %1, 1
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  %20 = add i64 %1, -1
  br label %.lr.ph.us.us.preheader

.lr.ph.us.us.preheader:                           ; preds = %.lr.ph.us.us.preheader.preheader, %._crit_edge44.split.us.us.us
  %.03545.us.us = phi i64 [ %69, %._crit_edge44.split.us.us.us ], [ 0, %.lr.ph.us.us.preheader.preheader ]
  %21 = mul i64 %13, %.03545.us.us
  %scevgep = getelementptr i8, ptr %9, i64 %21
  %scevgep73 = getelementptr i8, ptr %19, i64 %21
  %22 = mul i64 %.03545.us.us, %10
  %23 = getelementptr inbounds float, ptr %9, i64 %22
  br i1 %min.iters.check80, label %.lr.ph.us.us.preheader108, label %vector.body85

vector.body85:                                    ; preds = %.lr.ph.us.us.preheader, %vector.body85
  %index86 = phi i64 [ %index.next91, %vector.body85 ], [ 0, %.lr.ph.us.us.preheader ]
  %24 = getelementptr inbounds float, ptr %23, i64 %index86
  %25 = getelementptr inbounds i8, ptr %24, i64 16
  %wide.load87 = load <4 x float>, ptr %24, align 4, !tbaa !5
  %wide.load88 = load <4 x float>, ptr %25, align 4, !tbaa !5
  %26 = fmul <4 x float> %broadcast.splat90, %wide.load87
  %27 = fmul <4 x float> %broadcast.splat90, %wide.load88
  store <4 x float> %26, ptr %24, align 4, !tbaa !5
  store <4 x float> %27, ptr %25, align 4, !tbaa !5
  %index.next91 = add nuw i64 %index86, 8
  %28 = icmp eq i64 %index.next91, %n.vec83
  br i1 %28, label %middle.block78, label %vector.body85, !llvm.loop !9

middle.block78:                                   ; preds = %vector.body85
  br i1 %cmp.n92, label %.preheader.us.us, label %.lr.ph.us.us.preheader108

.lr.ph.us.us.preheader108:                        ; preds = %middle.block78, %.lr.ph.us.us.preheader
  %.03739.us.us.ph = phi i64 [ 0, %.lr.ph.us.us.preheader ], [ %n.vec83, %middle.block78 ]
  br label %.lr.ph.us.us

.lr.ph.us.us:                                     ; preds = %.lr.ph.us.us.preheader108, %.lr.ph.us.us
  %.03739.us.us = phi i64 [ %32, %.lr.ph.us.us ], [ %.03739.us.us.ph, %.lr.ph.us.us.preheader108 ]
  %29 = getelementptr inbounds float, ptr %23, i64 %.03739.us.us
  %30 = load float, ptr %29, align 4, !tbaa !5
  %31 = fmul float %12, %30
  store float %31, ptr %29, align 4, !tbaa !5
  %32 = add nuw i64 %.03739.us.us, 1
  %exitcond.not = icmp eq i64 %32, %1
  br i1 %exitcond.not, label %.preheader.us.us, label %.lr.ph.us.us, !llvm.loop !13

.preheader.us.us:                                 ; preds = %.lr.ph.us.us, %middle.block78
  %33 = mul i64 %.03545.us.us, %5
  %34 = getelementptr float, ptr %4, i64 %33
  %bound0 = icmp ult ptr %scevgep, %scevgep74
  %bound1 = icmp ugt ptr %scevgep73, %6
  %found.conflict = and i1 %bound0, %bound1
  %35 = or i1 %found.conflict, %stride.check
  br label %.lr.ph41.us.us.us

.lr.ph41.us.us.us:                                ; preds = %._crit_edge.us.us.us, %.preheader.us.us
  %.03642.us.us.us = phi i64 [ 0, %.preheader.us.us ], [ %68, %._crit_edge.us.us.us ]
  %36 = mul i64 %.03642.us.us.us, %7
  %37 = getelementptr inbounds float, ptr %6, i64 %36
  %38 = load float, ptr %3, align 4, !tbaa !5
  %39 = getelementptr float, ptr %34, i64 %.03642.us.us.us
  %40 = load float, ptr %39, align 4, !tbaa !5
  %41 = fmul float %38, %40
  %brmerge = select i1 %min.iters.check, i1 true, i1 %35
  br i1 %brmerge, label %scalar.ph.preheader, label %vector.ph

vector.ph:                                        ; preds = %.lr.ph41.us.us.us
  %broadcast.splatinsert = insertelement <4 x float> poison, float %41, i64 0
  %broadcast.splat = shufflevector <4 x float> %broadcast.splatinsert, <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 ]
  %42 = getelementptr inbounds float, ptr %37, i64 %index
  %43 = getelementptr inbounds i8, ptr %42, i64 16
  %wide.load = load <4 x float>, ptr %42, align 4, !tbaa !5, !alias.scope !14
  %wide.load75 = load <4 x float>, ptr %43, align 4, !tbaa !5, !alias.scope !14
  %44 = getelementptr inbounds float, ptr %23, i64 %index
  %45 = getelementptr inbounds i8, ptr %44, i64 16
  %wide.load76 = load <4 x float>, ptr %44, align 4, !tbaa !5, !alias.scope !17, !noalias !14
  %wide.load77 = load <4 x float>, ptr %45, align 4, !tbaa !5, !alias.scope !17, !noalias !14
  %46 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %broadcast.splat, <4 x float> %wide.load, <4 x float> %wide.load76)
  %47 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %broadcast.splat, <4 x float> %wide.load75, <4 x float> %wide.load77)
  store <4 x float> %46, ptr %44, align 4, !tbaa !5, !alias.scope !17, !noalias !14
  store <4 x float> %47, ptr %45, align 4, !tbaa !5, !alias.scope !17, !noalias !14
  %index.next = add nuw i64 %index, 8
  %48 = icmp eq i64 %index.next, %n.vec
  br i1 %48, label %middle.block, label %vector.body, !llvm.loop !19

middle.block:                                     ; preds = %vector.body
  br i1 %cmp.n, label %._crit_edge.us.us.us, label %scalar.ph.preheader

scalar.ph.preheader:                              ; preds = %.lr.ph41.us.us.us, %middle.block
  %.040.us.us.us.ph = phi i64 [ 0, %.lr.ph41.us.us.us ], [ %n.vec, %middle.block ]
  br i1 %lcmp.mod.not, label %scalar.ph.prol.loopexit, label %scalar.ph.prol

scalar.ph.prol:                                   ; preds = %scalar.ph.preheader
  %49 = getelementptr inbounds float, ptr %37, i64 %.040.us.us.us.ph
  %50 = load float, ptr %49, align 4, !tbaa !5
  %51 = getelementptr inbounds float, ptr %23, i64 %.040.us.us.us.ph
  %52 = load float, ptr %51, align 4, !tbaa !5
  %53 = tail call float @llvm.fmuladd.f32(float %41, float %50, float %52)
  store float %53, ptr %51, align 4, !tbaa !5
  %54 = or disjoint i64 %.040.us.us.us.ph, 1
  br label %scalar.ph.prol.loopexit

scalar.ph.prol.loopexit:                          ; preds = %scalar.ph.prol, %scalar.ph.preheader
  %.040.us.us.us.unr = phi i64 [ %.040.us.us.us.ph, %scalar.ph.preheader ], [ %54, %scalar.ph.prol ]
  %55 = icmp eq i64 %.040.us.us.us.ph, %20
  br i1 %55, label %._crit_edge.us.us.us, label %scalar.ph

scalar.ph:                                        ; preds = %scalar.ph.prol.loopexit, %scalar.ph
  %.040.us.us.us = phi i64 [ %67, %scalar.ph ], [ %.040.us.us.us.unr, %scalar.ph.prol.loopexit ]
  %56 = getelementptr inbounds float, ptr %37, i64 %.040.us.us.us
  %57 = load float, ptr %56, align 4, !tbaa !5
  %58 = getelementptr inbounds float, ptr %23, i64 %.040.us.us.us
  %59 = load float, ptr %58, align 4, !tbaa !5
  %60 = tail call float @llvm.fmuladd.f32(float %41, float %57, float %59)
  store float %60, ptr %58, align 4, !tbaa !5
  %61 = add nuw i64 %.040.us.us.us, 1
  %62 = getelementptr inbounds float, ptr %37, i64 %61
  %63 = load float, ptr %62, align 4, !tbaa !5
  %64 = getelementptr inbounds float, ptr %23, i64 %61
  %65 = load float, ptr %64, align 4, !tbaa !5
  %66 = tail call float @llvm.fmuladd.f32(float %41, float %63, float %65)
  store float %66, ptr %64, align 4, !tbaa !5
  %67 = add nuw i64 %.040.us.us.us, 2
  %exitcond66.not.1 = icmp eq i64 %67, %1
  br i1 %exitcond66.not.1, label %._crit_edge.us.us.us, label %scalar.ph, !llvm.loop !20

._crit_edge.us.us.us:                             ; preds = %scalar.ph.prol.loopexit, %scalar.ph, %middle.block
  %68 = add nuw i64 %.03642.us.us.us, 1
  %exitcond67.not = icmp eq i64 %68, %2
  br i1 %exitcond67.not, label %._crit_edge44.split.us.us.us, label %.lr.ph41.us.us.us, !llvm.loop !21

._crit_edge44.split.us.us.us:                     ; preds = %._crit_edge.us.us.us
  %69 = add nuw i64 %.03545.us.us, 1
  %exitcond68.not = icmp eq i64 %69, %0
  br i1 %exitcond68.not, label %._crit_edge, label %.lr.ph.us.us.preheader, !llvm.loop !22

.lr.ph46.split:                                   ; preds = %.lr.ph46
  br i1 %.not60, label %._crit_edge, label %.lr.ph.us53.preheader

.lr.ph.us53.preheader:                            ; preds = %.lr.ph46.split
  %min.iters.check95 = icmp ult i64 %1, 8
  %n.vec98 = and i64 %1, -8
  %broadcast.splatinsert104 = insertelement <4 x float> poison, float %12, i64 0
  %broadcast.splat105 = shufflevector <4 x float> %broadcast.splatinsert104, <4 x float> poison, <4 x i32> zeroinitializer
  %cmp.n107 = icmp eq i64 %n.vec98, %1
  br label %.lr.ph.us53

.lr.ph.us53:                                      ; preds = %.lr.ph.us53.preheader, %..preheader_crit_edge.us54
  %.03545.us50 = phi i64 [ %81, %..preheader_crit_edge.us54 ], [ 0, %.lr.ph.us53.preheader ]
  %70 = mul i64 %.03545.us50, %10
  %71 = getelementptr inbounds float, ptr %9, i64 %70
  br i1 %min.iters.check95, label %scalar.ph94.preheader, label %vector.body100

vector.body100:                                   ; preds = %.lr.ph.us53, %vector.body100
  %index101 = phi i64 [ %index.next106, %vector.body100 ], [ 0, %.lr.ph.us53 ]
  %72 = getelementptr inbounds float, ptr %71, i64 %index101
  %73 = getelementptr inbounds i8, ptr %72, i64 16
  %wide.load102 = load <4 x float>, ptr %72, align 4, !tbaa !5
  %wide.load103 = load <4 x float>, ptr %73, align 4, !tbaa !5
  %74 = fmul <4 x float> %broadcast.splat105, %wide.load102
  %75 = fmul <4 x float> %broadcast.splat105, %wide.load103
  store <4 x float> %74, ptr %72, align 4, !tbaa !5
  store <4 x float> %75, ptr %73, align 4, !tbaa !5
  %index.next106 = add nuw i64 %index101, 8
  %76 = icmp eq i64 %index.next106, %n.vec98
  br i1 %76, label %middle.block93, label %vector.body100, !llvm.loop !23

middle.block93:                                   ; preds = %vector.body100
  br i1 %cmp.n107, label %..preheader_crit_edge.us54, label %scalar.ph94.preheader

scalar.ph94.preheader:                            ; preds = %middle.block93, %.lr.ph.us53
  %.03739.us51.ph = phi i64 [ 0, %.lr.ph.us53 ], [ %n.vec98, %middle.block93 ]
  br label %scalar.ph94

scalar.ph94:                                      ; preds = %scalar.ph94.preheader, %scalar.ph94
  %.03739.us51 = phi i64 [ %80, %scalar.ph94 ], [ %.03739.us51.ph, %scalar.ph94.preheader ]
  %77 = getelementptr inbounds float, ptr %71, i64 %.03739.us51
  %78 = load float, ptr %77, align 4, !tbaa !5
  %79 = fmul float %12, %78
  store float %79, ptr %77, align 4, !tbaa !5
  %80 = add nuw i64 %.03739.us51, 1
  %exitcond69.not = icmp eq i64 %80, %1
  br i1 %exitcond69.not, label %..preheader_crit_edge.us54, label %scalar.ph94, !llvm.loop !24

..preheader_crit_edge.us54:                       ; preds = %scalar.ph94, %middle.block93
  %81 = add nuw i64 %.03545.us50, 1
  %exitcond70.not = icmp eq i64 %81, %0
  br i1 %exitcond70.not, label %._crit_edge, label %.lr.ph.us53, !llvm.loop !22

._crit_edge:                                      ; preds = %._crit_edge44.split.us.us.us, %..preheader_crit_edge.us54, %.lr.ph46.split, %.lr.ph46.split.us, %11
  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 = { mustprogress nofree norecurse nosync nounwind memory(argmem: readwrite) 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, !6, i64 0}
!6 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10, !11, !12}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!"llvm.loop.isvectorized", i32 1}
!12 = !{!"llvm.loop.unroll.runtime.disable"}
!13 = distinct !{!13, !10, !12, !11}
!14 = !{!15}
!15 = distinct !{!15, !16}
!16 = distinct !{!16, !"LVerDomain"}
!17 = !{!18}
!18 = distinct !{!18, !16}
!19 = distinct !{!19, !10, !11, !12}
!20 = distinct !{!20, !10, !11}
!21 = distinct !{!21, !10}
!22 = distinct !{!22, !10}
!23 = distinct !{!23, !10, !11, !12}
!24 = distinct !{!24, !10, !12, !11}


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