; LLVM IR from adamdempsey90/MultiGrid :: src (residual)

; 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: nounwind uwtable
define dso_local void @residual(ptr noundef %0, ptr noundef %1, ptr noundef %2, i32 noundef %3) #0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store i32 %3, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #3
  %15 = load i32, ptr %8, align 4, !tbaa !9
  %16 = shl i32 2, %15
  store i32 %16, ptr %12, align 4, !tbaa !9
  %17 = load i32, ptr %12, align 4, !tbaa !9
  %18 = sitofp i32 %17 to double
  %19 = fdiv double 1.000000e+00, %18
  store double %19, ptr %13, align 8, !tbaa !11
  %20 = load double, ptr %13, align 8, !tbaa !11
  %21 = load double, ptr %13, align 8, !tbaa !11
  %22 = fmul double %20, %21
  %23 = fdiv double 1.000000e+00, %22
  store double %23, ptr %14, align 8, !tbaa !11
  %24 = load i32, ptr %12, align 4, !tbaa !9
  %25 = add nsw i32 %24, 1
  store i32 %25, ptr %12, align 4, !tbaa !9
  store i32 1, ptr %9, align 4, !tbaa !9
  br label %26

26:                                               ; preds = %94, %4
  %27 = load i32, ptr %9, align 4, !tbaa !9
  %28 = load i32, ptr %12, align 4, !tbaa !9
  %29 = sub nsw i32 %28, 1
  %30 = icmp slt i32 %27, %29
  br i1 %30, label %31, label %97

31:                                               ; preds = %26
  store i32 1, ptr %10, align 4, !tbaa !9
  br label %32

32:                                               ; preds = %90, %31
  %33 = load i32, ptr %10, align 4, !tbaa !9
  %34 = load i32, ptr %12, align 4, !tbaa !9
  %35 = sub nsw i32 %34, 1
  %36 = icmp slt i32 %33, %35
  br i1 %36, label %37, label %93

37:                                               ; preds = %32
  %38 = load i32, ptr %10, align 4, !tbaa !9
  %39 = load i32, ptr %12, align 4, !tbaa !9
  %40 = load i32, ptr %9, align 4, !tbaa !9
  %41 = mul nsw i32 %39, %40
  %42 = add nsw i32 %38, %41
  store i32 %42, ptr %11, align 4, !tbaa !9
  %43 = load double, ptr %14, align 8, !tbaa !11
  %44 = fneg double %43
  %45 = load ptr, ptr %6, align 8, !tbaa !5
  %46 = load i32, ptr %11, align 4, !tbaa !9
  %47 = add nsw i32 %46, 1
  %48 = sext i32 %47 to i64
  %49 = getelementptr inbounds double, ptr %45, i64 %48
  %50 = load double, ptr %49, align 8, !tbaa !11
  %51 = load ptr, ptr %6, align 8, !tbaa !5
  %52 = load i32, ptr %11, align 4, !tbaa !9
  %53 = sub nsw i32 %52, 1
  %54 = sext i32 %53 to i64
  %55 = getelementptr inbounds double, ptr %51, i64 %54
  %56 = load double, ptr %55, align 8, !tbaa !11
  %57 = fadd double %50, %56
  %58 = load ptr, ptr %6, align 8, !tbaa !5
  %59 = load i32, ptr %11, align 4, !tbaa !9
  %60 = load i32, ptr %12, align 4, !tbaa !9
  %61 = add nsw i32 %59, %60
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds double, ptr %58, i64 %62
  %64 = load double, ptr %63, align 8, !tbaa !11
  %65 = fadd double %57, %64
  %66 = load ptr, ptr %6, align 8, !tbaa !5
  %67 = load i32, ptr %11, align 4, !tbaa !9
  %68 = load i32, ptr %12, align 4, !tbaa !9
  %69 = sub nsw i32 %67, %68
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds double, ptr %66, i64 %70
  %72 = load double, ptr %71, align 8, !tbaa !11
  %73 = fadd double %65, %72
  %74 = load ptr, ptr %6, align 8, !tbaa !5
  %75 = load i32, ptr %11, align 4, !tbaa !9
  %76 = sext i32 %75 to i64
  %77 = getelementptr inbounds double, ptr %74, i64 %76
  %78 = load double, ptr %77, align 8, !tbaa !11
  %79 = call double @llvm.fmuladd.f64(double -4.000000e+00, double %78, double %73)
  %80 = load ptr, ptr %7, align 8, !tbaa !5
  %81 = load i32, ptr %11, align 4, !tbaa !9
  %82 = sext i32 %81 to i64
  %83 = getelementptr inbounds double, ptr %80, i64 %82
  %84 = load double, ptr %83, align 8, !tbaa !11
  %85 = call double @llvm.fmuladd.f64(double %44, double %79, double %84)
  %86 = load ptr, ptr %5, align 8, !tbaa !5
  %87 = load i32, ptr %11, align 4, !tbaa !9
  %88 = sext i32 %87 to i64
  %89 = getelementptr inbounds double, ptr %86, i64 %88
  store double %85, ptr %89, align 8, !tbaa !11
  br label %90

90:                                               ; preds = %37
  %91 = load i32, ptr %10, align 4, !tbaa !9
  %92 = add nsw i32 %91, 1
  store i32 %92, ptr %10, align 4, !tbaa !9
  br label %32, !llvm.loop !13

93:                                               ; preds = %32
  br label %94

94:                                               ; preds = %93
  %95 = load i32, ptr %9, align 4, !tbaa !9
  %96 = add nsw i32 %95, 1
  store i32 %96, ptr %9, align 4, !tbaa !9
  br label %26, !llvm.loop !15

97:                                               ; preds = %26
  store i32 0, ptr %9, align 4, !tbaa !9
  br label %98

98:                                               ; preds = %131, %97
  %99 = load i32, ptr %9, align 4, !tbaa !9
  %100 = load i32, ptr %12, align 4, !tbaa !9
  %101 = icmp slt i32 %99, %100
  br i1 %101, label %102, label %134

102:                                              ; preds = %98
  %103 = load ptr, ptr %5, align 8, !tbaa !5
  %104 = load i32, ptr %12, align 4, !tbaa !9
  %105 = load i32, ptr %9, align 4, !tbaa !9
  %106 = mul nsw i32 %104, %105
  %107 = sext i32 %106 to i64
  %108 = getelementptr inbounds double, ptr %103, i64 %107
  store double 0.000000e+00, ptr %108, align 8, !tbaa !11
  %109 = load ptr, ptr %5, align 8, !tbaa !5
  %110 = load i32, ptr %12, align 4, !tbaa !9
  %111 = load i32, ptr %9, align 4, !tbaa !9
  %112 = mul nsw i32 %110, %111
  %113 = load i32, ptr %12, align 4, !tbaa !9
  %114 = add nsw i32 %112, %113
  %115 = sub nsw i32 %114, 1
  %116 = sext i32 %115 to i64
  %117 = getelementptr inbounds double, ptr %109, i64 %116
  store double 0.000000e+00, ptr %117, align 8, !tbaa !11
  %118 = load ptr, ptr %5, align 8, !tbaa !5
  %119 = load i32, ptr %9, align 4, !tbaa !9
  %120 = sext i32 %119 to i64
  %121 = getelementptr inbounds double, ptr %118, i64 %120
  store double 0.000000e+00, ptr %121, align 8, !tbaa !11
  %122 = load ptr, ptr %5, align 8, !tbaa !5
  %123 = load i32, ptr %9, align 4, !tbaa !9
  %124 = load i32, ptr %12, align 4, !tbaa !9
  %125 = load i32, ptr %12, align 4, !tbaa !9
  %126 = sub nsw i32 %125, 1
  %127 = mul nsw i32 %124, %126
  %128 = add nsw i32 %123, %127
  %129 = sext i32 %128 to i64
  %130 = getelementptr inbounds double, ptr %122, i64 %129
  store double 0.000000e+00, ptr %130, align 8, !tbaa !11
  br label %131

131:                                              ; preds = %102
  %132 = load i32, ptr %9, align 4, !tbaa !9
  %133 = add nsw i32 %132, 1
  store i32 %133, ptr %9, align 4, !tbaa !9
  br label %98, !llvm.loop !16

134:                                              ; preds = %98
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #3
  ret void
}

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

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

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

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 = { 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 = !{!"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 = !{!"double", !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: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable
define dso_local void @residual(ptr nocapture noundef writeonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, i32 noundef %3) local_unnamed_addr #0 {
  %5 = shl i32 2, %3
  %6 = or disjoint i32 %5, 1
  %7 = icmp sgt i32 %5, 1
  br i1 %7, label %.preheader50.lr.ph, label %.preheader

.preheader50.lr.ph:                               ; preds = %4
  %8 = uitofp nneg i32 %5 to double
  %9 = fdiv double 1.000000e+00, %8
  %10 = fmul double %9, %9
  %11 = fdiv double -1.000000e+00, %10
  %12 = zext nneg i32 %6 to i64
  %wide.trip.count59 = zext nneg i32 %5 to i64
  %invariant.gep66 = getelementptr inbounds double, ptr %1, i64 %12
  %13 = shl nuw nsw i64 %wide.trip.count59, 3
  %14 = add nuw nsw i64 %13, 16
  %scevgep = getelementptr i8, ptr %0, i64 %14
  %15 = add nsw i64 %wide.trip.count59, -2
  %16 = or disjoint i64 %13, 8
  %17 = mul i64 %15, %16
  %18 = shl nuw nsw i64 %wide.trip.count59, 4
  %19 = add i64 %17, %18
  %20 = or disjoint i64 %19, 8
  %scevgep71 = getelementptr i8, ptr %0, i64 %20
  %21 = getelementptr i8, ptr %1, i64 %19
  %scevgep72 = getelementptr i8, ptr %21, i64 16
  %scevgep73 = getelementptr i8, ptr %1, i64 8
  %22 = getelementptr i8, ptr %1, i64 %17
  %scevgep74 = getelementptr i8, ptr %22, i64 %13
  %23 = or disjoint i64 %18, 24
  %scevgep75 = getelementptr i8, ptr %1, i64 %23
  %24 = mul nuw nsw i64 %wide.trip.count59, 24
  %25 = getelementptr i8, ptr %1, i64 %17
  %26 = getelementptr i8, ptr %25, i64 %24
  %scevgep76 = getelementptr i8, ptr %26, i64 16
  %scevgep77 = getelementptr i8, ptr %2, i64 %14
  %scevgep78 = getelementptr i8, ptr %2, i64 %20
  %min.iters.check = icmp ult i32 %5, 5
  %bound0 = icmp ult ptr %scevgep, %scevgep72
  %bound1 = icmp ult ptr %invariant.gep66, %scevgep71
  %found.conflict = and i1 %bound0, %bound1
  %bound079 = icmp ult ptr %scevgep, %scevgep74
  %bound180 = icmp ult ptr %scevgep73, %scevgep71
  %found.conflict81 = and i1 %bound079, %bound180
  %conflict.rdx = or i1 %found.conflict, %found.conflict81
  %bound082 = icmp ult ptr %scevgep, %scevgep76
  %bound183 = icmp ult ptr %scevgep75, %scevgep71
  %found.conflict84 = and i1 %bound082, %bound183
  %conflict.rdx85 = or i1 %conflict.rdx, %found.conflict84
  %bound086 = icmp ult ptr %scevgep, %scevgep78
  %bound187 = icmp ult ptr %scevgep77, %scevgep71
  %found.conflict88 = and i1 %bound086, %bound187
  %conflict.rdx89 = or i1 %conflict.rdx85, %found.conflict88
  %ind.end = add nsw i64 %wide.trip.count59, -1
  %broadcast.splatinsert = insertelement <2 x double> poison, double %11, i64 0
  %broadcast.splat = shufflevector <2 x double> %broadcast.splatinsert, <2 x double> poison, <2 x i32> zeroinitializer
  %27 = add nsw i64 %wide.trip.count59, -4
  br label %.preheader50.us

.preheader50.us:                                  ; preds = %._crit_edge.us, %.preheader50.lr.ph
  %indvars.iv56 = phi i64 [ %indvars.iv.next57, %._crit_edge.us ], [ 1, %.preheader50.lr.ph ]
  %28 = mul nuw nsw i64 %indvars.iv56, %12
  %brmerge = select i1 %min.iters.check, i1 true, i1 %conflict.rdx89
  br i1 %brmerge, label %scalar.ph.preheader, label %vector.body

vector.body:                                      ; preds = %.preheader50.us, %vector.body
  %index = phi i64 [ %index.next, %vector.body ], [ 0, %.preheader50.us ]
  %offset.idx = or disjoint i64 %index, 1
  %29 = add nuw nsw i64 %offset.idx, %28
  %30 = getelementptr double, ptr %1, i64 %29
  %31 = getelementptr i8, ptr %30, i64 8
  %wide.load = load <2 x double>, ptr %31, align 8, !tbaa !5, !alias.scope !9
  %32 = getelementptr i8, ptr %30, i64 -8
  %wide.load90 = load <2 x double>, ptr %32, align 8, !tbaa !5, !alias.scope !9
  %33 = fadd <2 x double> %wide.load, %wide.load90
  %34 = getelementptr inbounds double, ptr %invariant.gep66, i64 %29
  %wide.load91 = load <2 x double>, ptr %34, align 8, !tbaa !5, !alias.scope !12
  %35 = fadd <2 x double> %33, %wide.load91
  %36 = sub nsw i64 %29, %12
  %37 = getelementptr inbounds double, ptr %1, i64 %36
  %wide.load92 = load <2 x double>, ptr %37, align 8, !tbaa !5, !alias.scope !14
  %38 = fadd <2 x double> %35, %wide.load92
  %wide.load93 = load <2 x double>, ptr %30, align 8, !tbaa !5, !alias.scope !9
  %39 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %wide.load93, <2 x double> <double -4.000000e+00, double -4.000000e+00>, <2 x double> %38)
  %40 = getelementptr inbounds double, ptr %2, i64 %29
  %wide.load94 = load <2 x double>, ptr %40, align 8, !tbaa !5, !alias.scope !16
  %41 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat, <2 x double> %39, <2 x double> %wide.load94)
  %42 = getelementptr inbounds double, ptr %0, i64 %29
  store <2 x double> %41, ptr %42, align 8, !tbaa !5, !alias.scope !18, !noalias !20
  %index.next = add nuw i64 %index, 2
  %43 = icmp eq i64 %index, %27
  br i1 %43, label %scalar.ph.preheader, label %vector.body, !llvm.loop !21

scalar.ph.preheader:                              ; preds = %vector.body, %.preheader50.us
  %indvars.iv.ph = phi i64 [ 1, %.preheader50.us ], [ %ind.end, %vector.body ]
  br label %scalar.ph

scalar.ph:                                        ; preds = %scalar.ph.preheader, %scalar.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %scalar.ph ], [ %indvars.iv.ph, %scalar.ph.preheader ]
  %44 = add nuw nsw i64 %indvars.iv, %28
  %45 = getelementptr double, ptr %1, i64 %44
  %46 = getelementptr i8, ptr %45, i64 8
  %47 = load double, ptr %46, align 8, !tbaa !5
  %48 = getelementptr i8, ptr %45, i64 -8
  %49 = load double, ptr %48, align 8, !tbaa !5
  %50 = fadd double %47, %49
  %gep67 = getelementptr inbounds double, ptr %invariant.gep66, i64 %44
  %51 = load double, ptr %gep67, align 8, !tbaa !5
  %52 = fadd double %50, %51
  %53 = sub nsw i64 %44, %12
  %54 = getelementptr inbounds double, ptr %1, i64 %53
  %55 = load double, ptr %54, align 8, !tbaa !5
  %56 = fadd double %52, %55
  %57 = load double, ptr %45, align 8, !tbaa !5
  %58 = tail call double @llvm.fmuladd.f64(double %57, double -4.000000e+00, double %56)
  %59 = getelementptr inbounds double, ptr %2, i64 %44
  %60 = load double, ptr %59, align 8, !tbaa !5
  %61 = tail call double @llvm.fmuladd.f64(double %11, double %58, double %60)
  %62 = getelementptr inbounds double, ptr %0, i64 %44
  store double %61, ptr %62, align 8, !tbaa !5
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count59
  br i1 %exitcond.not, label %._crit_edge.us, label %scalar.ph, !llvm.loop !25

._crit_edge.us:                                   ; preds = %scalar.ph
  %indvars.iv.next57 = add nuw nsw i64 %indvars.iv56, 1
  %exitcond60.not = icmp eq i64 %indvars.iv.next57, %wide.trip.count59
  br i1 %exitcond60.not, label %.preheader, label %.preheader50.us, !llvm.loop !26

.preheader:                                       ; preds = %._crit_edge.us, %4
  %.not53 = icmp slt i32 %5, 0
  br i1 %.not53, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.preheader
  %invariant.gep = getelementptr i8, ptr %0, i64 -8
  %63 = mul nuw nsw i32 %6, %5
  %64 = zext nneg i32 %6 to i64
  %65 = zext nneg i32 %63 to i64
  %invariant.gep68 = getelementptr double, ptr %invariant.gep, i64 %64
  %invariant.gep70 = getelementptr inbounds double, ptr %0, i64 %65
  %66 = icmp ugt i32 %3, 30
  br i1 %66, label %._crit_edge.loopexit.epilog-lcssa, label %.lr.ph.new

.lr.ph.new:                                       ; preds = %.lr.ph
  %unroll_iter = zext nneg i32 %5 to i64
  br label %67

67:                                               ; preds = %67, %.lr.ph.new
  %indvars.iv61 = phi i64 [ 0, %.lr.ph.new ], [ %indvars.iv.next62.1, %67 ]
  %niter = phi i64 [ 0, %.lr.ph.new ], [ %niter.next.1, %67 ]
  %68 = mul nuw nsw i64 %indvars.iv61, %64
  %69 = getelementptr inbounds double, ptr %0, i64 %68
  store double 0.000000e+00, ptr %69, align 8, !tbaa !5
  %gep69 = getelementptr double, ptr %invariant.gep68, i64 %68
  store double 0.000000e+00, ptr %gep69, align 8, !tbaa !5
  %70 = getelementptr inbounds double, ptr %0, i64 %indvars.iv61
  store double 0.000000e+00, ptr %70, align 8, !tbaa !5
  %gep = getelementptr inbounds double, ptr %invariant.gep70, i64 %indvars.iv61
  store double 0.000000e+00, ptr %gep, align 8, !tbaa !5
  %indvars.iv.next62 = or disjoint i64 %indvars.iv61, 1
  %71 = mul nuw nsw i64 %indvars.iv.next62, %64
  %72 = getelementptr inbounds double, ptr %0, i64 %71
  store double 0.000000e+00, ptr %72, align 8, !tbaa !5
  %gep69.1 = getelementptr double, ptr %invariant.gep68, i64 %71
  store double 0.000000e+00, ptr %gep69.1, align 8, !tbaa !5
  %73 = getelementptr inbounds double, ptr %0, i64 %indvars.iv.next62
  store double 0.000000e+00, ptr %73, align 8, !tbaa !5
  %gep.1 = getelementptr inbounds double, ptr %invariant.gep70, i64 %indvars.iv.next62
  store double 0.000000e+00, ptr %gep.1, align 8, !tbaa !5
  %indvars.iv.next62.1 = add nuw nsw i64 %indvars.iv61, 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.epilog-lcssa, label %67, !llvm.loop !27

._crit_edge.loopexit.epilog-lcssa:                ; preds = %67, %.lr.ph
  %indvars.iv61.unr = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next62.1, %67 ]
  %74 = mul nuw nsw i64 %indvars.iv61.unr, %64
  %75 = getelementptr inbounds double, ptr %0, i64 %74
  store double 0.000000e+00, ptr %75, align 8, !tbaa !5
  %gep69.epil = getelementptr double, ptr %invariant.gep68, i64 %74
  store double 0.000000e+00, ptr %gep69.epil, align 8, !tbaa !5
  %76 = getelementptr inbounds double, ptr %0, i64 %indvars.iv61.unr
  store double 0.000000e+00, ptr %76, align 8, !tbaa !5
  %gep.epil = getelementptr inbounds double, ptr %invariant.gep70, i64 %indvars.iv61.unr
  store double 0.000000e+00, ptr %gep.epil, align 8, !tbaa !5
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit.epilog-lcssa, %.preheader
  ret void
}

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

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

attributes #0 = { nofree norecurse nosync nounwind memory(argmem: readwrite) 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) }

!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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10}
!10 = distinct !{!10, !11}
!11 = distinct !{!11, !"LVerDomain"}
!12 = !{!13}
!13 = distinct !{!13, !11}
!14 = !{!15}
!15 = distinct !{!15, !11}
!16 = !{!17}
!17 = distinct !{!17, !11}
!18 = !{!19}
!19 = distinct !{!19, !11}
!20 = !{!10, !15, !13, !17}
!21 = distinct !{!21, !22, !23, !24}
!22 = !{!"llvm.loop.mustprogress"}
!23 = !{!"llvm.loop.isvectorized", i32 1}
!24 = !{!"llvm.loop.unroll.runtime.disable"}
!25 = distinct !{!25, !22, !23}
!26 = distinct !{!26, !22}
!27 = distinct !{!27, !22}


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