; LLVM IR from OpenMathLib/OpenBLAS :: lapack-netlib/SRC (zla_gerpvgrw)

; 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.doublecomplex = type { double, double }

; Function Attrs: nounwind uwtable
define dso_local double @zla_gerpvgrw_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5) #0 {
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  %17 = alloca i32, align 4
  %18 = alloca i32, align 4
  %19 = alloca i32, align 4
  %20 = alloca double, align 8
  %21 = alloca double, align 8
  %22 = alloca double, align 8
  %23 = alloca double, align 8
  %24 = alloca double, align 8
  %25 = alloca double, align 8
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  %28 = alloca double, align 8
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  store ptr %5, ptr %12, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #3
  %29 = load ptr, ptr %10, align 8, !tbaa !5
  %30 = load i32, ptr %29, align 4, !tbaa !9
  store i32 %30, ptr %13, align 4, !tbaa !9
  %31 = load i32, ptr %13, align 4, !tbaa !9
  %32 = mul nsw i32 %31, 1
  %33 = add nsw i32 1, %32
  store i32 %33, ptr %14, align 4, !tbaa !9
  %34 = load i32, ptr %14, align 4, !tbaa !9
  %35 = load ptr, ptr %9, align 8, !tbaa !5
  %36 = sext i32 %34 to i64
  %37 = sub i64 0, %36
  %38 = getelementptr inbounds %struct.doublecomplex, ptr %35, i64 %37
  store ptr %38, ptr %9, align 8, !tbaa !5
  %39 = load ptr, ptr %12, align 8, !tbaa !5
  %40 = load i32, ptr %39, align 4, !tbaa !9
  store i32 %40, ptr %15, align 4, !tbaa !9
  %41 = load i32, ptr %15, align 4, !tbaa !9
  %42 = mul nsw i32 %41, 1
  %43 = add nsw i32 1, %42
  store i32 %43, ptr %16, align 4, !tbaa !9
  %44 = load i32, ptr %16, align 4, !tbaa !9
  %45 = load ptr, ptr %11, align 8, !tbaa !5
  %46 = sext i32 %44 to i64
  %47 = sub i64 0, %46
  %48 = getelementptr inbounds %struct.doublecomplex, ptr %45, i64 %47
  store ptr %48, ptr %11, align 8, !tbaa !5
  store double 1.000000e+00, ptr %28, align 8, !tbaa !11
  %49 = load ptr, ptr %8, align 8, !tbaa !5
  %50 = load i32, ptr %49, align 4, !tbaa !9
  store i32 %50, ptr %17, align 4, !tbaa !9
  store i32 1, ptr %27, align 4, !tbaa !9
  br label %51

51:                                               ; preds = %193, %6
  %52 = load i32, ptr %27, align 4, !tbaa !9
  %53 = load i32, ptr %17, align 4, !tbaa !9
  %54 = icmp sle i32 %52, %53
  br i1 %54, label %55, label %196

55:                                               ; preds = %51
  store double 0.000000e+00, ptr %24, align 8, !tbaa !11
  store double 0.000000e+00, ptr %25, align 8, !tbaa !11
  %56 = load ptr, ptr %7, align 8, !tbaa !5
  %57 = load i32, ptr %56, align 4, !tbaa !9
  store i32 %57, ptr %18, align 4, !tbaa !9
  store i32 1, ptr %26, align 4, !tbaa !9
  br label %58

58:                                               ; preds = %113, %55
  %59 = load i32, ptr %26, align 4, !tbaa !9
  %60 = load i32, ptr %18, align 4, !tbaa !9
  %61 = icmp sle i32 %59, %60
  br i1 %61, label %62, label %116

62:                                               ; preds = %58
  %63 = load i32, ptr %26, align 4, !tbaa !9
  %64 = load i32, ptr %27, align 4, !tbaa !9
  %65 = load i32, ptr %13, align 4, !tbaa !9
  %66 = mul nsw i32 %64, %65
  %67 = add nsw i32 %63, %66
  store i32 %67, ptr %19, align 4, !tbaa !9
  %68 = load ptr, ptr %9, align 8, !tbaa !5
  %69 = load i32, ptr %19, align 4, !tbaa !9
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds %struct.doublecomplex, ptr %68, i64 %70
  %72 = getelementptr inbounds %struct.doublecomplex, ptr %71, i32 0, i32 0
  %73 = load double, ptr %72, align 8, !tbaa !13
  store double %73, ptr %21, align 8, !tbaa !11
  %74 = load double, ptr %21, align 8, !tbaa !11
  %75 = fcmp oge double %74, 0.000000e+00
  br i1 %75, label %76, label %78

76:                                               ; preds = %62
  %77 = load double, ptr %21, align 8, !tbaa !11
  br label %81

78:                                               ; preds = %62
  %79 = load double, ptr %21, align 8, !tbaa !11
  %80 = fneg double %79
  br label %81

81:                                               ; preds = %78, %76
  %82 = phi double [ %77, %76 ], [ %80, %78 ]
  %83 = load ptr, ptr %9, align 8, !tbaa !5
  %84 = load i32, ptr %26, align 4, !tbaa !9
  %85 = load i32, ptr %27, align 4, !tbaa !9
  %86 = load i32, ptr %13, align 4, !tbaa !9
  %87 = mul nsw i32 %85, %86
  %88 = add nsw i32 %84, %87
  %89 = sext i32 %88 to i64
  %90 = getelementptr inbounds %struct.doublecomplex, ptr %83, i64 %89
  %91 = call { double, double } @Cd(ptr noundef %90)
  %92 = extractvalue { double, double } %91, 0
  %93 = extractvalue { double, double } %91, 1
  store double %93, ptr %22, align 8, !tbaa !11
  %94 = load double, ptr %22, align 8, !tbaa !11
  %95 = fcmp oge double %94, 0.000000e+00
  br i1 %95, label %96, label %98

96:                                               ; preds = %81
  %97 = load double, ptr %22, align 8, !tbaa !11
  br label %101

98:                                               ; preds = %81
  %99 = load double, ptr %22, align 8, !tbaa !11
  %100 = fneg double %99
  br label %101

101:                                              ; preds = %98, %96
  %102 = phi double [ %97, %96 ], [ %100, %98 ]
  %103 = fadd double %82, %102
  store double %103, ptr %23, align 8, !tbaa !11
  %104 = load double, ptr %23, align 8, !tbaa !11
  %105 = load double, ptr %24, align 8, !tbaa !11
  %106 = fcmp oge double %104, %105
  br i1 %106, label %107, label %109

107:                                              ; preds = %101
  %108 = load double, ptr %23, align 8, !tbaa !11
  br label %111

109:                                              ; preds = %101
  %110 = load double, ptr %24, align 8, !tbaa !11
  br label %111

111:                                              ; preds = %109, %107
  %112 = phi double [ %108, %107 ], [ %110, %109 ]
  store double %112, ptr %24, align 8, !tbaa !11
  br label %113

113:                                              ; preds = %111
  %114 = load i32, ptr %26, align 4, !tbaa !9
  %115 = add nsw i32 %114, 1
  store i32 %115, ptr %26, align 4, !tbaa !9
  br label %58, !llvm.loop !15

116:                                              ; preds = %58
  %117 = load i32, ptr %27, align 4, !tbaa !9
  store i32 %117, ptr %18, align 4, !tbaa !9
  store i32 1, ptr %26, align 4, !tbaa !9
  br label %118

118:                                              ; preds = %173, %116
  %119 = load i32, ptr %26, align 4, !tbaa !9
  %120 = load i32, ptr %18, align 4, !tbaa !9
  %121 = icmp sle i32 %119, %120
  br i1 %121, label %122, label %176

122:                                              ; preds = %118
  %123 = load i32, ptr %26, align 4, !tbaa !9
  %124 = load i32, ptr %27, align 4, !tbaa !9
  %125 = load i32, ptr %15, align 4, !tbaa !9
  %126 = mul nsw i32 %124, %125
  %127 = add nsw i32 %123, %126
  store i32 %127, ptr %19, align 4, !tbaa !9
  %128 = load ptr, ptr %11, align 8, !tbaa !5
  %129 = load i32, ptr %19, align 4, !tbaa !9
  %130 = sext i32 %129 to i64
  %131 = getelementptr inbounds %struct.doublecomplex, ptr %128, i64 %130
  %132 = getelementptr inbounds %struct.doublecomplex, ptr %131, i32 0, i32 0
  %133 = load double, ptr %132, align 8, !tbaa !13
  store double %133, ptr %21, align 8, !tbaa !11
  %134 = load double, ptr %21, align 8, !tbaa !11
  %135 = fcmp oge double %134, 0.000000e+00
  br i1 %135, label %136, label %138

136:                                              ; preds = %122
  %137 = load double, ptr %21, align 8, !tbaa !11
  br label %141

138:                                              ; preds = %122
  %139 = load double, ptr %21, align 8, !tbaa !11
  %140 = fneg double %139
  br label %141

141:                                              ; preds = %138, %136
  %142 = phi double [ %137, %136 ], [ %140, %138 ]
  %143 = load ptr, ptr %11, align 8, !tbaa !5
  %144 = load i32, ptr %26, align 4, !tbaa !9
  %145 = load i32, ptr %27, align 4, !tbaa !9
  %146 = load i32, ptr %15, align 4, !tbaa !9
  %147 = mul nsw i32 %145, %146
  %148 = add nsw i32 %144, %147
  %149 = sext i32 %148 to i64
  %150 = getelementptr inbounds %struct.doublecomplex, ptr %143, i64 %149
  %151 = call { double, double } @Cd(ptr noundef %150)
  %152 = extractvalue { double, double } %151, 0
  %153 = extractvalue { double, double } %151, 1
  store double %153, ptr %22, align 8, !tbaa !11
  %154 = load double, ptr %22, align 8, !tbaa !11
  %155 = fcmp oge double %154, 0.000000e+00
  br i1 %155, label %156, label %158

156:                                              ; preds = %141
  %157 = load double, ptr %22, align 8, !tbaa !11
  br label %161

158:                                              ; preds = %141
  %159 = load double, ptr %22, align 8, !tbaa !11
  %160 = fneg double %159
  br label %161

161:                                              ; preds = %158, %156
  %162 = phi double [ %157, %156 ], [ %160, %158 ]
  %163 = fadd double %142, %162
  store double %163, ptr %23, align 8, !tbaa !11
  %164 = load double, ptr %23, align 8, !tbaa !11
  %165 = load double, ptr %25, align 8, !tbaa !11
  %166 = fcmp oge double %164, %165
  br i1 %166, label %167, label %169

167:                                              ; preds = %161
  %168 = load double, ptr %23, align 8, !tbaa !11
  br label %171

169:                                              ; preds = %161
  %170 = load double, ptr %25, align 8, !tbaa !11
  br label %171

171:                                              ; preds = %169, %167
  %172 = phi double [ %168, %167 ], [ %170, %169 ]
  store double %172, ptr %25, align 8, !tbaa !11
  br label %173

173:                                              ; preds = %171
  %174 = load i32, ptr %26, align 4, !tbaa !9
  %175 = add nsw i32 %174, 1
  store i32 %175, ptr %26, align 4, !tbaa !9
  br label %118, !llvm.loop !17

176:                                              ; preds = %118
  %177 = load double, ptr %25, align 8, !tbaa !11
  %178 = fcmp une double %177, 0.000000e+00
  br i1 %178, label %179, label %192

179:                                              ; preds = %176
  %180 = load double, ptr %24, align 8, !tbaa !11
  %181 = load double, ptr %25, align 8, !tbaa !11
  %182 = fdiv double %180, %181
  store double %182, ptr %21, align 8, !tbaa !11
  %183 = load double, ptr %21, align 8, !tbaa !11
  %184 = load double, ptr %28, align 8, !tbaa !11
  %185 = fcmp ole double %183, %184
  br i1 %185, label %186, label %188

186:                                              ; preds = %179
  %187 = load double, ptr %21, align 8, !tbaa !11
  br label %190

188:                                              ; preds = %179
  %189 = load double, ptr %28, align 8, !tbaa !11
  br label %190

190:                                              ; preds = %188, %186
  %191 = phi double [ %187, %186 ], [ %189, %188 ]
  store double %191, ptr %28, align 8, !tbaa !11
  br label %192

192:                                              ; preds = %190, %176
  br label %193

193:                                              ; preds = %192
  %194 = load i32, ptr %27, align 4, !tbaa !9
  %195 = add nsw i32 %194, 1
  store i32 %195, ptr %27, align 4, !tbaa !9
  br label %51, !llvm.loop !18

196:                                              ; preds = %51
  %197 = load double, ptr %28, align 8, !tbaa !11
  store double %197, ptr %20, align 8, !tbaa !11
  %198 = load double, ptr %20, align 8, !tbaa !11
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #3
  ret double %198
}

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

; Function Attrs: inlinehint nounwind uwtable
declare hidden { double, double } @Cd(ptr noundef) #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 = { 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 #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 = !{!14, !12, i64 0}
!14 = !{!"", !12, i64 0, !12, i64 8}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}
!18 = distinct !{!18, !16}


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

%struct.doublecomplex = type { double, double }

; Function Attrs: nounwind uwtable
define dso_local double @zla_gerpvgrw_(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr noundef %2, ptr nocapture noundef readonly %3, ptr noundef %4, ptr nocapture noundef readonly %5) local_unnamed_addr #0 {
  %7 = load i32, ptr %3, align 4, !tbaa !5
  %narrow = xor i32 %7, -1
  %8 = sext i32 %narrow to i64
  %9 = getelementptr inbounds %struct.doublecomplex, ptr %2, i64 %8
  %10 = load i32, ptr %5, align 4, !tbaa !5
  %narrow71 = xor i32 %10, -1
  %11 = sext i32 %narrow71 to i64
  %12 = getelementptr inbounds %struct.doublecomplex, ptr %4, i64 %11
  %13 = load i32, ptr %1, align 4, !tbaa !5
  %.not79 = icmp slt i32 %13, 1
  br i1 %.not79, label %._crit_edge, label %.lr.ph82.preheader

.lr.ph82.preheader:                               ; preds = %6
  %14 = sext i32 %10 to i64
  %15 = sext i32 %7 to i64
  %16 = add nuw i32 %13, 1
  %wide.trip.count100 = zext i32 %16 to i64
  br label %.lr.ph82

.lr.ph82:                                         ; preds = %.lr.ph82.preheader, %53
  %indvars.iv95 = phi i64 [ 1, %.lr.ph82.preheader ], [ %indvars.iv.next96, %53 ]
  %indvars.iv93 = phi i64 [ 2, %.lr.ph82.preheader ], [ %indvars.iv.next94, %53 ]
  %.081 = phi double [ 1.000000e+00, %.lr.ph82.preheader ], [ %.1, %53 ]
  %17 = load i32, ptr %0, align 4, !tbaa !5
  %.not7274 = icmp slt i32 %17, 1
  br i1 %.not7274, label %.preheader, label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph82
  %18 = mul nsw i64 %indvars.iv95, %15
  %19 = add nuw i32 %17, 1
  %wide.trip.count = zext i32 %19 to i64
  %invariant.gep = getelementptr %struct.doublecomplex, ptr %9, i64 %18
  br label %21

.preheader:                                       ; preds = %21, %.lr.ph82
  %.070.lcssa = phi double [ 0.000000e+00, %.lr.ph82 ], [ %33, %21 ]
  %20 = mul nsw i64 %indvars.iv95, %14
  %invariant.gep103 = getelementptr %struct.doublecomplex, ptr %12, i64 %20
  br label %34

21:                                               ; preds = %.lr.ph, %21
  %indvars.iv = phi i64 [ 1, %.lr.ph ], [ %indvars.iv.next, %21 ]
  %.07075 = phi double [ 0.000000e+00, %.lr.ph ], [ %33, %21 ]
  %gep = getelementptr %struct.doublecomplex, ptr %invariant.gep, i64 %indvars.iv
  %22 = load double, ptr %gep, align 8, !tbaa !9
  %23 = tail call { double, double } @Cd(ptr noundef nonnull %gep)
  %24 = extractvalue { double, double } %23, 1
  %25 = insertelement <2 x double> poison, double %22, i64 0
  %26 = insertelement <2 x double> %25, double %24, i64 1
  %27 = fcmp oge <2 x double> %26, zeroinitializer
  %28 = fneg <2 x double> %26
  %29 = select <2 x i1> %27, <2 x double> %26, <2 x double> %28
  %shift = shufflevector <2 x double> %29, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %30 = fadd <2 x double> %29, %shift
  %31 = extractelement <2 x double> %30, i64 0
  %32 = fcmp oge double %31, %.07075
  %33 = select i1 %32, double %31, double %.07075
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.preheader, label %21, !llvm.loop !12

34:                                               ; preds = %.preheader, %34
  %indvars.iv86 = phi i64 [ 1, %.preheader ], [ %indvars.iv.next87, %34 ]
  %.06977 = phi double [ 0.000000e+00, %.preheader ], [ %46, %34 ]
  %gep104 = getelementptr %struct.doublecomplex, ptr %invariant.gep103, i64 %indvars.iv86
  %35 = load double, ptr %gep104, align 8, !tbaa !9
  %36 = tail call { double, double } @Cd(ptr noundef nonnull %gep104)
  %37 = extractvalue { double, double } %36, 1
  %38 = insertelement <2 x double> poison, double %35, i64 0
  %39 = insertelement <2 x double> %38, double %37, i64 1
  %40 = fcmp oge <2 x double> %39, zeroinitializer
  %41 = fneg <2 x double> %39
  %42 = select <2 x i1> %40, <2 x double> %39, <2 x double> %41
  %shift106 = shufflevector <2 x double> %42, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %43 = fadd <2 x double> %42, %shift106
  %44 = extractelement <2 x double> %43, i64 0
  %45 = fcmp oge double %44, %.06977
  %46 = select i1 %45, double %44, double %.06977
  %indvars.iv.next87 = add nuw nsw i64 %indvars.iv86, 1
  %exitcond92.not = icmp eq i64 %indvars.iv.next87, %indvars.iv93
  br i1 %exitcond92.not, label %47, label %34, !llvm.loop !14

47:                                               ; preds = %34
  %48 = fcmp une double %46, 0.000000e+00
  br i1 %48, label %49, label %53

49:                                               ; preds = %47
  %50 = fdiv double %.070.lcssa, %46
  %51 = fcmp ole double %50, %.081
  %52 = select i1 %51, double %50, double %.081
  br label %53

53:                                               ; preds = %47, %49
  %.1 = phi double [ %52, %49 ], [ %.081, %47 ]
  %indvars.iv.next96 = add nuw nsw i64 %indvars.iv95, 1
  %indvars.iv.next94 = add nuw nsw i64 %indvars.iv93, 1
  %exitcond101.not = icmp eq i64 %indvars.iv.next96, %wide.trip.count100
  br i1 %exitcond101.not, label %._crit_edge, label %.lr.ph82, !llvm.loop !15

._crit_edge:                                      ; preds = %53, %6
  %.0.lcssa = phi double [ 1.000000e+00, %6 ], [ %.1, %53 ]
  ret double %.0.lcssa
}

; Function Attrs: inlinehint nounwind uwtable
declare hidden { double, double } @Cd(ptr noundef) local_unnamed_addr #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 = { 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" }

!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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"", !11, i64 0, !11, i64 8}
!11 = !{!"double", !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
!15 = distinct !{!15, !13}


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