; LLVM IR from clunietp/libgmsd :: src (convolve)

; 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #0

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

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

; Function Attrs: nounwind uwtable
define dso_local void @apply_kernel_scanline_3x3(ptr noundef %0, ptr noundef %1, i64 noundef %2, i64 noundef %3, ptr noundef %4) #2 {
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i64, align 8
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store i64 %2, ptr %8, align 8, !tbaa !9
  store i64 %3, ptr %9, align 8, !tbaa !9
  store ptr %4, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  store i64 0, ptr %11, align 8, !tbaa !9
  br label %12

12:                                               ; preds = %134, %5
  %13 = load i64, ptr %11, align 8, !tbaa !9
  %14 = load i64, ptr %9, align 8, !tbaa !9
  %15 = icmp ult i64 %13, %14
  br i1 %15, label %16, label %137

16:                                               ; preds = %12
  %17 = load ptr, ptr %6, align 8, !tbaa !5
  %18 = getelementptr inbounds ptr, ptr %17, i64 0
  %19 = load ptr, ptr %18, align 8, !tbaa !5
  %20 = getelementptr inbounds float, ptr %19, i64 0
  %21 = load float, ptr %20, align 4, !tbaa !11
  %22 = load ptr, ptr %7, align 8, !tbaa !5
  %23 = getelementptr inbounds ptr, ptr %22, i64 0
  %24 = load ptr, ptr %23, align 8, !tbaa !5
  %25 = load i64, ptr %11, align 8, !tbaa !9
  %26 = getelementptr inbounds float, ptr %24, i64 %25
  %27 = load float, ptr %26, align 4, !tbaa !11
  %28 = load ptr, ptr %6, align 8, !tbaa !5
  %29 = getelementptr inbounds ptr, ptr %28, i64 0
  %30 = load ptr, ptr %29, align 8, !tbaa !5
  %31 = getelementptr inbounds float, ptr %30, i64 1
  %32 = load float, ptr %31, align 4, !tbaa !11
  %33 = load ptr, ptr %7, align 8, !tbaa !5
  %34 = getelementptr inbounds ptr, ptr %33, i64 0
  %35 = load ptr, ptr %34, align 8, !tbaa !5
  %36 = load i64, ptr %11, align 8, !tbaa !9
  %37 = add i64 %36, 1
  %38 = getelementptr inbounds float, ptr %35, i64 %37
  %39 = load float, ptr %38, align 4, !tbaa !11
  %40 = fmul float %32, %39
  %41 = call float @llvm.fmuladd.f32(float %21, float %27, float %40)
  %42 = load ptr, ptr %6, align 8, !tbaa !5
  %43 = getelementptr inbounds ptr, ptr %42, i64 0
  %44 = load ptr, ptr %43, align 8, !tbaa !5
  %45 = getelementptr inbounds float, ptr %44, i64 2
  %46 = load float, ptr %45, align 4, !tbaa !11
  %47 = load ptr, ptr %7, align 8, !tbaa !5
  %48 = getelementptr inbounds ptr, ptr %47, i64 0
  %49 = load ptr, ptr %48, align 8, !tbaa !5
  %50 = load i64, ptr %11, align 8, !tbaa !9
  %51 = add i64 %50, 2
  %52 = getelementptr inbounds float, ptr %49, i64 %51
  %53 = load float, ptr %52, align 4, !tbaa !11
  %54 = call float @llvm.fmuladd.f32(float %46, float %53, float %41)
  %55 = load ptr, ptr %6, align 8, !tbaa !5
  %56 = getelementptr inbounds ptr, ptr %55, i64 1
  %57 = load ptr, ptr %56, align 8, !tbaa !5
  %58 = getelementptr inbounds float, ptr %57, i64 0
  %59 = load float, ptr %58, align 4, !tbaa !11
  %60 = load ptr, ptr %7, align 8, !tbaa !5
  %61 = getelementptr inbounds ptr, ptr %60, i64 1
  %62 = load ptr, ptr %61, align 8, !tbaa !5
  %63 = load i64, ptr %11, align 8, !tbaa !9
  %64 = getelementptr inbounds float, ptr %62, i64 %63
  %65 = load float, ptr %64, align 4, !tbaa !11
  %66 = call float @llvm.fmuladd.f32(float %59, float %65, float %54)
  %67 = load ptr, ptr %6, align 8, !tbaa !5
  %68 = getelementptr inbounds ptr, ptr %67, i64 1
  %69 = load ptr, ptr %68, align 8, !tbaa !5
  %70 = getelementptr inbounds float, ptr %69, i64 1
  %71 = load float, ptr %70, align 4, !tbaa !11
  %72 = load ptr, ptr %7, align 8, !tbaa !5
  %73 = getelementptr inbounds ptr, ptr %72, i64 1
  %74 = load ptr, ptr %73, align 8, !tbaa !5
  %75 = load i64, ptr %11, align 8, !tbaa !9
  %76 = add i64 %75, 1
  %77 = getelementptr inbounds float, ptr %74, i64 %76
  %78 = load float, ptr %77, align 4, !tbaa !11
  %79 = call float @llvm.fmuladd.f32(float %71, float %78, float %66)
  %80 = load ptr, ptr %6, align 8, !tbaa !5
  %81 = getelementptr inbounds ptr, ptr %80, i64 1
  %82 = load ptr, ptr %81, align 8, !tbaa !5
  %83 = getelementptr inbounds float, ptr %82, i64 2
  %84 = load float, ptr %83, align 4, !tbaa !11
  %85 = load ptr, ptr %7, align 8, !tbaa !5
  %86 = getelementptr inbounds ptr, ptr %85, i64 1
  %87 = load ptr, ptr %86, align 8, !tbaa !5
  %88 = load i64, ptr %11, align 8, !tbaa !9
  %89 = add i64 %88, 2
  %90 = getelementptr inbounds float, ptr %87, i64 %89
  %91 = load float, ptr %90, align 4, !tbaa !11
  %92 = call float @llvm.fmuladd.f32(float %84, float %91, float %79)
  %93 = load ptr, ptr %6, align 8, !tbaa !5
  %94 = getelementptr inbounds ptr, ptr %93, i64 2
  %95 = load ptr, ptr %94, align 8, !tbaa !5
  %96 = getelementptr inbounds float, ptr %95, i64 0
  %97 = load float, ptr %96, align 4, !tbaa !11
  %98 = load ptr, ptr %7, align 8, !tbaa !5
  %99 = getelementptr inbounds ptr, ptr %98, i64 2
  %100 = load ptr, ptr %99, align 8, !tbaa !5
  %101 = load i64, ptr %11, align 8, !tbaa !9
  %102 = getelementptr inbounds float, ptr %100, i64 %101
  %103 = load float, ptr %102, align 4, !tbaa !11
  %104 = call float @llvm.fmuladd.f32(float %97, float %103, float %92)
  %105 = load ptr, ptr %6, align 8, !tbaa !5
  %106 = getelementptr inbounds ptr, ptr %105, i64 2
  %107 = load ptr, ptr %106, align 8, !tbaa !5
  %108 = getelementptr inbounds float, ptr %107, i64 1
  %109 = load float, ptr %108, align 4, !tbaa !11
  %110 = load ptr, ptr %7, align 8, !tbaa !5
  %111 = getelementptr inbounds ptr, ptr %110, i64 2
  %112 = load ptr, ptr %111, align 8, !tbaa !5
  %113 = load i64, ptr %11, align 8, !tbaa !9
  %114 = add i64 %113, 1
  %115 = getelementptr inbounds float, ptr %112, i64 %114
  %116 = load float, ptr %115, align 4, !tbaa !11
  %117 = call float @llvm.fmuladd.f32(float %109, float %116, float %104)
  %118 = load ptr, ptr %6, align 8, !tbaa !5
  %119 = getelementptr inbounds ptr, ptr %118, i64 2
  %120 = load ptr, ptr %119, align 8, !tbaa !5
  %121 = getelementptr inbounds float, ptr %120, i64 2
  %122 = load float, ptr %121, align 4, !tbaa !11
  %123 = load ptr, ptr %7, align 8, !tbaa !5
  %124 = getelementptr inbounds ptr, ptr %123, i64 2
  %125 = load ptr, ptr %124, align 8, !tbaa !5
  %126 = load i64, ptr %11, align 8, !tbaa !9
  %127 = add i64 %126, 2
  %128 = getelementptr inbounds float, ptr %125, i64 %127
  %129 = load float, ptr %128, align 4, !tbaa !11
  %130 = call float @llvm.fmuladd.f32(float %122, float %129, float %117)
  %131 = load ptr, ptr %10, align 8, !tbaa !5
  %132 = load i64, ptr %11, align 8, !tbaa !9
  %133 = getelementptr inbounds float, ptr %131, i64 %132
  store float %130, ptr %133, align 4, !tbaa !11
  br label %134

134:                                              ; preds = %16
  %135 = load i64, ptr %11, align 8, !tbaa !9
  %136 = add i64 %135, 1
  store i64 %136, ptr %11, align 8, !tbaa !9
  br label %12, !llvm.loop !13

137:                                              ; preds = %12
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { 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 #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 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}


; 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 nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #0

; Function Attrs: nofree norecurse nosync nounwind memory(read, argmem: readwrite, inaccessiblemem: none) uwtable
define dso_local void @apply_kernel_scanline_3x3(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, i64 noundef %2, i64 noundef %3, ptr nocapture noundef writeonly %4) local_unnamed_addr #1 {
  %.not = icmp eq i64 %3, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %5
  %6 = load ptr, ptr %1, align 8, !tbaa !5
  %7 = load <2 x ptr>, ptr %0, align 8, !tbaa !5
  %8 = extractelement <2 x ptr> %7, i64 0
  %9 = getelementptr inbounds i8, ptr %8, i64 4
  %10 = getelementptr inbounds i8, ptr %8, i64 8
  %11 = getelementptr inbounds i8, ptr %1, i64 8
  %12 = load ptr, ptr %11, align 8, !tbaa !5
  %13 = extractelement <2 x ptr> %7, i64 1
  %14 = getelementptr inbounds i8, ptr %13, i64 4
  %15 = getelementptr inbounds i8, ptr %13, i64 8
  %16 = getelementptr inbounds i8, ptr %0, i64 16
  %17 = load ptr, ptr %16, align 8, !tbaa !5
  %18 = getelementptr inbounds i8, ptr %1, i64 16
  %19 = load ptr, ptr %18, align 8, !tbaa !5
  %20 = getelementptr inbounds i8, ptr %17, i64 4
  %21 = getelementptr inbounds i8, ptr %17, i64 8
  %min.iters.check = icmp ult i64 %3, 8
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.memcheck

vector.memcheck:                                  ; preds = %.lr.ph
  %22 = shl i64 %3, 2
  %scevgep = getelementptr i8, ptr %4, i64 %22
  %23 = getelementptr i8, <2 x ptr> %7, <2 x i64> <i64 12, i64 12>
  %24 = add i64 %22, 8
  %scevgep33 = getelementptr i8, ptr %6, i64 %24
  %scevgep35 = getelementptr i8, ptr %12, i64 %24
  %scevgep36 = getelementptr i8, ptr %17, i64 12
  %scevgep37 = getelementptr i8, ptr %19, i64 %24
  %25 = shufflevector <2 x ptr> %23, <2 x ptr> poison, <4 x i32> <i32 0, i32 1, i32 poison, i32 poison>
  %26 = insertelement <4 x ptr> %25, ptr %scevgep33, i64 2
  %27 = insertelement <4 x ptr> %26, ptr %scevgep35, i64 3
  %28 = insertelement <4 x ptr> poison, ptr %4, i64 0
  %29 = shufflevector <4 x ptr> %28, <4 x ptr> poison, <4 x i32> zeroinitializer
  %30 = icmp ugt <4 x ptr> %27, %29
  %31 = shufflevector <2 x ptr> %7, <2 x ptr> poison, <4 x i32> <i32 0, i32 1, i32 poison, i32 poison>
  %32 = insertelement <4 x ptr> %31, ptr %6, i64 2
  %33 = insertelement <4 x ptr> %32, ptr %12, i64 3
  %34 = insertelement <4 x ptr> poison, ptr %scevgep, i64 0
  %35 = shufflevector <4 x ptr> %34, <4 x ptr> poison, <4 x i32> zeroinitializer
  %36 = icmp ult <4 x ptr> %33, %35
  %37 = and <4 x i1> %30, %36
  %bound049 = icmp ugt ptr %scevgep36, %4
  %bound150 = icmp ult ptr %17, %scevgep
  %found.conflict51 = and i1 %bound049, %bound150
  %bound053 = icmp ugt ptr %scevgep37, %4
  %bound154 = icmp ult ptr %19, %scevgep
  %found.conflict55 = and i1 %bound053, %bound154
  %38 = bitcast <4 x i1> %37 to i4
  %39 = icmp ne i4 %38, 0
  %op.rdx = or i1 %39, %found.conflict51
  %op.rdx81 = or i1 %op.rdx, %found.conflict55
  br i1 %op.rdx81, label %scalar.ph.preheader, label %vector.ph

vector.ph:                                        ; preds = %vector.memcheck
  %n.vec = and i64 %3, -4
  %40 = load float, ptr %8, align 4, !tbaa !9, !alias.scope !11
  %broadcast.splatinsert58 = insertelement <4 x float> poison, float %40, i64 0
  %broadcast.splat59 = shufflevector <4 x float> %broadcast.splatinsert58, <4 x float> poison, <4 x i32> zeroinitializer
  %41 = load float, ptr %9, align 4, !tbaa !9, !alias.scope !11
  %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
  %42 = load float, ptr %10, align 4, !tbaa !9, !alias.scope !11
  %broadcast.splatinsert61 = insertelement <4 x float> poison, float %42, i64 0
  %broadcast.splat62 = shufflevector <4 x float> %broadcast.splatinsert61, <4 x float> poison, <4 x i32> zeroinitializer
  %43 = load float, ptr %13, align 4, !tbaa !9, !alias.scope !14
  %broadcast.splatinsert64 = insertelement <4 x float> poison, float %43, i64 0
  %broadcast.splat65 = shufflevector <4 x float> %broadcast.splatinsert64, <4 x float> poison, <4 x i32> zeroinitializer
  %44 = load float, ptr %14, align 4, !tbaa !9, !alias.scope !14
  %broadcast.splatinsert67 = insertelement <4 x float> poison, float %44, i64 0
  %broadcast.splat68 = shufflevector <4 x float> %broadcast.splatinsert67, <4 x float> poison, <4 x i32> zeroinitializer
  %45 = load float, ptr %15, align 4, !tbaa !9, !alias.scope !14
  %broadcast.splatinsert70 = insertelement <4 x float> poison, float %45, i64 0
  %broadcast.splat71 = shufflevector <4 x float> %broadcast.splatinsert70, <4 x float> poison, <4 x i32> zeroinitializer
  %46 = load float, ptr %17, align 4, !tbaa !9, !alias.scope !16
  %broadcast.splatinsert73 = insertelement <4 x float> poison, float %46, i64 0
  %broadcast.splat74 = shufflevector <4 x float> %broadcast.splatinsert73, <4 x float> poison, <4 x i32> zeroinitializer
  %47 = load float, ptr %20, align 4, !tbaa !9, !alias.scope !16
  %broadcast.splatinsert76 = insertelement <4 x float> poison, float %47, i64 0
  %broadcast.splat77 = shufflevector <4 x float> %broadcast.splatinsert76, <4 x float> poison, <4 x i32> zeroinitializer
  %48 = load float, ptr %21, align 4, !tbaa !9, !alias.scope !16
  %broadcast.splatinsert79 = insertelement <4 x float> poison, float %48, i64 0
  %broadcast.splat80 = shufflevector <4 x float> %broadcast.splatinsert79, <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 ]
  %49 = getelementptr inbounds float, ptr %6, i64 %index
  %wide.load = load <4 x float>, ptr %49, align 4, !tbaa !9, !alias.scope !18
  %50 = or disjoint i64 %index, 1
  %51 = getelementptr inbounds float, ptr %6, i64 %50
  %wide.load57 = load <4 x float>, ptr %51, align 4, !tbaa !9, !alias.scope !18
  %52 = fmul <4 x float> %broadcast.splat, %wide.load57
  %53 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %broadcast.splat59, <4 x float> %wide.load, <4 x float> %52)
  %54 = or disjoint i64 %index, 2
  %55 = getelementptr inbounds float, ptr %6, i64 %54
  %wide.load60 = load <4 x float>, ptr %55, align 4, !tbaa !9, !alias.scope !18
  %56 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %broadcast.splat62, <4 x float> %wide.load60, <4 x float> %53)
  %57 = getelementptr inbounds float, ptr %12, i64 %index
  %wide.load63 = load <4 x float>, ptr %57, align 4, !tbaa !9, !alias.scope !20
  %58 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %broadcast.splat65, <4 x float> %wide.load63, <4 x float> %56)
  %59 = getelementptr inbounds float, ptr %12, i64 %50
  %wide.load66 = load <4 x float>, ptr %59, align 4, !tbaa !9, !alias.scope !20
  %60 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %broadcast.splat68, <4 x float> %wide.load66, <4 x float> %58)
  %61 = getelementptr inbounds float, ptr %12, i64 %54
  %wide.load69 = load <4 x float>, ptr %61, align 4, !tbaa !9, !alias.scope !20
  %62 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %broadcast.splat71, <4 x float> %wide.load69, <4 x float> %60)
  %63 = getelementptr inbounds float, ptr %19, i64 %index
  %wide.load72 = load <4 x float>, ptr %63, align 4, !tbaa !9, !alias.scope !22
  %64 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %broadcast.splat74, <4 x float> %wide.load72, <4 x float> %62)
  %65 = getelementptr inbounds float, ptr %19, i64 %50
  %wide.load75 = load <4 x float>, ptr %65, align 4, !tbaa !9, !alias.scope !22
  %66 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %broadcast.splat77, <4 x float> %wide.load75, <4 x float> %64)
  %67 = getelementptr inbounds float, ptr %19, i64 %54
  %wide.load78 = load <4 x float>, ptr %67, align 4, !tbaa !9, !alias.scope !22
  %68 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %broadcast.splat80, <4 x float> %wide.load78, <4 x float> %66)
  %69 = getelementptr inbounds float, ptr %4, i64 %index
  store <4 x float> %68, ptr %69, align 4, !tbaa !9, !alias.scope !24, !noalias !26
  %index.next = add nuw i64 %index, 4
  %70 = icmp eq i64 %index.next, %n.vec
  br i1 %70, label %middle.block, label %vector.body, !llvm.loop !27

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %3
  br i1 %cmp.n, label %._crit_edge, label %scalar.ph.preheader

scalar.ph.preheader:                              ; preds = %middle.block, %vector.memcheck, %.lr.ph
  %.031.ph = phi i64 [ 0, %vector.memcheck ], [ 0, %.lr.ph ], [ %n.vec, %middle.block ]
  br label %scalar.ph

scalar.ph:                                        ; preds = %scalar.ph.preheader, %scalar.ph
  %.031 = phi i64 [ %75, %scalar.ph ], [ %.031.ph, %scalar.ph.preheader ]
  %71 = load float, ptr %8, align 4, !tbaa !9
  %72 = getelementptr inbounds float, ptr %6, i64 %.031
  %73 = load float, ptr %72, align 4, !tbaa !9
  %74 = load float, ptr %9, align 4, !tbaa !9
  %75 = add nuw i64 %.031, 1
  %76 = getelementptr inbounds float, ptr %6, i64 %75
  %77 = load float, ptr %76, align 4, !tbaa !9
  %78 = fmul float %74, %77
  %79 = tail call float @llvm.fmuladd.f32(float %71, float %73, float %78)
  %80 = load float, ptr %10, align 4, !tbaa !9
  %81 = add i64 %.031, 2
  %82 = getelementptr inbounds float, ptr %6, i64 %81
  %83 = load float, ptr %82, align 4, !tbaa !9
  %84 = tail call float @llvm.fmuladd.f32(float %80, float %83, float %79)
  %85 = load float, ptr %13, align 4, !tbaa !9
  %86 = getelementptr inbounds float, ptr %12, i64 %.031
  %87 = load float, ptr %86, align 4, !tbaa !9
  %88 = tail call float @llvm.fmuladd.f32(float %85, float %87, float %84)
  %89 = load float, ptr %14, align 4, !tbaa !9
  %90 = getelementptr inbounds float, ptr %12, i64 %75
  %91 = load float, ptr %90, align 4, !tbaa !9
  %92 = tail call float @llvm.fmuladd.f32(float %89, float %91, float %88)
  %93 = load float, ptr %15, align 4, !tbaa !9
  %94 = getelementptr inbounds float, ptr %12, i64 %81
  %95 = load float, ptr %94, align 4, !tbaa !9
  %96 = tail call float @llvm.fmuladd.f32(float %93, float %95, float %92)
  %97 = load float, ptr %17, align 4, !tbaa !9
  %98 = getelementptr inbounds float, ptr %19, i64 %.031
  %99 = load float, ptr %98, align 4, !tbaa !9
  %100 = tail call float @llvm.fmuladd.f32(float %97, float %99, float %96)
  %101 = load float, ptr %20, align 4, !tbaa !9
  %102 = getelementptr inbounds float, ptr %19, i64 %75
  %103 = load float, ptr %102, align 4, !tbaa !9
  %104 = tail call float @llvm.fmuladd.f32(float %101, float %103, float %100)
  %105 = load float, ptr %21, align 4, !tbaa !9
  %106 = getelementptr inbounds float, ptr %19, i64 %81
  %107 = load float, ptr %106, align 4, !tbaa !9
  %108 = tail call float @llvm.fmuladd.f32(float %105, float %107, float %104)
  %109 = getelementptr inbounds float, ptr %4, i64 %.031
  store float %108, ptr %109, align 4, !tbaa !9
  %exitcond.not = icmp eq i64 %75, %3
  br i1 %exitcond.not, label %._crit_edge, label %scalar.ph, !llvm.loop !31

._crit_edge:                                      ; preds = %scalar.ph, %middle.block, %5
  ret void
}

; 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 nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #1 = { nofree norecurse nosync nounwind memory(read, argmem: 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 #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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{!12}
!12 = distinct !{!12, !13}
!13 = distinct !{!13, !"LVerDomain"}
!14 = !{!15}
!15 = distinct !{!15, !13}
!16 = !{!17}
!17 = distinct !{!17, !13}
!18 = !{!19}
!19 = distinct !{!19, !13}
!20 = !{!21}
!21 = distinct !{!21, !13}
!22 = !{!23}
!23 = distinct !{!23, !13}
!24 = !{!25}
!25 = distinct !{!25, !13}
!26 = !{!12, !19, !15, !21, !17, !23}
!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}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GlobalDCEPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass