; LLVM IR from darnstrom/daqp :: src (auxiliary)

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

%struct.DAQPWorkspace = type { ptr, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, double, ptr, ptr, ptr, ptr, i32, ptr, i32, i32, i32, double, ptr, ptr, i32, ptr }

; 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: nounwind uwtable
define dso_local void @compute_singular_direction(ptr noundef %0) #2 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #3
  %8 = load ptr, ptr %2, align 8, !tbaa !5
  %9 = getelementptr inbounds %struct.DAQPWorkspace, ptr %8, i32 0, i32 26
  %10 = load i32, ptr %9, align 8, !tbaa !9
  %11 = load ptr, ptr %2, align 8, !tbaa !5
  %12 = getelementptr inbounds %struct.DAQPWorkspace, ptr %11, i32 0, i32 26
  %13 = load i32, ptr %12, align 8, !tbaa !9
  %14 = add nsw i32 %13, 1
  %15 = mul nsw i32 %10, %14
  %16 = sdiv i32 %15, 2
  store i32 %16, ptr %6, align 4, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #3
  %17 = load i32, ptr %6, align 4, !tbaa !13
  %18 = sub nsw i32 %17, 1
  store i32 %18, ptr %7, align 4, !tbaa !13
  %19 = load ptr, ptr %2, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.DAQPWorkspace, ptr %19, i32 0, i32 26
  %21 = load i32, ptr %20, align 8, !tbaa !9
  %22 = sub nsw i32 %21, 1
  store i32 %22, ptr %3, align 4, !tbaa !13
  br label %23

23:                                               ; preds = %84, %1
  %24 = load i32, ptr %3, align 4, !tbaa !13
  %25 = icmp sge i32 %24, 0
  br i1 %25, label %26, label %87

26:                                               ; preds = %23
  %27 = load ptr, ptr %2, align 8, !tbaa !5
  %28 = getelementptr inbounds %struct.DAQPWorkspace, ptr %27, i32 0, i32 18
  %29 = load ptr, ptr %28, align 8, !tbaa !14
  %30 = load i32, ptr %6, align 4, !tbaa !13
  %31 = load i32, ptr %3, align 4, !tbaa !13
  %32 = add nsw i32 %30, %31
  %33 = sext i32 %32 to i64
  %34 = getelementptr inbounds double, ptr %29, i64 %33
  %35 = load double, ptr %34, align 8, !tbaa !15
  %36 = fneg double %35
  %37 = load ptr, ptr %2, align 8, !tbaa !5
  %38 = getelementptr inbounds %struct.DAQPWorkspace, ptr %37, i32 0, i32 15
  %39 = load ptr, ptr %38, align 8, !tbaa !16
  %40 = load i32, ptr %3, align 4, !tbaa !13
  %41 = sext i32 %40 to i64
  %42 = getelementptr inbounds double, ptr %39, i64 %41
  store double %36, ptr %42, align 8, !tbaa !15
  %43 = load i32, ptr %7, align 4, !tbaa !13
  %44 = add nsw i32 %43, -1
  store i32 %44, ptr %7, align 4, !tbaa !13
  store i32 %43, ptr %5, align 4, !tbaa !13
  %45 = load ptr, ptr %2, align 8, !tbaa !5
  %46 = getelementptr inbounds %struct.DAQPWorkspace, ptr %45, i32 0, i32 26
  %47 = load i32, ptr %46, align 8, !tbaa !9
  %48 = sub nsw i32 %47, 1
  store i32 %48, ptr %4, align 4, !tbaa !13
  br label %49

49:                                               ; preds = %80, %26
  %50 = load i32, ptr %4, align 4, !tbaa !13
  %51 = load i32, ptr %3, align 4, !tbaa !13
  %52 = icmp sgt i32 %50, %51
  br i1 %52, label %53, label %83

53:                                               ; preds = %49
  %54 = load ptr, ptr %2, align 8, !tbaa !5
  %55 = getelementptr inbounds %struct.DAQPWorkspace, ptr %54, i32 0, i32 15
  %56 = load ptr, ptr %55, align 8, !tbaa !16
  %57 = load i32, ptr %4, align 4, !tbaa !13
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds double, ptr %56, i64 %58
  %60 = load double, ptr %59, align 8, !tbaa !15
  %61 = load ptr, ptr %2, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.DAQPWorkspace, ptr %61, i32 0, i32 18
  %63 = load ptr, ptr %62, align 8, !tbaa !14
  %64 = load i32, ptr %5, align 4, !tbaa !13
  %65 = sext i32 %64 to i64
  %66 = getelementptr inbounds double, ptr %63, i64 %65
  %67 = load double, ptr %66, align 8, !tbaa !15
  %68 = load ptr, ptr %2, align 8, !tbaa !5
  %69 = getelementptr inbounds %struct.DAQPWorkspace, ptr %68, i32 0, i32 15
  %70 = load ptr, ptr %69, align 8, !tbaa !16
  %71 = load i32, ptr %3, align 4, !tbaa !13
  %72 = sext i32 %71 to i64
  %73 = getelementptr inbounds double, ptr %70, i64 %72
  %74 = load double, ptr %73, align 8, !tbaa !15
  %75 = fneg double %60
  %76 = call double @llvm.fmuladd.f64(double %75, double %67, double %74)
  store double %76, ptr %73, align 8, !tbaa !15
  %77 = load i32, ptr %4, align 4, !tbaa !13
  %78 = load i32, ptr %5, align 4, !tbaa !13
  %79 = sub nsw i32 %78, %77
  store i32 %79, ptr %5, align 4, !tbaa !13
  br label %80

80:                                               ; preds = %53
  %81 = load i32, ptr %4, align 4, !tbaa !13
  %82 = add nsw i32 %81, -1
  store i32 %82, ptr %4, align 4, !tbaa !13
  br label %49, !llvm.loop !17

83:                                               ; preds = %49
  br label %84

84:                                               ; preds = %83
  %85 = load i32, ptr %3, align 4, !tbaa !13
  %86 = add nsw i32 %85, -1
  store i32 %86, ptr %3, align 4, !tbaa !13
  br label %23, !llvm.loop !19

87:                                               ; preds = %23
  %88 = load ptr, ptr %2, align 8, !tbaa !5
  %89 = getelementptr inbounds %struct.DAQPWorkspace, ptr %88, i32 0, i32 15
  %90 = load ptr, ptr %89, align 8, !tbaa !16
  %91 = load ptr, ptr %2, align 8, !tbaa !5
  %92 = getelementptr inbounds %struct.DAQPWorkspace, ptr %91, i32 0, i32 26
  %93 = load i32, ptr %92, align 8, !tbaa !9
  %94 = sext i32 %93 to i64
  %95 = getelementptr inbounds double, ptr %90, i64 %94
  store double 1.000000e+00, ptr %95, align 8, !tbaa !15
  %96 = load ptr, ptr %2, align 8, !tbaa !5
  %97 = getelementptr inbounds %struct.DAQPWorkspace, ptr %96, i32 0, i32 9
  %98 = load ptr, ptr %97, align 8, !tbaa !20
  %99 = load ptr, ptr %2, align 8, !tbaa !5
  %100 = getelementptr inbounds %struct.DAQPWorkspace, ptr %99, i32 0, i32 23
  %101 = load ptr, ptr %100, align 8, !tbaa !21
  %102 = load ptr, ptr %2, align 8, !tbaa !5
  %103 = getelementptr inbounds %struct.DAQPWorkspace, ptr %102, i32 0, i32 26
  %104 = load i32, ptr %103, align 8, !tbaa !9
  %105 = sext i32 %104 to i64
  %106 = getelementptr inbounds i32, ptr %101, i64 %105
  %107 = load i32, ptr %106, align 4, !tbaa !13
  %108 = sext i32 %107 to i64
  %109 = getelementptr inbounds i32, ptr %98, i64 %108
  %110 = load i32, ptr %109, align 4, !tbaa !13
  %111 = and i32 %110, 2
  %112 = icmp ne i32 %111, 0
  br i1 %112, label %113, label %139

113:                                              ; preds = %87
  store i32 0, ptr %3, align 4, !tbaa !13
  br label %114

114:                                              ; preds = %135, %113
  %115 = load i32, ptr %3, align 4, !tbaa !13
  %116 = load ptr, ptr %2, align 8, !tbaa !5
  %117 = getelementptr inbounds %struct.DAQPWorkspace, ptr %116, i32 0, i32 26
  %118 = load i32, ptr %117, align 8, !tbaa !9
  %119 = icmp sle i32 %115, %118
  br i1 %119, label %120, label %138

120:                                              ; preds = %114
  %121 = load ptr, ptr %2, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.DAQPWorkspace, ptr %121, i32 0, i32 15
  %123 = load ptr, ptr %122, align 8, !tbaa !16
  %124 = load i32, ptr %3, align 4, !tbaa !13
  %125 = sext i32 %124 to i64
  %126 = getelementptr inbounds double, ptr %123, i64 %125
  %127 = load double, ptr %126, align 8, !tbaa !15
  %128 = fneg double %127
  %129 = load ptr, ptr %2, align 8, !tbaa !5
  %130 = getelementptr inbounds %struct.DAQPWorkspace, ptr %129, i32 0, i32 15
  %131 = load ptr, ptr %130, align 8, !tbaa !16
  %132 = load i32, ptr %3, align 4, !tbaa !13
  %133 = sext i32 %132 to i64
  %134 = getelementptr inbounds double, ptr %131, i64 %133
  store double %128, ptr %134, align 8, !tbaa !15
  br label %135

135:                                              ; preds = %120
  %136 = load i32, ptr %3, align 4, !tbaa !13
  %137 = add nsw i32 %136, 1
  store i32 %137, ptr %3, align 4, !tbaa !13
  br label %114, !llvm.loop !22

138:                                              ; preds = %114
  br label %139

139:                                              ; preds = %138, %87
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #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, !11, i64 192}
!10 = !{!"", !6, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !12, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !11, i64 168, !6, i64 176, !11, i64 184, !11, i64 188, !11, i64 192, !12, i64 200, !6, i64 208, !6, i64 216, !11, i64 224, !6, i64 232}
!11 = !{!"int", !7, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!11, !11, i64 0}
!14 = !{!10, !6, i64 136}
!15 = !{!12, !12, i64 0}
!16 = !{!10, !6, i64 112}
!17 = distinct !{!17, !18}
!18 = !{!"llvm.loop.mustprogress"}
!19 = distinct !{!19, !18}
!20 = !{!10, !6, i64 64}
!21 = !{!10, !6, i64 176}
!22 = distinct !{!22, !18}


; 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: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable
define dso_local void @compute_singular_direction(ptr nocapture noundef readonly %0) local_unnamed_addr #1 {
  %2 = getelementptr inbounds i8, ptr %0, i64 192
  %3 = load i32, ptr %2, align 8, !tbaa !5
  %4 = add i32 %3, 1
  %5 = icmp sgt i32 %3, 0
  br i1 %5, label %.lr.ph47, label %.._crit_edge_crit_edge

.._crit_edge_crit_edge:                           ; preds = %1
  %.phi.trans.insert = getelementptr inbounds i8, ptr %0, i64 112
  %.pre = load ptr, ptr %.phi.trans.insert, align 8, !tbaa !12
  %.pre58 = sext i32 %3 to i64
  br label %._crit_edge

.lr.ph47:                                         ; preds = %1
  %6 = mul nsw i32 %4, %3
  %7 = sdiv i32 %6, 2
  %8 = getelementptr inbounds i8, ptr %0, i64 136
  %9 = load ptr, ptr %8, align 8, !tbaa !13
  %10 = getelementptr inbounds i8, ptr %0, i64 112
  %11 = load ptr, ptr %10, align 8, !tbaa !12
  %12 = zext nneg i32 %3 to i64
  %13 = sext i32 %7 to i64
  %invariant.gep = getelementptr double, ptr %9, i64 %13
  %indvars.iv.next.prol = add nsw i64 %12, -1
  %14 = getelementptr inbounds double, ptr %11, i64 %indvars.iv.next.prol
  %15 = trunc nsw i64 %indvars.iv.next.prol to i32
  br label %17

.loopexit39:                                      ; preds = %.lr.ph.prol.loopexit, %.lr.ph, %17
  %16 = icmp sgt i64 %indvars.iv52, 1
  %indvar.next = add i64 %indvar, 1
  br i1 %16, label %17, label %._crit_edge, !llvm.loop !14

17:                                               ; preds = %.lr.ph47, %.loopexit39
  %indvar = phi i64 [ 0, %.lr.ph47 ], [ %indvar.next, %.loopexit39 ]
  %indvars.iv52 = phi i64 [ %12, %.lr.ph47 ], [ %indvars.iv.next53, %.loopexit39 ]
  %.045.in = phi i32 [ %7, %.lr.ph47 ], [ %.045, %.loopexit39 ]
  %.045 = add nsw i32 %.045.in, -1
  %indvars.iv.next53 = add nsw i64 %indvars.iv52, -1
  %gep = getelementptr double, ptr %invariant.gep, i64 %indvars.iv.next53
  %18 = load double, ptr %gep, align 8, !tbaa !16
  %19 = fneg double %18
  %20 = getelementptr inbounds double, ptr %11, i64 %indvars.iv.next53
  store double %19, ptr %20, align 8, !tbaa !16
  %21 = icmp slt i64 %indvars.iv52, %12
  br i1 %21, label %.lr.ph.preheader, label %.loopexit39

.lr.ph.preheader:                                 ; preds = %17
  %xtraiter = and i64 %indvar, 1
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.lr.ph.prol.loopexit, label %.lr.ph.prol

.lr.ph.prol:                                      ; preds = %.lr.ph.preheader
  %22 = load double, ptr %14, align 8, !tbaa !16
  %23 = sext i32 %.045 to i64
  %24 = getelementptr inbounds double, ptr %9, i64 %23
  %25 = load double, ptr %24, align 8, !tbaa !16
  %26 = fneg double %22
  %27 = tail call double @llvm.fmuladd.f64(double %26, double %25, double %19)
  store double %27, ptr %20, align 8, !tbaa !16
  %28 = sub nsw i32 %.045, %15
  br label %.lr.ph.prol.loopexit

.lr.ph.prol.loopexit:                             ; preds = %.lr.ph.prol, %.lr.ph.preheader
  %indvars.iv.unr = phi i64 [ %12, %.lr.ph.preheader ], [ %indvars.iv.next.prol, %.lr.ph.prol ]
  %.unr = phi double [ %19, %.lr.ph.preheader ], [ %27, %.lr.ph.prol ]
  %.03641.unr = phi i32 [ %.045, %.lr.ph.preheader ], [ %28, %.lr.ph.prol ]
  %29 = icmp eq i64 %indvar, 1
  br i1 %29, label %.loopexit39, label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.prol.loopexit, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next.1, %.lr.ph ], [ %indvars.iv.unr, %.lr.ph.prol.loopexit ]
  %30 = phi double [ %46, %.lr.ph ], [ %.unr, %.lr.ph.prol.loopexit ]
  %.03641 = phi i32 [ %48, %.lr.ph ], [ %.03641.unr, %.lr.ph.prol.loopexit ]
  %indvars.iv.next = add nsw i64 %indvars.iv, -1
  %31 = getelementptr inbounds double, ptr %11, i64 %indvars.iv.next
  %32 = load double, ptr %31, align 8, !tbaa !16
  %33 = sext i32 %.03641 to i64
  %34 = getelementptr inbounds double, ptr %9, i64 %33
  %35 = load double, ptr %34, align 8, !tbaa !16
  %36 = fneg double %32
  %37 = tail call double @llvm.fmuladd.f64(double %36, double %35, double %30)
  store double %37, ptr %20, align 8, !tbaa !16
  %38 = trunc nsw i64 %indvars.iv.next to i32
  %39 = sub nsw i32 %.03641, %38
  %indvars.iv.next.1 = add nsw i64 %indvars.iv, -2
  %40 = getelementptr inbounds double, ptr %11, i64 %indvars.iv.next.1
  %41 = load double, ptr %40, align 8, !tbaa !16
  %42 = sext i32 %39 to i64
  %43 = getelementptr inbounds double, ptr %9, i64 %42
  %44 = load double, ptr %43, align 8, !tbaa !16
  %45 = fneg double %41
  %46 = tail call double @llvm.fmuladd.f64(double %45, double %44, double %37)
  store double %46, ptr %20, align 8, !tbaa !16
  %47 = trunc nsw i64 %indvars.iv.next.1 to i32
  %48 = sub nsw i32 %39, %47
  %49 = icmp sgt i64 %indvars.iv.next.1, %indvars.iv52
  br i1 %49, label %.lr.ph, label %.loopexit39, !llvm.loop !17

._crit_edge:                                      ; preds = %.loopexit39, %.._crit_edge_crit_edge
  %.pre-phi = phi i64 [ %.pre58, %.._crit_edge_crit_edge ], [ %12, %.loopexit39 ]
  %50 = phi ptr [ %.pre, %.._crit_edge_crit_edge ], [ %11, %.loopexit39 ]
  %51 = getelementptr inbounds double, ptr %50, i64 %.pre-phi
  store double 1.000000e+00, ptr %51, align 8, !tbaa !16
  %52 = getelementptr inbounds i8, ptr %0, i64 64
  %53 = load ptr, ptr %52, align 8, !tbaa !18
  %54 = getelementptr inbounds i8, ptr %0, i64 176
  %55 = load ptr, ptr %54, align 8, !tbaa !19
  %56 = getelementptr inbounds i32, ptr %55, i64 %.pre-phi
  %57 = load i32, ptr %56, align 4, !tbaa !20
  %58 = sext i32 %57 to i64
  %59 = getelementptr inbounds i32, ptr %53, i64 %58
  %60 = load i32, ptr %59, align 4, !tbaa !20
  %61 = and i32 %60, 2
  %.not = icmp eq i32 %61, 0
  %.not3848 = icmp slt i32 %3, 0
  %or.cond = or i1 %.not, %.not3848
  br i1 %or.cond, label %.loopexit, label %.lr.ph50.preheader

.lr.ph50.preheader:                               ; preds = %._crit_edge
  %wide.trip.count = zext i32 %4 to i64
  %min.iters.check = icmp ult i32 %4, 4
  br i1 %min.iters.check, label %.lr.ph50.preheader60, label %vector.ph

vector.ph:                                        ; preds = %.lr.ph50.preheader
  %n.vec = and i64 %wide.trip.count, 4294967292
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %62 = getelementptr inbounds double, ptr %50, i64 %index
  %63 = getelementptr inbounds i8, ptr %62, i64 16
  %wide.load = load <2 x double>, ptr %62, align 8, !tbaa !16
  %wide.load59 = load <2 x double>, ptr %63, align 8, !tbaa !16
  %64 = fneg <2 x double> %wide.load
  %65 = fneg <2 x double> %wide.load59
  store <2 x double> %64, ptr %62, align 8, !tbaa !16
  store <2 x double> %65, ptr %63, align 8, !tbaa !16
  %index.next = add nuw i64 %index, 4
  %66 = icmp eq i64 %index.next, %n.vec
  br i1 %66, label %middle.block, label %vector.body, !llvm.loop !21

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

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

.lr.ph50:                                         ; preds = %.lr.ph50.preheader60, %.lr.ph50
  %indvars.iv55 = phi i64 [ %indvars.iv.next56, %.lr.ph50 ], [ %indvars.iv55.ph, %.lr.ph50.preheader60 ]
  %67 = getelementptr inbounds double, ptr %50, i64 %indvars.iv55
  %68 = load double, ptr %67, align 8, !tbaa !16
  %69 = fneg double %68
  store double %69, ptr %67, align 8, !tbaa !16
  %indvars.iv.next56 = add nuw nsw i64 %indvars.iv55, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next56, %wide.trip.count
  br i1 %exitcond.not, label %.loopexit, label %.lr.ph50, !llvm.loop !24

.loopexit:                                        ; preds = %.lr.ph50, %middle.block, %._crit_edge
  ret void
}

attributes #0 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #1 = { nofree norecurse nosync nounwind memory(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" }

!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, !10, i64 192}
!6 = !{!"", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !7, i64 88, !7, i64 96, !7, i64 104, !7, i64 112, !7, i64 120, !11, i64 128, !7, i64 136, !7, i64 144, !7, i64 152, !7, i64 160, !10, i64 168, !7, i64 176, !10, i64 184, !10, i64 188, !10, i64 192, !11, i64 200, !7, i64 208, !7, i64 216, !10, i64 224, !7, i64 232}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"double", !8, i64 0}
!12 = !{!6, !7, i64 112}
!13 = !{!6, !7, i64 136}
!14 = distinct !{!14, !15}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!11, !11, i64 0}
!17 = distinct !{!17, !15}
!18 = !{!6, !7, i64 64}
!19 = !{!6, !7, i64 176}
!20 = !{!10, !10, i64 0}
!21 = distinct !{!21, !15, !22, !23}
!22 = !{!"llvm.loop.isvectorized", i32 1}
!23 = !{!"llvm.loop.unroll.runtime.disable"}
!24 = distinct !{!24, !15, !23, !22}


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