; LLVM IR from qc-tum/chemtensor :: test/algorithm (numerical_gradient)

; 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: inlinehint nounwind uwtable
declare hidden ptr @ct_malloc(i64 noundef) #1

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @ct_free(ptr noundef) #1

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

32:                                               ; preds = %62, %8
  %33 = load i64, ptr %20, align 8, !tbaa !9
  %34 = load i64, ptr %11, align 8, !tbaa !9
  %35 = icmp slt i64 %33, %34
  br i1 %35, label %37, label %36

36:                                               ; preds = %32
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #3
  br label %65

37:                                               ; preds = %32
  %38 = load ptr, ptr %12, align 8, !tbaa !5
  %39 = load i64, ptr %20, align 8, !tbaa !9
  %40 = getelementptr inbounds { float, float }, ptr %38, i64 %39
  %41 = getelementptr inbounds { float, float }, ptr %40, i32 0, i32 0
  %42 = load float, ptr %41, align 4
  %43 = getelementptr inbounds { float, float }, ptr %40, i32 0, i32 1
  %44 = load float, ptr %43, align 4
  %45 = load float, ptr %15, align 4, !tbaa !11
  %46 = load ptr, ptr %13, align 8, !tbaa !5
  %47 = load i64, ptr %20, align 8, !tbaa !9
  %48 = getelementptr inbounds { float, float }, ptr %46, i64 %47
  %49 = getelementptr inbounds { float, float }, ptr %48, i32 0, i32 0
  %50 = load float, ptr %49, align 4
  %51 = getelementptr inbounds { float, float }, ptr %48, i32 0, i32 1
  %52 = load float, ptr %51, align 4
  %53 = fmul float %45, %50
  %54 = fmul float %45, %52
  %55 = fadd float %42, %53
  %56 = fadd float %44, %54
  %57 = load ptr, ptr %17, align 8, !tbaa !5
  %58 = load i64, ptr %20, align 8, !tbaa !9
  %59 = getelementptr inbounds { float, float }, ptr %57, i64 %58
  %60 = getelementptr inbounds { float, float }, ptr %59, i32 0, i32 0
  %61 = getelementptr inbounds { float, float }, ptr %59, i32 0, i32 1
  store float %55, ptr %60, align 4
  store float %56, ptr %61, align 4
  br label %62

62:                                               ; preds = %37
  %63 = load i64, ptr %20, align 8, !tbaa !9
  %64 = add nsw i64 %63, 1
  store i64 %64, ptr %20, align 8, !tbaa !9
  br label %32, !llvm.loop !13

65:                                               ; preds = %36
  %66 = load ptr, ptr %9, align 8, !tbaa !5
  %67 = load ptr, ptr %17, align 8, !tbaa !5
  %68 = load ptr, ptr %10, align 8, !tbaa !5
  %69 = load ptr, ptr %18, align 8, !tbaa !5
  call void %66(ptr noundef %67, ptr noundef %68, ptr noundef %69)
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #3
  store i64 0, ptr %21, align 8, !tbaa !9
  br label %70

70:                                               ; preds = %100, %65
  %71 = load i64, ptr %21, align 8, !tbaa !9
  %72 = load i64, ptr %11, align 8, !tbaa !9
  %73 = icmp slt i64 %71, %72
  br i1 %73, label %75, label %74

74:                                               ; preds = %70
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #3
  br label %103

75:                                               ; preds = %70
  %76 = load ptr, ptr %12, align 8, !tbaa !5
  %77 = load i64, ptr %21, align 8, !tbaa !9
  %78 = getelementptr inbounds { float, float }, ptr %76, i64 %77
  %79 = getelementptr inbounds { float, float }, ptr %78, i32 0, i32 0
  %80 = load float, ptr %79, align 4
  %81 = getelementptr inbounds { float, float }, ptr %78, i32 0, i32 1
  %82 = load float, ptr %81, align 4
  %83 = load float, ptr %15, align 4, !tbaa !11
  %84 = load ptr, ptr %13, align 8, !tbaa !5
  %85 = load i64, ptr %21, align 8, !tbaa !9
  %86 = getelementptr inbounds { float, float }, ptr %84, i64 %85
  %87 = getelementptr inbounds { float, float }, ptr %86, i32 0, i32 0
  %88 = load float, ptr %87, align 4
  %89 = getelementptr inbounds { float, float }, ptr %86, i32 0, i32 1
  %90 = load float, ptr %89, align 4
  %91 = fmul float %83, %88
  %92 = fmul float %83, %90
  %93 = fsub float %80, %91
  %94 = fsub float %82, %92
  %95 = load ptr, ptr %17, align 8, !tbaa !5
  %96 = load i64, ptr %21, align 8, !tbaa !9
  %97 = getelementptr inbounds { float, float }, ptr %95, i64 %96
  %98 = getelementptr inbounds { float, float }, ptr %97, i32 0, i32 0
  %99 = getelementptr inbounds { float, float }, ptr %97, i32 0, i32 1
  store float %93, ptr %98, align 4
  store float %94, ptr %99, align 4
  br label %100

100:                                              ; preds = %75
  %101 = load i64, ptr %21, align 8, !tbaa !9
  %102 = add nsw i64 %101, 1
  store i64 %102, ptr %21, align 8, !tbaa !9
  br label %70, !llvm.loop !15

103:                                              ; preds = %74
  %104 = load ptr, ptr %9, align 8, !tbaa !5
  %105 = load ptr, ptr %17, align 8, !tbaa !5
  %106 = load ptr, ptr %10, align 8, !tbaa !5
  %107 = load ptr, ptr %19, align 8, !tbaa !5
  call void %104(ptr noundef %105, ptr noundef %106, ptr noundef %107)
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #3
  store i64 0, ptr %22, align 8, !tbaa !9
  br label %108

108:                                              ; preds = %139, %103
  %109 = load i64, ptr %22, align 8, !tbaa !9
  %110 = load i64, ptr %14, align 8, !tbaa !9
  %111 = icmp slt i64 %109, %110
  br i1 %111, label %113, label %112

112:                                              ; preds = %108
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #3
  br label %142

113:                                              ; preds = %108
  %114 = load ptr, ptr %18, align 8, !tbaa !5
  %115 = load i64, ptr %22, align 8, !tbaa !9
  %116 = getelementptr inbounds { float, float }, ptr %114, i64 %115
  %117 = getelementptr inbounds { float, float }, ptr %116, i32 0, i32 0
  %118 = load float, ptr %117, align 4
  %119 = getelementptr inbounds { float, float }, ptr %116, i32 0, i32 1
  %120 = load float, ptr %119, align 4
  %121 = load ptr, ptr %19, align 8, !tbaa !5
  %122 = load i64, ptr %22, align 8, !tbaa !9
  %123 = getelementptr inbounds { float, float }, ptr %121, i64 %122
  %124 = getelementptr inbounds { float, float }, ptr %123, i32 0, i32 0
  %125 = load float, ptr %124, align 4
  %126 = getelementptr inbounds { float, float }, ptr %123, i32 0, i32 1
  %127 = load float, ptr %126, align 4
  %128 = fsub float %118, %125
  %129 = fsub float %120, %127
  %130 = load float, ptr %15, align 4, !tbaa !11
  %131 = fmul float 2.000000e+00, %130
  %132 = fdiv float %128, %131
  %133 = fdiv float %129, %131
  %134 = load ptr, ptr %16, align 8, !tbaa !5
  %135 = load i64, ptr %22, align 8, !tbaa !9
  %136 = getelementptr inbounds { float, float }, ptr %134, i64 %135
  %137 = getelementptr inbounds { float, float }, ptr %136, i32 0, i32 0
  %138 = getelementptr inbounds { float, float }, ptr %136, i32 0, i32 1
  store float %132, ptr %137, align 4
  store float %133, ptr %138, align 4
  br label %139

139:                                              ; preds = %113
  %140 = load i64, ptr %22, align 8, !tbaa !9
  %141 = add nsw i64 %140, 1
  store i64 %141, ptr %22, align 8, !tbaa !9
  br label %108, !llvm.loop !16

142:                                              ; preds = %112
  %143 = load ptr, ptr %19, align 8, !tbaa !5
  call void @ct_free(ptr noundef %143)
  %144 = load ptr, ptr %18, align 8, !tbaa !5
  call void @ct_free(ptr noundef %144)
  %145 = load ptr, ptr %17, align 8, !tbaa !5
  call void @ct_free(ptr noundef %145)
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { inlinehint 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 = { 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"}
!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: inlinehint nounwind uwtable
declare hidden ptr @ct_malloc(i64 noundef) local_unnamed_addr #0

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @ct_free(ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
define dso_local void @numerical_gradient_forward_c(ptr nocapture noundef readonly %0, ptr noundef %1, i64 noundef %2, ptr noalias nocapture noundef readonly %3, ptr noalias nocapture noundef readonly %4, i64 noundef %5, float noundef %6, ptr noalias nocapture noundef writeonly %7) local_unnamed_addr #1 {
  %9 = shl i64 %2, 3
  %10 = tail call ptr @ct_malloc(i64 noundef %9)
  %11 = shl i64 %5, 3
  %12 = tail call ptr @ct_malloc(i64 noundef %11)
  %13 = tail call ptr @ct_malloc(i64 noundef %11)
  %14 = icmp sgt i64 %2, 0
  br i1 %14, label %.lr.ph.preheader, label %._crit_edge.thread

.lr.ph.preheader:                                 ; preds = %8
  %min.iters.check = icmp ult i64 %2, 4
  br i1 %min.iters.check, label %.lr.ph.preheader102, label %vector.ph

.lr.ph.preheader102:                              ; preds = %middle.block, %.lr.ph.preheader
  %.04446.ph = phi i64 [ 0, %.lr.ph.preheader ], [ %n.vec, %middle.block ]
  %15 = insertelement <2 x float> poison, float %6, i64 0
  %16 = shufflevector <2 x float> %15, <2 x float> poison, <2 x i32> zeroinitializer
  br label %.lr.ph

vector.ph:                                        ; preds = %.lr.ph.preheader
  %n.vec = and i64 %2, 9223372036854775804
  %broadcast.splatinsert = insertelement <4 x float> poison, float %6, i64 0
  %17 = shufflevector <4 x float> %broadcast.splatinsert, <4 x float> poison, <8 x i32> zeroinitializer
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %18 = getelementptr inbounds { float, float }, ptr %3, i64 %index
  %wide.vec = load <8 x float>, ptr %18, align 4
  %19 = getelementptr inbounds { float, float }, ptr %4, i64 %index
  %wide.vec58 = load <8 x float>, ptr %19, align 4
  %20 = getelementptr inbounds { float, float }, ptr %10, i64 %index
  %21 = fmul <8 x float> %wide.vec58, %17
  %interleaved.vec = fadd <8 x float> %wide.vec, %21
  store <8 x float> %interleaved.vec, ptr %20, align 4
  %index.next = add nuw i64 %index, 4
  %22 = icmp eq i64 %index.next, %n.vec
  br i1 %22, label %middle.block, label %vector.body, !llvm.loop !5

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

._crit_edge.thread:                               ; preds = %8
  tail call void %0(ptr noundef %10, ptr noundef %1, ptr noundef %12) #2
  br label %._crit_edge50

._crit_edge:                                      ; preds = %.lr.ph, %middle.block
  tail call void %0(ptr noundef nonnull %10, ptr noundef %1, ptr noundef %12) #2
  br i1 %14, label %.lr.ph49.preheader, label %._crit_edge50

.lr.ph49.preheader:                               ; preds = %._crit_edge
  %min.iters.check63 = icmp ult i64 %2, 4
  br i1 %min.iters.check63, label %.lr.ph49.preheader101, label %vector.ph64

.lr.ph49.preheader101:                            ; preds = %middle.block61, %.lr.ph49.preheader
  %.04347.ph = phi i64 [ 0, %.lr.ph49.preheader ], [ %n.vec66, %middle.block61 ]
  %23 = insertelement <2 x float> poison, float %6, i64 0
  %24 = shufflevector <2 x float> %23, <2 x float> poison, <2 x i32> zeroinitializer
  br label %.lr.ph49

vector.ph64:                                      ; preds = %.lr.ph49.preheader
  %n.vec66 = and i64 %2, 9223372036854775804
  %broadcast.splatinsert76 = insertelement <4 x float> poison, float %6, i64 0
  %25 = shufflevector <4 x float> %broadcast.splatinsert76, <4 x float> poison, <8 x i32> zeroinitializer
  br label %vector.body68

vector.body68:                                    ; preds = %vector.body68, %vector.ph64
  %index69 = phi i64 [ 0, %vector.ph64 ], [ %index.next79, %vector.body68 ]
  %26 = getelementptr inbounds { float, float }, ptr %3, i64 %index69
  %wide.vec70 = load <8 x float>, ptr %26, align 4
  %27 = getelementptr inbounds { float, float }, ptr %4, i64 %index69
  %wide.vec73 = load <8 x float>, ptr %27, align 4
  %28 = getelementptr inbounds { float, float }, ptr %10, i64 %index69
  %29 = fmul <8 x float> %wide.vec73, %25
  %interleaved.vec78 = fsub <8 x float> %wide.vec70, %29
  store <8 x float> %interleaved.vec78, ptr %28, align 4
  %index.next79 = add nuw i64 %index69, 4
  %30 = icmp eq i64 %index.next79, %n.vec66
  br i1 %30, label %middle.block61, label %vector.body68, !llvm.loop !9

middle.block61:                                   ; preds = %vector.body68
  %cmp.n80 = icmp eq i64 %n.vec66, %2
  br i1 %cmp.n80, label %._crit_edge50, label %.lr.ph49.preheader101

.lr.ph:                                           ; preds = %.lr.ph.preheader102, %.lr.ph
  %.04446 = phi i64 [ %38, %.lr.ph ], [ %.04446.ph, %.lr.ph.preheader102 ]
  %31 = getelementptr inbounds { float, float }, ptr %3, i64 %.04446
  %32 = getelementptr inbounds { float, float }, ptr %4, i64 %.04446
  %33 = getelementptr inbounds { float, float }, ptr %10, i64 %.04446
  %34 = load <2 x float>, ptr %31, align 4
  %35 = load <2 x float>, ptr %32, align 4
  %36 = fmul <2 x float> %35, %16
  %37 = fadd <2 x float> %34, %36
  store <2 x float> %37, ptr %33, align 4
  %38 = add nuw nsw i64 %.04446, 1
  %exitcond.not = icmp eq i64 %38, %2
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !10

._crit_edge50:                                    ; preds = %.lr.ph49, %middle.block61, %._crit_edge.thread, %._crit_edge
  tail call void %0(ptr noundef %10, ptr noundef %1, ptr noundef %13) #2
  %39 = icmp sgt i64 %5, 0
  br i1 %39, label %.lr.ph53, label %._crit_edge54

.lr.ph53:                                         ; preds = %._crit_edge50
  %40 = fmul float %6, 2.000000e+00
  %min.iters.check83 = icmp ult i64 %5, 4
  br i1 %min.iters.check83, label %scalar.ph82.preheader, label %vector.ph84

scalar.ph82.preheader:                            ; preds = %middle.block81, %.lr.ph53
  %.051.ph = phi i64 [ 0, %.lr.ph53 ], [ %n.vec86, %middle.block81 ]
  %41 = insertelement <2 x float> poison, float %40, i64 0
  %42 = shufflevector <2 x float> %41, <2 x float> poison, <2 x i32> zeroinitializer
  br label %scalar.ph82

vector.ph84:                                      ; preds = %.lr.ph53
  %n.vec86 = and i64 %5, 9223372036854775804
  %broadcast.splatinsert96 = insertelement <4 x float> poison, float %40, i64 0
  %43 = shufflevector <4 x float> %broadcast.splatinsert96, <4 x float> poison, <8 x i32> zeroinitializer
  br label %vector.body88

vector.body88:                                    ; preds = %vector.body88, %vector.ph84
  %index89 = phi i64 [ 0, %vector.ph84 ], [ %index.next99, %vector.body88 ]
  %44 = getelementptr inbounds { float, float }, ptr %12, i64 %index89
  %wide.vec90 = load <8 x float>, ptr %44, align 4
  %45 = getelementptr inbounds { float, float }, ptr %13, i64 %index89
  %wide.vec93 = load <8 x float>, ptr %45, align 4
  %46 = getelementptr inbounds { float, float }, ptr %7, i64 %index89
  %47 = fsub <8 x float> %wide.vec90, %wide.vec93
  %interleaved.vec98 = fdiv <8 x float> %47, %43
  store <8 x float> %interleaved.vec98, ptr %46, align 4
  %index.next99 = add nuw i64 %index89, 4
  %48 = icmp eq i64 %index.next99, %n.vec86
  br i1 %48, label %middle.block81, label %vector.body88, !llvm.loop !11

middle.block81:                                   ; preds = %vector.body88
  %cmp.n100 = icmp eq i64 %n.vec86, %5
  br i1 %cmp.n100, label %._crit_edge54, label %scalar.ph82.preheader

.lr.ph49:                                         ; preds = %.lr.ph49.preheader101, %.lr.ph49
  %.04347 = phi i64 [ %56, %.lr.ph49 ], [ %.04347.ph, %.lr.ph49.preheader101 ]
  %49 = getelementptr inbounds { float, float }, ptr %3, i64 %.04347
  %50 = getelementptr inbounds { float, float }, ptr %4, i64 %.04347
  %51 = getelementptr inbounds { float, float }, ptr %10, i64 %.04347
  %52 = load <2 x float>, ptr %49, align 4
  %53 = load <2 x float>, ptr %50, align 4
  %54 = fmul <2 x float> %53, %24
  %55 = fsub <2 x float> %52, %54
  store <2 x float> %55, ptr %51, align 4
  %56 = add nuw nsw i64 %.04347, 1
  %exitcond55.not = icmp eq i64 %56, %2
  br i1 %exitcond55.not, label %._crit_edge50, label %.lr.ph49, !llvm.loop !12

._crit_edge54:                                    ; preds = %scalar.ph82, %middle.block81, %._crit_edge50
  tail call void @ct_free(ptr noundef %13)
  tail call void @ct_free(ptr noundef %12)
  tail call void @ct_free(ptr noundef %10)
  ret void

scalar.ph82:                                      ; preds = %scalar.ph82.preheader, %scalar.ph82
  %.051 = phi i64 [ %64, %scalar.ph82 ], [ %.051.ph, %scalar.ph82.preheader ]
  %57 = getelementptr inbounds { float, float }, ptr %12, i64 %.051
  %58 = getelementptr inbounds { float, float }, ptr %13, i64 %.051
  %59 = getelementptr inbounds { float, float }, ptr %7, i64 %.051
  %60 = load <2 x float>, ptr %57, align 4
  %61 = load <2 x float>, ptr %58, align 4
  %62 = fsub <2 x float> %60, %61
  %63 = fdiv <2 x float> %62, %42
  store <2 x float> %63, ptr %59, align 4
  %64 = add nuw nsw i64 %.051, 1
  %exitcond56.not = icmp eq i64 %64, %5
  br i1 %exitcond56.not, label %._crit_edge54, label %scalar.ph82, !llvm.loop !13
}

attributes #0 = { inlinehint 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 = { 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 = { 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 = distinct !{!5, !6, !7, !8}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!"llvm.loop.isvectorized", i32 1}
!8 = !{!"llvm.loop.unroll.runtime.disable"}
!9 = distinct !{!9, !6, !7, !8}
!10 = distinct !{!10, !6, !8, !7}
!11 = distinct !{!11, !6, !7, !8}
!12 = distinct !{!12, !6, !8, !7}
!13 = distinct !{!13, !6, !8, !7}


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