; LLVM IR from softmin/ReHLine-SVM :: liblinear/linear.ll (ZN14l2r_l2_svc_fun2HvEPdS0_)

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

%class.l2r_erm_fun = type <{ %class.function, ptr, ptr, ptr, ptr, double, i32, [4 x i8] }>
%class.function = type { ptr }
%struct.problem = type { i32, i32, ptr, ptr, double }
%class.l2r_l2_svc_fun = type <{ %class.l2r_erm_fun.base, [4 x i8], ptr, i32, [4 x i8] }>
%class.l2r_erm_fun.base = type <{ %class.function, ptr, ptr, ptr, ptr, double, i32 }>

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

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZN15sparse_operator3dotEPKdPK12feature_node(ptr noundef, ptr noundef) #2 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN15sparse_operator4axpyEdPK12feature_nodePd(double noundef, ptr noundef, ptr noundef) #2 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN14l2r_l2_svc_fun2HvEPdS0_(ptr noundef nonnull align 8 dereferenceable(68) %0, ptr noundef %1, ptr noundef %2) unnamed_addr #3 align 2 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca double, align 8
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  %12 = load ptr, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  %13 = load ptr, ptr %12, align 8, !tbaa !9
  %14 = getelementptr inbounds ptr, ptr %13, i64 3
  %15 = load ptr, ptr %14, align 8
  %16 = call noundef i32 %15(ptr noundef nonnull align 8 dereferenceable(52) %12)
  store i32 %16, ptr %8, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %17 = getelementptr inbounds %class.l2r_erm_fun, ptr %12, i32 0, i32 2
  %18 = load ptr, ptr %17, align 8, !tbaa !13
  %19 = getelementptr inbounds %struct.problem, ptr %18, i32 0, i32 3
  %20 = load ptr, ptr %19, align 8, !tbaa !17
  store ptr %20, ptr %9, align 8, !tbaa !5
  store i32 0, ptr %7, align 4, !tbaa !11
  br label %21

21:                                               ; preds = %30, %3
  %22 = load i32, ptr %7, align 4, !tbaa !11
  %23 = load i32, ptr %8, align 4, !tbaa !11
  %24 = icmp slt i32 %22, %23
  br i1 %24, label %25, label %33

25:                                               ; preds = %21
  %26 = load ptr, ptr %6, align 8, !tbaa !5
  %27 = load i32, ptr %7, align 4, !tbaa !11
  %28 = sext i32 %27 to i64
  %29 = getelementptr inbounds double, ptr %26, i64 %28
  store double 0.000000e+00, ptr %29, align 8, !tbaa !19
  br label %30

30:                                               ; preds = %25
  %31 = load i32, ptr %7, align 4, !tbaa !11
  %32 = add nsw i32 %31, 1
  store i32 %32, ptr %7, align 4, !tbaa !11
  br label %21, !llvm.loop !20

33:                                               ; preds = %21
  store i32 0, ptr %7, align 4, !tbaa !11
  br label %34

34:                                               ; preds = %69, %33
  %35 = load i32, ptr %7, align 4, !tbaa !11
  %36 = getelementptr inbounds %class.l2r_l2_svc_fun, ptr %12, i32 0, i32 3
  %37 = load i32, ptr %36, align 8, !tbaa !22
  %38 = icmp slt i32 %35, %37
  br i1 %38, label %39, label %72

39:                                               ; preds = %34
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #4
  %40 = load ptr, ptr %9, align 8, !tbaa !5
  %41 = getelementptr inbounds %class.l2r_l2_svc_fun, ptr %12, i32 0, i32 2
  %42 = load ptr, ptr %41, align 8, !tbaa !24
  %43 = load i32, ptr %7, align 4, !tbaa !11
  %44 = sext i32 %43 to i64
  %45 = getelementptr inbounds i32, ptr %42, i64 %44
  %46 = load i32, ptr %45, align 4, !tbaa !11
  %47 = sext i32 %46 to i64
  %48 = getelementptr inbounds ptr, ptr %40, i64 %47
  %49 = load ptr, ptr %48, align 8, !tbaa !5
  store ptr %49, ptr %10, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #4
  %50 = load ptr, ptr %5, align 8, !tbaa !5
  %51 = load ptr, ptr %10, align 8, !tbaa !5
  %52 = call noundef double @_ZN15sparse_operator3dotEPKdPK12feature_node(ptr noundef %50, ptr noundef %51)
  store double %52, ptr %11, align 8, !tbaa !19
  %53 = getelementptr inbounds %class.l2r_erm_fun, ptr %12, i32 0, i32 1
  %54 = load ptr, ptr %53, align 8, !tbaa !25
  %55 = getelementptr inbounds %class.l2r_l2_svc_fun, ptr %12, i32 0, i32 2
  %56 = load ptr, ptr %55, align 8, !tbaa !24
  %57 = load i32, ptr %7, align 4, !tbaa !11
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds i32, ptr %56, i64 %58
  %60 = load i32, ptr %59, align 4, !tbaa !11
  %61 = sext i32 %60 to i64
  %62 = getelementptr inbounds double, ptr %54, i64 %61
  %63 = load double, ptr %62, align 8, !tbaa !19
  %64 = load double, ptr %11, align 8, !tbaa !19
  %65 = fmul double %63, %64
  store double %65, ptr %11, align 8, !tbaa !19
  %66 = load double, ptr %11, align 8, !tbaa !19
  %67 = load ptr, ptr %10, align 8, !tbaa !5
  %68 = load ptr, ptr %6, align 8, !tbaa !5
  call void @_ZN15sparse_operator4axpyEdPK12feature_nodePd(double noundef %66, ptr noundef %67, ptr noundef %68)
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #4
  br label %69

69:                                               ; preds = %39
  %70 = load i32, ptr %7, align 4, !tbaa !11
  %71 = add nsw i32 %70, 1
  store i32 %71, ptr %7, align 4, !tbaa !11
  br label %34, !llvm.loop !26

72:                                               ; preds = %34
  store i32 0, ptr %7, align 4, !tbaa !11
  br label %73

73:                                               ; preds = %93, %72
  %74 = load i32, ptr %7, align 4, !tbaa !11
  %75 = load i32, ptr %8, align 4, !tbaa !11
  %76 = icmp slt i32 %74, %75
  br i1 %76, label %77, label %96

77:                                               ; preds = %73
  %78 = load ptr, ptr %5, align 8, !tbaa !5
  %79 = load i32, ptr %7, align 4, !tbaa !11
  %80 = sext i32 %79 to i64
  %81 = getelementptr inbounds double, ptr %78, i64 %80
  %82 = load double, ptr %81, align 8, !tbaa !19
  %83 = load ptr, ptr %6, align 8, !tbaa !5
  %84 = load i32, ptr %7, align 4, !tbaa !11
  %85 = sext i32 %84 to i64
  %86 = getelementptr inbounds double, ptr %83, i64 %85
  %87 = load double, ptr %86, align 8, !tbaa !19
  %88 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %87, double %82)
  %89 = load ptr, ptr %6, align 8, !tbaa !5
  %90 = load i32, ptr %7, align 4, !tbaa !11
  %91 = sext i32 %90 to i64
  %92 = getelementptr inbounds double, ptr %89, i64 %91
  store double %88, ptr %92, align 8, !tbaa !19
  br label %93

93:                                               ; preds = %77
  %94 = load i32, ptr %7, align 4, !tbaa !11
  %95 = add nsw i32 %94, 1
  store i32 %95, ptr %7, align 4, !tbaa !11
  br label %73, !llvm.loop !27

96:                                               ; preds = %73
  %97 = getelementptr inbounds %class.l2r_erm_fun, ptr %12, i32 0, i32 6
  %98 = load i32, ptr %97, align 8, !tbaa !28
  %99 = icmp eq i32 %98, 0
  br i1 %99, label %100, label %114

100:                                              ; preds = %96
  %101 = load ptr, ptr %5, align 8, !tbaa !5
  %102 = load i32, ptr %8, align 4, !tbaa !11
  %103 = sub nsw i32 %102, 1
  %104 = sext i32 %103 to i64
  %105 = getelementptr inbounds double, ptr %101, i64 %104
  %106 = load double, ptr %105, align 8, !tbaa !19
  %107 = load ptr, ptr %6, align 8, !tbaa !5
  %108 = load i32, ptr %8, align 4, !tbaa !11
  %109 = sub nsw i32 %108, 1
  %110 = sext i32 %109 to i64
  %111 = getelementptr inbounds double, ptr %107, i64 %110
  %112 = load double, ptr %111, align 8, !tbaa !19
  %113 = fsub double %112, %106
  store double %113, ptr %111, align 8, !tbaa !19
  br label %114

114:                                              ; preds = %100, %96
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { 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 #3 = { mustprogress 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 #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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"vtable pointer", !8, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}
!13 = !{!14, !6, i64 16}
!14 = !{!"_ZTS11l2r_erm_fun", !15, i64 0, !6, i64 8, !6, i64 16, !6, i64 24, !6, i64 32, !16, i64 40, !12, i64 48}
!15 = !{!"_ZTS8function"}
!16 = !{!"double", !7, i64 0}
!17 = !{!18, !6, i64 16}
!18 = !{!"_ZTS7problem", !12, i64 0, !12, i64 4, !6, i64 8, !6, i64 16, !16, i64 24}
!19 = !{!16, !16, i64 0}
!20 = distinct !{!20, !21}
!21 = !{!"llvm.loop.mustprogress"}
!22 = !{!23, !12, i64 64}
!23 = !{!"_ZTS14l2r_l2_svc_fun", !14, i64 0, !6, i64 56, !12, i64 64}
!24 = !{!23, !6, i64 56}
!25 = !{!14, !6, i64 8}
!26 = distinct !{!26, !21}
!27 = distinct !{!27, !21}
!28 = !{!14, !12, i64 48}


; 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 double @llvm.fmuladd.f64(double, double, double) #0

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef double @_ZN15sparse_operator3dotEPKdPK12feature_node(ptr noundef, ptr noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN15sparse_operator4axpyEdPK12feature_nodePd(double noundef, ptr noundef, ptr noundef) local_unnamed_addr #1 align 2

; Function Attrs: mustprogress uwtable
define dso_local void @_ZN14l2r_l2_svc_fun2HvEPdS0_(ptr noundef nonnull align 8 dereferenceable(68) %0, ptr noundef %1, ptr noundef %2) unnamed_addr #2 align 2 {
  %4 = load ptr, ptr %0, align 8, !tbaa !5
  %5 = getelementptr inbounds i8, ptr %4, i64 24
  %6 = load ptr, ptr %5, align 8
  %7 = tail call noundef i32 %6(ptr noundef nonnull align 8 dereferenceable(52) %0)
  %8 = getelementptr inbounds i8, ptr %0, i64 16
  %9 = load ptr, ptr %8, align 8, !tbaa !8
  %10 = getelementptr inbounds i8, ptr %9, i64 16
  %11 = load ptr, ptr %10, align 8, !tbaa !15
  %12 = icmp sgt i32 %7, 0
  br i1 %12, label %.lr.ph.preheader, label %.preheader30

.lr.ph.preheader:                                 ; preds = %3
  %13 = zext nneg i32 %7 to i64
  %14 = shl nuw nsw i64 %13, 3
  tail call void @llvm.memset.p0.i64(ptr align 8 %2, i8 0, i64 %14, i1 false), !tbaa !17
  br label %.preheader30

.preheader30:                                     ; preds = %.lr.ph.preheader, %3
  %15 = getelementptr inbounds i8, ptr %0, i64 64
  %16 = load i32, ptr %15, align 8, !tbaa !18
  %17 = icmp sgt i32 %16, 0
  br i1 %17, label %.lr.ph33, label %.preheader

.lr.ph33:                                         ; preds = %.preheader30
  %18 = getelementptr inbounds i8, ptr %0, i64 56
  %19 = getelementptr inbounds i8, ptr %0, i64 8
  br label %35

.preheader:                                       ; preds = %35, %.preheader30
  br i1 %12, label %.lr.ph35.preheader, label %._crit_edge

.lr.ph35.preheader:                               ; preds = %.preheader
  %wide.trip.count = zext nneg i32 %7 to i64
  %min.iters.check = icmp ult i32 %7, 6
  br i1 %min.iters.check, label %.lr.ph35.preheader45, label %vector.memcheck

.lr.ph35.preheader45:                             ; preds = %middle.block, %vector.memcheck, %.lr.ph35.preheader
  %indvars.iv38.ph = phi i64 [ 0, %vector.memcheck ], [ 0, %.lr.ph35.preheader ], [ %n.vec, %middle.block ]
  %xtraiter = and i64 %wide.trip.count, 1
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.lr.ph35.prol.loopexit, label %.lr.ph35.prol

.lr.ph35.prol:                                    ; preds = %.lr.ph35.preheader45
  %20 = getelementptr inbounds double, ptr %1, i64 %indvars.iv38.ph
  %21 = load double, ptr %20, align 8, !tbaa !17
  %22 = getelementptr inbounds double, ptr %2, i64 %indvars.iv38.ph
  %23 = load double, ptr %22, align 8, !tbaa !17
  %24 = tail call double @llvm.fmuladd.f64(double %23, double 2.000000e+00, double %21)
  store double %24, ptr %22, align 8, !tbaa !17
  %indvars.iv.next39.prol = or disjoint i64 %indvars.iv38.ph, 1
  br label %.lr.ph35.prol.loopexit

.lr.ph35.prol.loopexit:                           ; preds = %.lr.ph35.prol, %.lr.ph35.preheader45
  %indvars.iv38.unr = phi i64 [ %indvars.iv38.ph, %.lr.ph35.preheader45 ], [ %indvars.iv.next39.prol, %.lr.ph35.prol ]
  %25 = add nsw i64 %wide.trip.count, -1
  %26 = icmp eq i64 %indvars.iv38.ph, %25
  br i1 %26, label %._crit_edge, label %.lr.ph35

vector.memcheck:                                  ; preds = %.lr.ph35.preheader
  %27 = shl nuw nsw i64 %wide.trip.count, 3
  %scevgep = getelementptr i8, ptr %2, i64 %27
  %scevgep41 = getelementptr i8, ptr %1, i64 %27
  %bound0 = icmp ugt ptr %scevgep41, %2
  %bound1 = icmp ugt ptr %scevgep, %1
  %found.conflict = and i1 %bound0, %bound1
  br i1 %found.conflict, label %.lr.ph35.preheader45, label %vector.ph

vector.ph:                                        ; preds = %vector.memcheck
  %n.vec = and i64 %wide.trip.count, 2147483644
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %28 = getelementptr inbounds double, ptr %1, i64 %index
  %29 = getelementptr inbounds i8, ptr %28, i64 16
  %wide.load = load <2 x double>, ptr %28, align 8, !tbaa !17, !alias.scope !20
  %wide.load42 = load <2 x double>, ptr %29, align 8, !tbaa !17, !alias.scope !20
  %30 = getelementptr inbounds double, ptr %2, i64 %index
  %31 = getelementptr inbounds i8, ptr %30, i64 16
  %wide.load43 = load <2 x double>, ptr %30, align 8, !tbaa !17, !alias.scope !23, !noalias !20
  %wide.load44 = load <2 x double>, ptr %31, align 8, !tbaa !17, !alias.scope !23, !noalias !20
  %32 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %wide.load43, <2 x double> <double 2.000000e+00, double 2.000000e+00>, <2 x double> %wide.load)
  %33 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %wide.load44, <2 x double> <double 2.000000e+00, double 2.000000e+00>, <2 x double> %wide.load42)
  store <2 x double> %32, ptr %30, align 8, !tbaa !17, !alias.scope !23, !noalias !20
  store <2 x double> %33, ptr %31, align 8, !tbaa !17, !alias.scope !23, !noalias !20
  %index.next = add nuw i64 %index, 4
  %34 = icmp eq i64 %index.next, %n.vec
  br i1 %34, label %middle.block, label %vector.body, !llvm.loop !25

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count
  br i1 %cmp.n, label %._crit_edge, label %.lr.ph35.preheader45

35:                                               ; preds = %.lr.ph33, %35
  %indvars.iv = phi i64 [ 0, %.lr.ph33 ], [ %indvars.iv.next, %35 ]
  %36 = load ptr, ptr %18, align 8, !tbaa !29
  %37 = getelementptr inbounds i32, ptr %36, i64 %indvars.iv
  %38 = load i32, ptr %37, align 4, !tbaa !30
  %39 = sext i32 %38 to i64
  %40 = getelementptr inbounds ptr, ptr %11, i64 %39
  %41 = load ptr, ptr %40, align 8, !tbaa !31
  %42 = tail call noundef double @_ZN15sparse_operator3dotEPKdPK12feature_node(ptr noundef %1, ptr noundef %41)
  %43 = load ptr, ptr %19, align 8, !tbaa !32
  %44 = load ptr, ptr %18, align 8, !tbaa !29
  %45 = getelementptr inbounds i32, ptr %44, i64 %indvars.iv
  %46 = load i32, ptr %45, align 4, !tbaa !30
  %47 = sext i32 %46 to i64
  %48 = getelementptr inbounds double, ptr %43, i64 %47
  %49 = load double, ptr %48, align 8, !tbaa !17
  %50 = fmul double %42, %49
  tail call void @_ZN15sparse_operator4axpyEdPK12feature_nodePd(double noundef %50, ptr noundef %41, ptr noundef %2)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %51 = load i32, ptr %15, align 8, !tbaa !18
  %52 = sext i32 %51 to i64
  %53 = icmp slt i64 %indvars.iv.next, %52
  br i1 %53, label %35, label %.preheader, !llvm.loop !33

.lr.ph35:                                         ; preds = %.lr.ph35.prol.loopexit, %.lr.ph35
  %indvars.iv38 = phi i64 [ %indvars.iv.next39.1, %.lr.ph35 ], [ %indvars.iv38.unr, %.lr.ph35.prol.loopexit ]
  %54 = getelementptr inbounds double, ptr %1, i64 %indvars.iv38
  %55 = load double, ptr %54, align 8, !tbaa !17
  %56 = getelementptr inbounds double, ptr %2, i64 %indvars.iv38
  %57 = load double, ptr %56, align 8, !tbaa !17
  %58 = tail call double @llvm.fmuladd.f64(double %57, double 2.000000e+00, double %55)
  store double %58, ptr %56, align 8, !tbaa !17
  %indvars.iv.next39 = add nuw nsw i64 %indvars.iv38, 1
  %59 = getelementptr inbounds double, ptr %1, i64 %indvars.iv.next39
  %60 = load double, ptr %59, align 8, !tbaa !17
  %61 = getelementptr inbounds double, ptr %2, i64 %indvars.iv.next39
  %62 = load double, ptr %61, align 8, !tbaa !17
  %63 = tail call double @llvm.fmuladd.f64(double %62, double 2.000000e+00, double %60)
  store double %63, ptr %61, align 8, !tbaa !17
  %indvars.iv.next39.1 = add nuw nsw i64 %indvars.iv38, 2
  %exitcond.not.1 = icmp eq i64 %indvars.iv.next39.1, %wide.trip.count
  br i1 %exitcond.not.1, label %._crit_edge, label %.lr.ph35, !llvm.loop !34

._crit_edge:                                      ; preds = %.lr.ph35.prol.loopexit, %.lr.ph35, %middle.block, %.preheader
  %64 = getelementptr inbounds i8, ptr %0, i64 48
  %65 = load i32, ptr %64, align 8, !tbaa !35
  %66 = icmp eq i32 %65, 0
  br i1 %66, label %67, label %75

67:                                               ; preds = %._crit_edge
  %68 = add nsw i32 %7, -1
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds double, ptr %1, i64 %69
  %71 = load double, ptr %70, align 8, !tbaa !17
  %72 = getelementptr inbounds double, ptr %2, i64 %69
  %73 = load double, ptr %72, align 8, !tbaa !17
  %74 = fsub double %73, %71
  store double %74, ptr %72, align 8, !tbaa !17
  br label %75

75:                                               ; preds = %67, %._crit_edge
  ret void
}

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #3

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #1 = { 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 #2 = { mustprogress 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 nounwind willreturn memory(argmem: write) }
attributes #4 = { 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 = !{!"vtable pointer", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !11, i64 16}
!9 = !{!"_ZTS11l2r_erm_fun", !10, i64 0, !11, i64 8, !11, i64 16, !11, i64 24, !11, i64 32, !13, i64 40, !14, i64 48}
!10 = !{!"_ZTS8function"}
!11 = !{!"any pointer", !12, i64 0}
!12 = !{!"omnipotent char", !7, i64 0}
!13 = !{!"double", !12, i64 0}
!14 = !{!"int", !12, i64 0}
!15 = !{!16, !11, i64 16}
!16 = !{!"_ZTS7problem", !14, i64 0, !14, i64 4, !11, i64 8, !11, i64 16, !13, i64 24}
!17 = !{!13, !13, i64 0}
!18 = !{!19, !14, i64 64}
!19 = !{!"_ZTS14l2r_l2_svc_fun", !9, i64 0, !11, i64 56, !14, i64 64}
!20 = !{!21}
!21 = distinct !{!21, !22}
!22 = distinct !{!22, !"LVerDomain"}
!23 = !{!24}
!24 = distinct !{!24, !22}
!25 = distinct !{!25, !26, !27, !28}
!26 = !{!"llvm.loop.mustprogress"}
!27 = !{!"llvm.loop.isvectorized", i32 1}
!28 = !{!"llvm.loop.unroll.runtime.disable"}
!29 = !{!19, !11, i64 56}
!30 = !{!14, !14, i64 0}
!31 = !{!11, !11, i64 0}
!32 = !{!9, !11, i64 8}
!33 = distinct !{!33, !26}
!34 = distinct !{!34, !26, !27}
!35 = !{!9, !14, i64 48}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopIdiomRecognizePass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass