; LLVM IR from jingweizhanghuai/Morn :: src/math (morn_fit_LSM)

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

@.str = external hidden unnamed_addr constant [79 x i8], align 1
@__FUNCTION__.mLinearFitLSM = external hidden unnamed_addr constant [14 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [20 x i8], align 1

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

17:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  %18 = load i32, ptr %7, align 4, !tbaa !9
  %19 = icmp slt i32 %18, 2
  %20 = zext i1 %19 to i32
  store i32 %20, ptr %14, align 4, !tbaa !9
  %21 = load i32, ptr %14, align 4, !tbaa !9
  %22 = icmp ne i32 %21, 0
  br i1 %22, label %23, label %25

23:                                               ; preds = %17
  %24 = load i32, ptr %14, align 4, !tbaa !9
  call void (i32, i32, ptr, i32, ptr, ptr, ...) @m_Exception(i32 noundef %24, i32 noundef -1, ptr noundef @.str, i32 noundef 13, ptr noundef @__FUNCTION__.mLinearFitLSM, ptr noundef @.str.1)
  br label %25

25:                                               ; preds = %23, %17
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  br label %26

26:                                               ; preds = %25
  br label %27

27:                                               ; preds = %26
  br label %28

28:                                               ; preds = %27
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  %29 = load ptr, ptr %5, align 8, !tbaa !5
  %30 = icmp eq ptr %29, null
  br i1 %30, label %44, label %31

31:                                               ; preds = %28
  %32 = load ptr, ptr %5, align 8, !tbaa !5
  %33 = ptrtoint ptr %32 to i64
  %34 = icmp eq i64 %33, -1
  br i1 %34, label %44, label %35

35:                                               ; preds = %31
  %36 = load ptr, ptr %6, align 8, !tbaa !5
  %37 = icmp eq ptr %36, null
  br i1 %37, label %42, label %38

38:                                               ; preds = %35
  %39 = load ptr, ptr %6, align 8, !tbaa !5
  %40 = ptrtoint ptr %39 to i64
  %41 = icmp eq i64 %40, -1
  br label %42

42:                                               ; preds = %38, %35
  %43 = phi i1 [ true, %35 ], [ %41, %38 ]
  br label %44

44:                                               ; preds = %42, %31, %28
  %45 = phi i1 [ true, %31 ], [ true, %28 ], [ %43, %42 ]
  %46 = zext i1 %45 to i32
  store i32 %46, ptr %15, align 4, !tbaa !9
  %47 = load i32, ptr %15, align 4, !tbaa !9
  %48 = icmp ne i32 %47, 0
  br i1 %48, label %49, label %51

49:                                               ; preds = %44
  %50 = load i32, ptr %15, align 4, !tbaa !9
  call void (i32, i32, ptr, i32, ptr, ptr, ...) @m_Exception(i32 noundef %50, i32 noundef -1, ptr noundef @.str, i32 noundef 14, ptr noundef @__FUNCTION__.mLinearFitLSM, ptr noundef @.str.2)
  br label %51

51:                                               ; preds = %49, %44
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  br label %52

52:                                               ; preds = %51
  br label %53

53:                                               ; preds = %52
  br label %54

54:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  %55 = load ptr, ptr %8, align 8, !tbaa !5
  %56 = icmp eq ptr %55, null
  br i1 %56, label %61, label %57

57:                                               ; preds = %54
  %58 = load ptr, ptr %8, align 8, !tbaa !5
  %59 = ptrtoint ptr %58 to i64
  %60 = icmp eq i64 %59, -1
  br label %61

61:                                               ; preds = %57, %54
  %62 = phi i1 [ true, %54 ], [ %60, %57 ]
  %63 = zext i1 %62 to i32
  store i32 %63, ptr %16, align 4, !tbaa !9
  %64 = load i32, ptr %16, align 4, !tbaa !9
  %65 = icmp ne i32 %64, 0
  br i1 %65, label %66, label %68

66:                                               ; preds = %61
  %67 = load i32, ptr %16, align 4, !tbaa !9
  call void (i32, i32, ptr, i32, ptr, ptr, ...) @m_Exception(i32 noundef %67, i32 noundef -1, ptr noundef @.str, i32 noundef 15, ptr noundef @__FUNCTION__.mLinearFitLSM, ptr noundef @.str.3)
  br label %68

68:                                               ; preds = %66, %61
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  br label %69

69:                                               ; preds = %68
  br label %70

70:                                               ; preds = %69
  store float 0.000000e+00, ptr %10, align 4, !tbaa !11
  store float 0.000000e+00, ptr %11, align 4, !tbaa !11
  store float 0.000000e+00, ptr %12, align 4, !tbaa !11
  store float 0.000000e+00, ptr %13, align 4, !tbaa !11
  store i32 0, ptr %9, align 4, !tbaa !9
  br label %71

71:                                               ; preds = %114, %70
  %72 = load i32, ptr %9, align 4, !tbaa !9
  %73 = load i32, ptr %7, align 4, !tbaa !9
  %74 = icmp slt i32 %72, %73
  br i1 %74, label %75, label %117

75:                                               ; preds = %71
  %76 = load float, ptr %10, align 4, !tbaa !11
  %77 = load ptr, ptr %5, align 8, !tbaa !5
  %78 = load i32, ptr %9, align 4, !tbaa !9
  %79 = sext i32 %78 to i64
  %80 = getelementptr inbounds float, ptr %77, i64 %79
  %81 = load float, ptr %80, align 4, !tbaa !11
  %82 = fadd float %76, %81
  store float %82, ptr %10, align 4, !tbaa !11
  %83 = load float, ptr %11, align 4, !tbaa !11
  %84 = load ptr, ptr %6, align 8, !tbaa !5
  %85 = load i32, ptr %9, align 4, !tbaa !9
  %86 = sext i32 %85 to i64
  %87 = getelementptr inbounds float, ptr %84, i64 %86
  %88 = load float, ptr %87, align 4, !tbaa !11
  %89 = fadd float %83, %88
  store float %89, ptr %11, align 4, !tbaa !11
  %90 = load float, ptr %12, align 4, !tbaa !11
  %91 = load ptr, ptr %5, align 8, !tbaa !5
  %92 = load i32, ptr %9, align 4, !tbaa !9
  %93 = sext i32 %92 to i64
  %94 = getelementptr inbounds float, ptr %91, i64 %93
  %95 = load float, ptr %94, align 4, !tbaa !11
  %96 = load ptr, ptr %6, align 8, !tbaa !5
  %97 = load i32, ptr %9, align 4, !tbaa !9
  %98 = sext i32 %97 to i64
  %99 = getelementptr inbounds float, ptr %96, i64 %98
  %100 = load float, ptr %99, align 4, !tbaa !11
  %101 = call float @llvm.fmuladd.f32(float %95, float %100, float %90)
  store float %101, ptr %12, align 4, !tbaa !11
  %102 = load float, ptr %13, align 4, !tbaa !11
  %103 = load ptr, ptr %5, align 8, !tbaa !5
  %104 = load i32, ptr %9, align 4, !tbaa !9
  %105 = sext i32 %104 to i64
  %106 = getelementptr inbounds float, ptr %103, i64 %105
  %107 = load float, ptr %106, align 4, !tbaa !11
  %108 = load ptr, ptr %5, align 8, !tbaa !5
  %109 = load i32, ptr %9, align 4, !tbaa !9
  %110 = sext i32 %109 to i64
  %111 = getelementptr inbounds float, ptr %108, i64 %110
  %112 = load float, ptr %111, align 4, !tbaa !11
  %113 = call float @llvm.fmuladd.f32(float %107, float %112, float %102)
  store float %113, ptr %13, align 4, !tbaa !11
  br label %114

114:                                              ; preds = %75
  %115 = load i32, ptr %9, align 4, !tbaa !9
  %116 = add nsw i32 %115, 1
  store i32 %116, ptr %9, align 4, !tbaa !9
  br label %71, !llvm.loop !13

117:                                              ; preds = %71
  %118 = load i32, ptr %7, align 4, !tbaa !9
  %119 = sitofp i32 %118 to float
  %120 = load float, ptr %12, align 4, !tbaa !11
  %121 = load float, ptr %10, align 4, !tbaa !11
  %122 = load float, ptr %11, align 4, !tbaa !11
  %123 = fmul float %121, %122
  %124 = fneg float %123
  %125 = call float @llvm.fmuladd.f32(float %119, float %120, float %124)
  %126 = load i32, ptr %7, align 4, !tbaa !9
  %127 = sitofp i32 %126 to float
  %128 = load float, ptr %13, align 4, !tbaa !11
  %129 = load float, ptr %10, align 4, !tbaa !11
  %130 = load float, ptr %10, align 4, !tbaa !11
  %131 = fmul float %129, %130
  %132 = fneg float %131
  %133 = call float @llvm.fmuladd.f32(float %127, float %128, float %132)
  %134 = fdiv float %125, %133
  %135 = load ptr, ptr %8, align 8, !tbaa !5
  %136 = getelementptr inbounds float, ptr %135, i64 0
  store float %134, ptr %136, align 4, !tbaa !11
  %137 = load float, ptr %13, align 4, !tbaa !11
  %138 = load float, ptr %11, align 4, !tbaa !11
  %139 = load float, ptr %10, align 4, !tbaa !11
  %140 = load float, ptr %12, align 4, !tbaa !11
  %141 = fmul float %139, %140
  %142 = fneg float %141
  %143 = call float @llvm.fmuladd.f32(float %137, float %138, float %142)
  %144 = load i32, ptr %7, align 4, !tbaa !9
  %145 = sitofp i32 %144 to float
  %146 = load float, ptr %13, align 4, !tbaa !11
  %147 = load float, ptr %10, align 4, !tbaa !11
  %148 = load float, ptr %10, align 4, !tbaa !11
  %149 = fmul float %147, %148
  %150 = fneg float %149
  %151 = call float @llvm.fmuladd.f32(float %145, float %146, float %150)
  %152 = fdiv float %143, %151
  %153 = load ptr, ptr %8, align 8, !tbaa !5
  %154 = getelementptr inbounds float, ptr %153, i64 1
  store float %152, ptr %154, align 4, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  ret void
}

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

declare void @m_Exception(i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ...) #2

; 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) #3

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


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

@.str = external hidden unnamed_addr constant [79 x i8], align 1
@__FUNCTION__.mLinearFitLSM = external hidden unnamed_addr constant [14 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [20 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @mLinearFitLSM(ptr noundef %0, ptr noundef readonly %1, i32 noundef %2, ptr noundef %3) local_unnamed_addr #0 {
  %5 = icmp slt i32 %2, 2
  br i1 %5, label %6, label %7

6:                                                ; preds = %4
  tail call void (i32, i32, ptr, i32, ptr, ptr, ...) @m_Exception(i32 noundef 1, i32 noundef -1, ptr noundef nonnull @.str, i32 noundef 13, ptr noundef nonnull @__FUNCTION__.mLinearFitLSM, ptr noundef nonnull @.str.1) #4
  br label %7

7:                                                ; preds = %6, %4
  %magicptr = ptrtoint ptr %0 to i64
  switch i64 %magicptr, label %8 [
    i64 -1, label %.thread
    i64 0, label %.thread
  ]

8:                                                ; preds = %7
  %magicptr57 = ptrtoint ptr %1 to i64
  switch i64 %magicptr57, label %9 [
    i64 -1, label %.thread
    i64 0, label %.thread
  ]

.thread:                                          ; preds = %8, %8, %7, %7
  tail call void (i32, i32, ptr, i32, ptr, ptr, ...) @m_Exception(i32 noundef 1, i32 noundef -1, ptr noundef nonnull @.str, i32 noundef 14, ptr noundef nonnull @__FUNCTION__.mLinearFitLSM, ptr noundef nonnull @.str.2) #4
  br label %9

9:                                                ; preds = %8, %.thread
  %magicptr56 = ptrtoint ptr %3 to i64
  switch i64 %magicptr56, label %15 [
    i64 -1, label %10
    i64 0, label %10
  ]

10:                                               ; preds = %9, %9
  %11 = icmp eq ptr %3, null
  %12 = icmp eq ptr %3, inttoptr (i64 -1 to ptr)
  %13 = or i1 %11, %12
  %14 = zext i1 %13 to i32
  tail call void (i32, i32, ptr, i32, ptr, ptr, ...) @m_Exception(i32 noundef %14, i32 noundef -1, ptr noundef nonnull @.str, i32 noundef 15, ptr noundef nonnull @__FUNCTION__.mLinearFitLSM, ptr noundef nonnull @.str.3) #4
  br label %15

15:                                               ; preds = %9, %10
  %16 = icmp sgt i32 %2, 0
  br i1 %16, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %15
  %wide.trip.count = zext nneg i32 %2 to i64
  %xtraiter = and i64 %wide.trip.count, 1
  %17 = icmp eq i32 %2, 1
  br i1 %17, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph.preheader.new

.lr.ph.preheader.new:                             ; preds = %.lr.ph.preheader
  %unroll_iter = and i64 %wide.trip.count, 2147483646
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph, %.lr.ph.preheader.new
  %indvars.iv = phi i64 [ 0, %.lr.ph.preheader.new ], [ %indvars.iv.next.1, %.lr.ph ]
  %.05161 = phi float [ 0.000000e+00, %.lr.ph.preheader.new ], [ %32, %.lr.ph ]
  %.05260 = phi float [ 0.000000e+00, %.lr.ph.preheader.new ], [ %35, %.lr.ph ]
  %18 = phi <2 x float> [ zeroinitializer, %.lr.ph.preheader.new ], [ %40, %.lr.ph ]
  %niter = phi i64 [ 0, %.lr.ph.preheader.new ], [ %niter.next.1, %.lr.ph ]
  %19 = getelementptr inbounds float, ptr %0, i64 %indvars.iv
  %20 = load float, ptr %19, align 4, !tbaa !5
  %21 = fadd float %.05161, %20
  %22 = getelementptr inbounds float, ptr %1, i64 %indvars.iv
  %23 = load float, ptr %22, align 4, !tbaa !5
  %24 = fadd float %.05260, %23
  %25 = insertelement <2 x float> poison, float %20, i64 0
  %26 = shufflevector <2 x float> %25, <2 x float> poison, <2 x i32> zeroinitializer
  %27 = insertelement <2 x float> poison, float %23, i64 0
  %28 = insertelement <2 x float> %27, float %20, i64 1
  %29 = tail call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %26, <2 x float> %28, <2 x float> %18)
  %indvars.iv.next = or disjoint i64 %indvars.iv, 1
  %30 = getelementptr inbounds float, ptr %0, i64 %indvars.iv.next
  %31 = load float, ptr %30, align 4, !tbaa !5
  %32 = fadd float %21, %31
  %33 = getelementptr inbounds float, ptr %1, i64 %indvars.iv.next
  %34 = load float, ptr %33, align 4, !tbaa !5
  %35 = fadd float %24, %34
  %36 = insertelement <2 x float> poison, float %31, i64 0
  %37 = shufflevector <2 x float> %36, <2 x float> poison, <2 x i32> zeroinitializer
  %38 = insertelement <2 x float> poison, float %34, i64 0
  %39 = insertelement <2 x float> %38, float %31, i64 1
  %40 = tail call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %37, <2 x float> %39, <2 x float> %29)
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph, !llvm.loop !9

._crit_edge.loopexit.unr-lcssa:                   ; preds = %.lr.ph, %.lr.ph.preheader
  %.lcssa77.ph = phi float [ poison, %.lr.ph.preheader ], [ %32, %.lr.ph ]
  %.lcssa76.ph = phi float [ poison, %.lr.ph.preheader ], [ %35, %.lr.ph ]
  %.lcssa.ph = phi <2 x float> [ poison, %.lr.ph.preheader ], [ %40, %.lr.ph ]
  %indvars.iv.unr = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next.1, %.lr.ph ]
  %.05161.unr = phi float [ 0.000000e+00, %.lr.ph.preheader ], [ %32, %.lr.ph ]
  %.05260.unr = phi float [ 0.000000e+00, %.lr.ph.preheader ], [ %35, %.lr.ph ]
  %.unr = phi <2 x float> [ zeroinitializer, %.lr.ph.preheader ], [ %40, %.lr.ph ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge, label %.lr.ph.epil

.lr.ph.epil:                                      ; preds = %._crit_edge.loopexit.unr-lcssa
  %41 = getelementptr inbounds float, ptr %0, i64 %indvars.iv.unr
  %42 = load float, ptr %41, align 4, !tbaa !5
  %43 = fadd float %.05161.unr, %42
  %44 = getelementptr inbounds float, ptr %1, i64 %indvars.iv.unr
  %45 = load float, ptr %44, align 4, !tbaa !5
  %46 = fadd float %.05260.unr, %45
  %47 = insertelement <2 x float> poison, float %42, i64 0
  %48 = shufflevector <2 x float> %47, <2 x float> poison, <2 x i32> zeroinitializer
  %49 = insertelement <2 x float> poison, float %45, i64 0
  %50 = insertelement <2 x float> %49, float %42, i64 1
  %51 = tail call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %48, <2 x float> %50, <2 x float> %.unr)
  br label %._crit_edge

._crit_edge:                                      ; preds = %.lr.ph.epil, %._crit_edge.loopexit.unr-lcssa, %15
  %.052.lcssa = phi float [ 0.000000e+00, %15 ], [ %.lcssa76.ph, %._crit_edge.loopexit.unr-lcssa ], [ %46, %.lr.ph.epil ]
  %.051.lcssa = phi float [ 0.000000e+00, %15 ], [ %.lcssa77.ph, %._crit_edge.loopexit.unr-lcssa ], [ %43, %.lr.ph.epil ]
  %52 = phi <2 x float> [ zeroinitializer, %15 ], [ %.lcssa.ph, %._crit_edge.loopexit.unr-lcssa ], [ %51, %.lr.ph.epil ]
  %53 = sitofp i32 %2 to float
  %54 = fneg float %.051.lcssa
  %55 = fmul float %.051.lcssa, %54
  %56 = extractelement <2 x float> %52, i64 1
  %57 = tail call float @llvm.fmuladd.f32(float %53, float %56, float %55)
  %58 = shufflevector <2 x float> %52, <2 x float> poison, <2 x i32> <i32 poison, i32 0>
  %59 = insertelement <2 x float> %58, float %.052.lcssa, i64 0
  %60 = insertelement <2 x float> poison, float %54, i64 0
  %61 = shufflevector <2 x float> %60, <2 x float> poison, <2 x i32> zeroinitializer
  %62 = fmul <2 x float> %59, %61
  %63 = insertelement <2 x float> poison, float %53, i64 0
  %64 = insertelement <2 x float> %63, float %.052.lcssa, i64 1
  %65 = tail call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %64, <2 x float> %52, <2 x float> %62)
  %66 = insertelement <2 x float> poison, float %57, i64 0
  %67 = shufflevector <2 x float> %66, <2 x float> poison, <2 x i32> zeroinitializer
  %68 = fdiv <2 x float> %65, %67
  store <2 x float> %68, ptr %3, align 4, !tbaa !5
  ret void
}

declare void @m_Exception(i32 noundef, i32 noundef, ptr noundef, i32 noundef, ptr noundef, ptr noundef, ...) local_unnamed_addr #1

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

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

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 = { "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 nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}


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