; LLVM IR from jgaeddert/liquid-dsp :: sandbox (quasinewton_test)

; 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 willreturn
declare ptr @llvm.stacksave.p0() #1

; Function Attrs: nounwind uwtable
declare dso_local void @estimate_gradient(ptr noundef, i32 noundef, ptr noundef, ptr noundef) #2

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

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

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #1

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

37:                                               ; preds = %57, %5
  %38 = load i32, ptr %16, align 4, !tbaa !9
  %39 = load i32, ptr %8, align 4, !tbaa !9
  %40 = icmp ult i32 %38, %39
  br i1 %40, label %41, label %60

41:                                               ; preds = %37
  %42 = load ptr, ptr %6, align 8, !tbaa !5
  %43 = load i32, ptr %16, align 4, !tbaa !9
  %44 = zext i32 %43 to i64
  %45 = getelementptr inbounds float, ptr %42, i64 %44
  %46 = load float, ptr %45, align 4, !tbaa !11
  %47 = load float, ptr %9, align 4, !tbaa !11
  %48 = load ptr, ptr %7, align 8, !tbaa !5
  %49 = load i32, ptr %16, align 4, !tbaa !9
  %50 = zext i32 %49 to i64
  %51 = getelementptr inbounds float, ptr %48, i64 %50
  %52 = load float, ptr %51, align 4, !tbaa !11
  %53 = call float @llvm.fmuladd.f32(float %47, float %52, float %46)
  %54 = load i32, ptr %16, align 4, !tbaa !9
  %55 = zext i32 %54 to i64
  %56 = getelementptr inbounds float, ptr %29, i64 %55
  store float %53, ptr %56, align 4, !tbaa !11
  br label %57

57:                                               ; preds = %41
  %58 = load i32, ptr %16, align 4, !tbaa !9
  %59 = add i32 %58, 1
  store i32 %59, ptr %16, align 4, !tbaa !9
  br label %37, !llvm.loop !13

60:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  %61 = load ptr, ptr %10, align 8, !tbaa !5
  %62 = load i32, ptr %8, align 4, !tbaa !9
  %63 = call float %61(ptr noundef %29, i32 noundef %62)
  store float %63, ptr %17, align 4, !tbaa !11
  %64 = load i32, ptr %8, align 4, !tbaa !9
  %65 = load ptr, ptr %10, align 8, !tbaa !5
  call void @estimate_gradient(ptr noundef %29, i32 noundef %64, ptr noundef %65, ptr noundef %26)
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #4
  store float 0.000000e+00, ptr %18, align 4, !tbaa !11
  store i32 0, ptr %16, align 4, !tbaa !9
  br label %66

66:                                               ; preds = %82, %60
  %67 = load i32, ptr %16, align 4, !tbaa !9
  %68 = load i32, ptr %8, align 4, !tbaa !9
  %69 = icmp ult i32 %67, %68
  br i1 %69, label %70, label %85

70:                                               ; preds = %66
  %71 = load ptr, ptr %7, align 8, !tbaa !5
  %72 = load i32, ptr %16, align 4, !tbaa !9
  %73 = zext i32 %72 to i64
  %74 = getelementptr inbounds float, ptr %71, i64 %73
  %75 = load float, ptr %74, align 4, !tbaa !11
  %76 = load i32, ptr %16, align 4, !tbaa !9
  %77 = zext i32 %76 to i64
  %78 = getelementptr inbounds float, ptr %23, i64 %77
  %79 = load float, ptr %78, align 4, !tbaa !11
  %80 = load float, ptr %18, align 4, !tbaa !11
  %81 = call float @llvm.fmuladd.f32(float %75, float %79, float %80)
  store float %81, ptr %18, align 4, !tbaa !11
  br label %82

82:                                               ; preds = %70
  %83 = load i32, ptr %16, align 4, !tbaa !9
  %84 = add i32 %83, 1
  store i32 %84, ptr %16, align 4, !tbaa !9
  br label %66, !llvm.loop !15

85:                                               ; preds = %66
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #4
  store float 0.000000e+00, ptr %19, align 4, !tbaa !11
  store i32 0, ptr %16, align 4, !tbaa !9
  br label %86

86:                                               ; preds = %102, %85
  %87 = load i32, ptr %16, align 4, !tbaa !9
  %88 = load i32, ptr %8, align 4, !tbaa !9
  %89 = icmp ult i32 %87, %88
  br i1 %89, label %90, label %105

90:                                               ; preds = %86
  %91 = load ptr, ptr %7, align 8, !tbaa !5
  %92 = load i32, ptr %16, align 4, !tbaa !9
  %93 = zext i32 %92 to i64
  %94 = getelementptr inbounds float, ptr %91, i64 %93
  %95 = load float, ptr %94, align 4, !tbaa !11
  %96 = load i32, ptr %16, align 4, !tbaa !9
  %97 = zext i32 %96 to i64
  %98 = getelementptr inbounds float, ptr %26, i64 %97
  %99 = load float, ptr %98, align 4, !tbaa !11
  %100 = load float, ptr %19, align 4, !tbaa !11
  %101 = call float @llvm.fmuladd.f32(float %95, float %99, float %100)
  store float %101, ptr %19, align 4, !tbaa !11
  br label %102

102:                                              ; preds = %90
  %103 = load i32, ptr %16, align 4, !tbaa !9
  %104 = add i32 %103, 1
  store i32 %104, ptr %16, align 4, !tbaa !9
  br label %86, !llvm.loop !16

105:                                              ; preds = %86
  %106 = load float, ptr %9, align 4, !tbaa !11
  %107 = load float, ptr %15, align 4, !tbaa !11
  %108 = load float, ptr %17, align 4, !tbaa !11
  %109 = load float, ptr %18, align 4, !tbaa !11
  %110 = load float, ptr %19, align 4, !tbaa !11
  %111 = call i32 @check_wolfe_conditions(float noundef %106, float noundef %107, float noundef %108, float noundef %109, float noundef %110)
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  %112 = load ptr, ptr %11, align 8
  call void @llvm.stackrestore.p0(ptr %112)
  ret i32 %111
}

; Function Attrs: nounwind uwtable
declare dso_local i32 @check_wolfe_conditions(float noundef, float noundef, float noundef, float noundef, float noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind willreturn }
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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !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: nounwind uwtable
declare dso_local void @estimate_gradient(ptr noundef, i32 noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

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

; Function Attrs: nounwind uwtable
define dso_local i32 @check_wolfe_conditions2(ptr noundef %0, ptr nocapture noundef readonly %1, i32 noundef %2, float noundef %3, ptr noundef %4) local_unnamed_addr #0 {
  %6 = zext i32 %2 to i64
  %7 = alloca float, i64 %6, align 16
  %8 = alloca float, i64 %6, align 16
  %9 = alloca float, i64 %6, align 16
  %10 = tail call float %4(ptr noundef %0, i32 noundef %2) #3
  call void @estimate_gradient(ptr noundef %0, i32 noundef %2, ptr noundef %4, ptr noundef nonnull %7)
  %.not = icmp eq i32 %2, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %5
  %min.iters.check = icmp ult i32 %2, 8
  br i1 %min.iters.check, label %.lr.ph.preheader76, label %vector.ph

vector.ph:                                        ; preds = %.lr.ph.preheader
  %n.vec = and i64 %6, 4294967288
  %broadcast.splatinsert = insertelement <4 x float> poison, float %3, 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 ]
  %11 = getelementptr inbounds float, ptr %0, i64 %index
  %12 = getelementptr inbounds i8, ptr %11, i64 16
  %wide.load = load <4 x float>, ptr %11, align 4, !tbaa !5
  %wide.load72 = load <4 x float>, ptr %12, align 4, !tbaa !5
  %13 = getelementptr inbounds float, ptr %1, i64 %index
  %14 = getelementptr inbounds i8, ptr %13, i64 16
  %wide.load73 = load <4 x float>, ptr %13, align 4, !tbaa !5
  %wide.load74 = load <4 x float>, ptr %14, align 4, !tbaa !5
  %15 = call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %broadcast.splat, <4 x float> %wide.load73, <4 x float> %wide.load)
  %16 = call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %broadcast.splat, <4 x float> %wide.load74, <4 x float> %wide.load72)
  %17 = getelementptr inbounds float, ptr %9, i64 %index
  %18 = getelementptr inbounds i8, ptr %17, i64 16
  store <4 x float> %15, ptr %17, align 16, !tbaa !5
  store <4 x float> %16, ptr %18, align 16, !tbaa !5
  %index.next = add nuw i64 %index, 8
  %19 = icmp eq i64 %index.next, %n.vec
  br i1 %19, label %middle.block, label %vector.body, !llvm.loop !9

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %6
  br i1 %cmp.n, label %._crit_edge, label %.lr.ph.preheader76

.lr.ph.preheader76:                               ; preds = %middle.block, %.lr.ph.preheader
  %indvars.iv.ph = phi i64 [ 0, %.lr.ph.preheader ], [ %n.vec, %middle.block ]
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader76, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ %indvars.iv.ph, %.lr.ph.preheader76 ]
  %20 = getelementptr inbounds float, ptr %0, i64 %indvars.iv
  %21 = load float, ptr %20, align 4, !tbaa !5
  %22 = getelementptr inbounds float, ptr %1, i64 %indvars.iv
  %23 = load float, ptr %22, align 4, !tbaa !5
  %24 = call float @llvm.fmuladd.f32(float %3, float %23, float %21)
  %25 = getelementptr inbounds float, ptr %9, i64 %indvars.iv
  store float %24, ptr %25, align 4, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %6
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !13

._crit_edge:                                      ; preds = %.lr.ph, %middle.block, %5
  %26 = call float %4(ptr noundef nonnull %9, i32 noundef %2) #3
  call void @estimate_gradient(ptr noundef nonnull %9, i32 noundef %2, ptr noundef %4, ptr noundef nonnull %8)
  br i1 %.not, label %._crit_edge52, label %.lr.ph48.preheader

.lr.ph48.preheader:                               ; preds = %._crit_edge
  %xtraiter = and i64 %6, 3
  %27 = icmp ult i32 %2, 4
  br i1 %27, label %.preheader.unr-lcssa, label %.lr.ph48.preheader.new

.lr.ph48.preheader.new:                           ; preds = %.lr.ph48.preheader
  %unroll_iter = and i64 %6, 4294967292
  br label %.lr.ph48

.preheader.unr-lcssa:                             ; preds = %.lr.ph48, %.lr.ph48.preheader
  %.lcssa75.ph = phi float [ poison, %.lr.ph48.preheader ], [ %53, %.lr.ph48 ]
  %indvars.iv58.unr = phi i64 [ 0, %.lr.ph48.preheader ], [ %indvars.iv.next59.3, %.lr.ph48 ]
  %.04146.unr = phi float [ 0.000000e+00, %.lr.ph48.preheader ], [ %53, %.lr.ph48 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.preheader, label %.lr.ph48.epil

.lr.ph48.epil:                                    ; preds = %.preheader.unr-lcssa, %.lr.ph48.epil
  %indvars.iv58.epil = phi i64 [ %indvars.iv.next59.epil, %.lr.ph48.epil ], [ %indvars.iv58.unr, %.preheader.unr-lcssa ]
  %.04146.epil = phi float [ %32, %.lr.ph48.epil ], [ %.04146.unr, %.preheader.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.lr.ph48.epil ], [ 0, %.preheader.unr-lcssa ]
  %28 = getelementptr inbounds float, ptr %1, i64 %indvars.iv58.epil
  %29 = load float, ptr %28, align 4, !tbaa !5
  %30 = getelementptr inbounds float, ptr %7, i64 %indvars.iv58.epil
  %31 = load float, ptr %30, align 4, !tbaa !5
  %32 = call float @llvm.fmuladd.f32(float %29, float %31, float %.04146.epil)
  %indvars.iv.next59.epil = add nuw nsw i64 %indvars.iv58.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %.preheader, label %.lr.ph48.epil, !llvm.loop !14

.preheader:                                       ; preds = %.lr.ph48.epil, %.preheader.unr-lcssa
  %.lcssa75 = phi float [ %.lcssa75.ph, %.preheader.unr-lcssa ], [ %32, %.lr.ph48.epil ]
  br i1 %.not, label %._crit_edge52, label %.lr.ph51.preheader

.lr.ph51.preheader:                               ; preds = %.preheader
  %xtraiter78 = and i64 %6, 3
  %33 = icmp ult i32 %2, 4
  br i1 %33, label %._crit_edge52.loopexit.unr-lcssa, label %.lr.ph51.preheader.new

.lr.ph51.preheader.new:                           ; preds = %.lr.ph51.preheader
  %unroll_iter82 = and i64 %6, 4294967292
  br label %.lr.ph51

.lr.ph48:                                         ; preds = %.lr.ph48, %.lr.ph48.preheader.new
  %indvars.iv58 = phi i64 [ 0, %.lr.ph48.preheader.new ], [ %indvars.iv.next59.3, %.lr.ph48 ]
  %.04146 = phi float [ 0.000000e+00, %.lr.ph48.preheader.new ], [ %53, %.lr.ph48 ]
  %niter = phi i64 [ 0, %.lr.ph48.preheader.new ], [ %niter.next.3, %.lr.ph48 ]
  %34 = getelementptr inbounds float, ptr %1, i64 %indvars.iv58
  %35 = load float, ptr %34, align 4, !tbaa !5
  %36 = getelementptr inbounds float, ptr %7, i64 %indvars.iv58
  %37 = load float, ptr %36, align 16, !tbaa !5
  %38 = call float @llvm.fmuladd.f32(float %35, float %37, float %.04146)
  %indvars.iv.next59 = or disjoint i64 %indvars.iv58, 1
  %39 = getelementptr inbounds float, ptr %1, i64 %indvars.iv.next59
  %40 = load float, ptr %39, align 4, !tbaa !5
  %41 = getelementptr inbounds float, ptr %7, i64 %indvars.iv.next59
  %42 = load float, ptr %41, align 4, !tbaa !5
  %43 = call float @llvm.fmuladd.f32(float %40, float %42, float %38)
  %indvars.iv.next59.1 = or disjoint i64 %indvars.iv58, 2
  %44 = getelementptr inbounds float, ptr %1, i64 %indvars.iv.next59.1
  %45 = load float, ptr %44, align 4, !tbaa !5
  %46 = getelementptr inbounds float, ptr %7, i64 %indvars.iv.next59.1
  %47 = load float, ptr %46, align 8, !tbaa !5
  %48 = call float @llvm.fmuladd.f32(float %45, float %47, float %43)
  %indvars.iv.next59.2 = or disjoint i64 %indvars.iv58, 3
  %49 = getelementptr inbounds float, ptr %1, i64 %indvars.iv.next59.2
  %50 = load float, ptr %49, align 4, !tbaa !5
  %51 = getelementptr inbounds float, ptr %7, i64 %indvars.iv.next59.2
  %52 = load float, ptr %51, align 4, !tbaa !5
  %53 = call float @llvm.fmuladd.f32(float %50, float %52, float %48)
  %indvars.iv.next59.3 = add nuw nsw i64 %indvars.iv58, 4
  %niter.next.3 = add i64 %niter, 4
  %niter.ncmp.3 = icmp eq i64 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %.preheader.unr-lcssa, label %.lr.ph48, !llvm.loop !16

.lr.ph51:                                         ; preds = %.lr.ph51, %.lr.ph51.preheader.new
  %indvars.iv63 = phi i64 [ 0, %.lr.ph51.preheader.new ], [ %indvars.iv.next64.3, %.lr.ph51 ]
  %.050 = phi float [ 0.000000e+00, %.lr.ph51.preheader.new ], [ %73, %.lr.ph51 ]
  %niter83 = phi i64 [ 0, %.lr.ph51.preheader.new ], [ %niter83.next.3, %.lr.ph51 ]
  %54 = getelementptr inbounds float, ptr %1, i64 %indvars.iv63
  %55 = load float, ptr %54, align 4, !tbaa !5
  %56 = getelementptr inbounds float, ptr %8, i64 %indvars.iv63
  %57 = load float, ptr %56, align 16, !tbaa !5
  %58 = call float @llvm.fmuladd.f32(float %55, float %57, float %.050)
  %indvars.iv.next64 = or disjoint i64 %indvars.iv63, 1
  %59 = getelementptr inbounds float, ptr %1, i64 %indvars.iv.next64
  %60 = load float, ptr %59, align 4, !tbaa !5
  %61 = getelementptr inbounds float, ptr %8, i64 %indvars.iv.next64
  %62 = load float, ptr %61, align 4, !tbaa !5
  %63 = call float @llvm.fmuladd.f32(float %60, float %62, float %58)
  %indvars.iv.next64.1 = or disjoint i64 %indvars.iv63, 2
  %64 = getelementptr inbounds float, ptr %1, i64 %indvars.iv.next64.1
  %65 = load float, ptr %64, align 4, !tbaa !5
  %66 = getelementptr inbounds float, ptr %8, i64 %indvars.iv.next64.1
  %67 = load float, ptr %66, align 8, !tbaa !5
  %68 = call float @llvm.fmuladd.f32(float %65, float %67, float %63)
  %indvars.iv.next64.2 = or disjoint i64 %indvars.iv63, 3
  %69 = getelementptr inbounds float, ptr %1, i64 %indvars.iv.next64.2
  %70 = load float, ptr %69, align 4, !tbaa !5
  %71 = getelementptr inbounds float, ptr %8, i64 %indvars.iv.next64.2
  %72 = load float, ptr %71, align 4, !tbaa !5
  %73 = call float @llvm.fmuladd.f32(float %70, float %72, float %68)
  %indvars.iv.next64.3 = add nuw nsw i64 %indvars.iv63, 4
  %niter83.next.3 = add i64 %niter83, 4
  %niter83.ncmp.3 = icmp eq i64 %niter83.next.3, %unroll_iter82
  br i1 %niter83.ncmp.3, label %._crit_edge52.loopexit.unr-lcssa, label %.lr.ph51, !llvm.loop !17

._crit_edge52.loopexit.unr-lcssa:                 ; preds = %.lr.ph51, %.lr.ph51.preheader
  %.lcssa.ph = phi float [ poison, %.lr.ph51.preheader ], [ %73, %.lr.ph51 ]
  %indvars.iv63.unr = phi i64 [ 0, %.lr.ph51.preheader ], [ %indvars.iv.next64.3, %.lr.ph51 ]
  %.050.unr = phi float [ 0.000000e+00, %.lr.ph51.preheader ], [ %73, %.lr.ph51 ]
  %lcmp.mod80.not = icmp eq i64 %xtraiter78, 0
  br i1 %lcmp.mod80.not, label %._crit_edge52, label %.lr.ph51.epil

.lr.ph51.epil:                                    ; preds = %._crit_edge52.loopexit.unr-lcssa, %.lr.ph51.epil
  %indvars.iv63.epil = phi i64 [ %indvars.iv.next64.epil, %.lr.ph51.epil ], [ %indvars.iv63.unr, %._crit_edge52.loopexit.unr-lcssa ]
  %.050.epil = phi float [ %78, %.lr.ph51.epil ], [ %.050.unr, %._crit_edge52.loopexit.unr-lcssa ]
  %epil.iter79 = phi i64 [ %epil.iter79.next, %.lr.ph51.epil ], [ 0, %._crit_edge52.loopexit.unr-lcssa ]
  %74 = getelementptr inbounds float, ptr %1, i64 %indvars.iv63.epil
  %75 = load float, ptr %74, align 4, !tbaa !5
  %76 = getelementptr inbounds float, ptr %8, i64 %indvars.iv63.epil
  %77 = load float, ptr %76, align 4, !tbaa !5
  %78 = call float @llvm.fmuladd.f32(float %75, float %77, float %.050.epil)
  %indvars.iv.next64.epil = add nuw nsw i64 %indvars.iv63.epil, 1
  %epil.iter79.next = add i64 %epil.iter79, 1
  %epil.iter79.cmp.not = icmp eq i64 %epil.iter79.next, %xtraiter78
  br i1 %epil.iter79.cmp.not, label %._crit_edge52, label %.lr.ph51.epil, !llvm.loop !18

._crit_edge52:                                    ; preds = %._crit_edge52.loopexit.unr-lcssa, %.lr.ph51.epil, %._crit_edge, %.preheader
  %.041.lcssa69 = phi float [ %.lcssa75, %.preheader ], [ 0.000000e+00, %._crit_edge ], [ %.lcssa75, %.lr.ph51.epil ], [ %.lcssa75, %._crit_edge52.loopexit.unr-lcssa ]
  %.0.lcssa = phi float [ 0.000000e+00, %.preheader ], [ 0.000000e+00, %._crit_edge ], [ %.lcssa.ph, %._crit_edge52.loopexit.unr-lcssa ], [ %78, %.lr.ph51.epil ]
  %79 = call i32 @check_wolfe_conditions(float noundef %3, float noundef %10, float noundef %26, float noundef %.041.lcssa69, float noundef %.0.lcssa)
  ret i32 %79
}

; Function Attrs: nounwind uwtable
declare dso_local i32 @check_wolfe_conditions(float noundef, float noundef, float noundef, float noundef, float noundef) local_unnamed_addr #0

; 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 = { 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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/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 = distinct !{!14, !15}
!15 = !{!"llvm.loop.unroll.disable"}
!16 = distinct !{!16, !10}
!17 = distinct !{!17, !10}
!18 = distinct !{!18, !15}


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