; LLVM IR from niuyishuai/PDCABB :: LAPACK_BLAS/LAPACK (dpoequ)

; 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 [7 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @dpoequ_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6) #0 {
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca i64, align 8
  %19 = alloca double, align 8
  %20 = alloca double, align 8
  %21 = alloca i64, align 8
  %22 = alloca double, align 8
  %23 = alloca i32, align 4
  store ptr %0, ptr %9, align 8, !tbaa !5
  store ptr %1, ptr %10, align 8, !tbaa !5
  store ptr %2, ptr %11, align 8, !tbaa !5
  store ptr %3, ptr %12, align 8, !tbaa !5
  store ptr %4, ptr %13, align 8, !tbaa !5
  store ptr %5, ptr %14, align 8, !tbaa !5
  store ptr %6, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #4
  %24 = load ptr, ptr %11, align 8, !tbaa !5
  %25 = load i64, ptr %24, align 8, !tbaa !9
  store i64 %25, ptr %16, align 8, !tbaa !9
  %26 = load i64, ptr %16, align 8, !tbaa !9
  %27 = add nsw i64 1, %26
  store i64 %27, ptr %17, align 8, !tbaa !9
  %28 = load i64, ptr %17, align 8, !tbaa !9
  %29 = load ptr, ptr %10, align 8, !tbaa !5
  %30 = sub i64 0, %28
  %31 = getelementptr inbounds double, ptr %29, i64 %30
  store ptr %31, ptr %10, align 8, !tbaa !5
  %32 = load ptr, ptr %12, align 8, !tbaa !5
  %33 = getelementptr inbounds double, ptr %32, i32 -1
  store ptr %33, ptr %12, align 8, !tbaa !5
  %34 = load ptr, ptr %15, align 8, !tbaa !5
  store i64 0, ptr %34, align 8, !tbaa !9
  %35 = load ptr, ptr %9, align 8, !tbaa !5
  %36 = load i64, ptr %35, align 8, !tbaa !9
  %37 = icmp slt i64 %36, 0
  br i1 %37, label %38, label %40

38:                                               ; preds = %7
  %39 = load ptr, ptr %15, align 8, !tbaa !5
  store i64 -1, ptr %39, align 8, !tbaa !9
  br label %56

40:                                               ; preds = %7
  %41 = load ptr, ptr %11, align 8, !tbaa !5
  %42 = load i64, ptr %41, align 8, !tbaa !9
  %43 = load ptr, ptr %9, align 8, !tbaa !5
  %44 = load i64, ptr %43, align 8, !tbaa !9
  %45 = icmp sge i64 1, %44
  br i1 %45, label %46, label %47

46:                                               ; preds = %40
  br label %50

47:                                               ; preds = %40
  %48 = load ptr, ptr %9, align 8, !tbaa !5
  %49 = load i64, ptr %48, align 8, !tbaa !9
  br label %50

50:                                               ; preds = %47, %46
  %51 = phi i64 [ 1, %46 ], [ %49, %47 ]
  %52 = icmp slt i64 %42, %51
  br i1 %52, label %53, label %55

53:                                               ; preds = %50
  %54 = load ptr, ptr %15, align 8, !tbaa !5
  store i64 -3, ptr %54, align 8, !tbaa !9
  br label %55

55:                                               ; preds = %53, %50
  br label %56

56:                                               ; preds = %55, %38
  %57 = load ptr, ptr %15, align 8, !tbaa !5
  %58 = load i64, ptr %57, align 8, !tbaa !9
  %59 = icmp ne i64 %58, 0
  br i1 %59, label %60, label %65

60:                                               ; preds = %56
  %61 = load ptr, ptr %15, align 8, !tbaa !5
  %62 = load i64, ptr %61, align 8, !tbaa !9
  %63 = sub nsw i64 0, %62
  store i64 %63, ptr %18, align 8, !tbaa !9
  %64 = call i32 @xerbla_(ptr noundef @.str, ptr noundef %18)
  store i32 0, ptr %8, align 4
  store i32 1, ptr %23, align 4
  br label %191

65:                                               ; preds = %56
  %66 = load ptr, ptr %9, align 8, !tbaa !5
  %67 = load i64, ptr %66, align 8, !tbaa !9
  %68 = icmp eq i64 %67, 0
  br i1 %68, label %69, label %72

69:                                               ; preds = %65
  %70 = load ptr, ptr %13, align 8, !tbaa !5
  store double 1.000000e+00, ptr %70, align 8, !tbaa !11
  %71 = load ptr, ptr %14, align 8, !tbaa !5
  store double 0.000000e+00, ptr %71, align 8, !tbaa !11
  store i32 0, ptr %8, align 4
  store i32 1, ptr %23, align 4
  br label %191

72:                                               ; preds = %65
  %73 = load ptr, ptr %10, align 8, !tbaa !5
  %74 = load i64, ptr %16, align 8, !tbaa !9
  %75 = add nsw i64 %74, 1
  %76 = getelementptr inbounds double, ptr %73, i64 %75
  %77 = load double, ptr %76, align 8, !tbaa !11
  %78 = load ptr, ptr %12, align 8, !tbaa !5
  %79 = getelementptr inbounds double, ptr %78, i64 1
  store double %77, ptr %79, align 8, !tbaa !11
  %80 = load ptr, ptr %12, align 8, !tbaa !5
  %81 = getelementptr inbounds double, ptr %80, i64 1
  %82 = load double, ptr %81, align 8, !tbaa !11
  store double %82, ptr %22, align 8, !tbaa !11
  %83 = load ptr, ptr %12, align 8, !tbaa !5
  %84 = getelementptr inbounds double, ptr %83, i64 1
  %85 = load double, ptr %84, align 8, !tbaa !11
  %86 = load ptr, ptr %14, align 8, !tbaa !5
  store double %85, ptr %86, align 8, !tbaa !11
  %87 = load ptr, ptr %9, align 8, !tbaa !5
  %88 = load i64, ptr %87, align 8, !tbaa !9
  store i64 %88, ptr %18, align 8, !tbaa !9
  store i64 2, ptr %21, align 8, !tbaa !9
  br label %89

89:                                               ; preds = %135, %72
  %90 = load i64, ptr %21, align 8, !tbaa !9
  %91 = load i64, ptr %18, align 8, !tbaa !9
  %92 = icmp sle i64 %90, %91
  br i1 %92, label %93, label %138

93:                                               ; preds = %89
  %94 = load ptr, ptr %10, align 8, !tbaa !5
  %95 = load i64, ptr %21, align 8, !tbaa !9
  %96 = load i64, ptr %21, align 8, !tbaa !9
  %97 = load i64, ptr %16, align 8, !tbaa !9
  %98 = mul nsw i64 %96, %97
  %99 = add nsw i64 %95, %98
  %100 = getelementptr inbounds double, ptr %94, i64 %99
  %101 = load double, ptr %100, align 8, !tbaa !11
  %102 = load ptr, ptr %12, align 8, !tbaa !5
  %103 = load i64, ptr %21, align 8, !tbaa !9
  %104 = getelementptr inbounds double, ptr %102, i64 %103
  store double %101, ptr %104, align 8, !tbaa !11
  %105 = load double, ptr %22, align 8, !tbaa !11
  store double %105, ptr %19, align 8, !tbaa !11
  %106 = load ptr, ptr %12, align 8, !tbaa !5
  %107 = load i64, ptr %21, align 8, !tbaa !9
  %108 = getelementptr inbounds double, ptr %106, i64 %107
  %109 = load double, ptr %108, align 8, !tbaa !11
  store double %109, ptr %20, align 8, !tbaa !11
  %110 = load double, ptr %19, align 8, !tbaa !11
  %111 = load double, ptr %20, align 8, !tbaa !11
  %112 = fcmp ole double %110, %111
  br i1 %112, label %113, label %115

113:                                              ; preds = %93
  %114 = load double, ptr %19, align 8, !tbaa !11
  br label %117

115:                                              ; preds = %93
  %116 = load double, ptr %20, align 8, !tbaa !11
  br label %117

117:                                              ; preds = %115, %113
  %118 = phi double [ %114, %113 ], [ %116, %115 ]
  store double %118, ptr %22, align 8, !tbaa !11
  %119 = load ptr, ptr %14, align 8, !tbaa !5
  %120 = load double, ptr %119, align 8, !tbaa !11
  store double %120, ptr %19, align 8, !tbaa !11
  %121 = load ptr, ptr %12, align 8, !tbaa !5
  %122 = load i64, ptr %21, align 8, !tbaa !9
  %123 = getelementptr inbounds double, ptr %121, i64 %122
  %124 = load double, ptr %123, align 8, !tbaa !11
  store double %124, ptr %20, align 8, !tbaa !11
  %125 = load double, ptr %19, align 8, !tbaa !11
  %126 = load double, ptr %20, align 8, !tbaa !11
  %127 = fcmp oge double %125, %126
  br i1 %127, label %128, label %130

128:                                              ; preds = %117
  %129 = load double, ptr %19, align 8, !tbaa !11
  br label %132

130:                                              ; preds = %117
  %131 = load double, ptr %20, align 8, !tbaa !11
  br label %132

132:                                              ; preds = %130, %128
  %133 = phi double [ %129, %128 ], [ %131, %130 ]
  %134 = load ptr, ptr %14, align 8, !tbaa !5
  store double %133, ptr %134, align 8, !tbaa !11
  br label %135

135:                                              ; preds = %132
  %136 = load i64, ptr %21, align 8, !tbaa !9
  %137 = add nsw i64 %136, 1
  store i64 %137, ptr %21, align 8, !tbaa !9
  br label %89, !llvm.loop !13

138:                                              ; preds = %89
  %139 = load double, ptr %22, align 8, !tbaa !11
  %140 = fcmp ole double %139, 0.000000e+00
  br i1 %140, label %141, label %162

141:                                              ; preds = %138
  %142 = load ptr, ptr %9, align 8, !tbaa !5
  %143 = load i64, ptr %142, align 8, !tbaa !9
  store i64 %143, ptr %18, align 8, !tbaa !9
  store i64 1, ptr %21, align 8, !tbaa !9
  br label %144

144:                                              ; preds = %158, %141
  %145 = load i64, ptr %21, align 8, !tbaa !9
  %146 = load i64, ptr %18, align 8, !tbaa !9
  %147 = icmp sle i64 %145, %146
  br i1 %147, label %148, label %161

148:                                              ; preds = %144
  %149 = load ptr, ptr %12, align 8, !tbaa !5
  %150 = load i64, ptr %21, align 8, !tbaa !9
  %151 = getelementptr inbounds double, ptr %149, i64 %150
  %152 = load double, ptr %151, align 8, !tbaa !11
  %153 = fcmp ole double %152, 0.000000e+00
  br i1 %153, label %154, label %157

154:                                              ; preds = %148
  %155 = load i64, ptr %21, align 8, !tbaa !9
  %156 = load ptr, ptr %15, align 8, !tbaa !5
  store i64 %155, ptr %156, align 8, !tbaa !9
  store i32 0, ptr %8, align 4
  store i32 1, ptr %23, align 4
  br label %191

157:                                              ; preds = %148
  br label %158

158:                                              ; preds = %157
  %159 = load i64, ptr %21, align 8, !tbaa !9
  %160 = add nsw i64 %159, 1
  store i64 %160, ptr %21, align 8, !tbaa !9
  br label %144, !llvm.loop !15

161:                                              ; preds = %144
  br label %190

162:                                              ; preds = %138
  %163 = load ptr, ptr %9, align 8, !tbaa !5
  %164 = load i64, ptr %163, align 8, !tbaa !9
  store i64 %164, ptr %18, align 8, !tbaa !9
  store i64 1, ptr %21, align 8, !tbaa !9
  br label %165

165:                                              ; preds = %179, %162
  %166 = load i64, ptr %21, align 8, !tbaa !9
  %167 = load i64, ptr %18, align 8, !tbaa !9
  %168 = icmp sle i64 %166, %167
  br i1 %168, label %169, label %182

169:                                              ; preds = %165
  %170 = load ptr, ptr %12, align 8, !tbaa !5
  %171 = load i64, ptr %21, align 8, !tbaa !9
  %172 = getelementptr inbounds double, ptr %170, i64 %171
  %173 = load double, ptr %172, align 8, !tbaa !11
  %174 = call double @sqrt(double noundef %173) #4
  %175 = fdiv double 1.000000e+00, %174
  %176 = load ptr, ptr %12, align 8, !tbaa !5
  %177 = load i64, ptr %21, align 8, !tbaa !9
  %178 = getelementptr inbounds double, ptr %176, i64 %177
  store double %175, ptr %178, align 8, !tbaa !11
  br label %179

179:                                              ; preds = %169
  %180 = load i64, ptr %21, align 8, !tbaa !9
  %181 = add nsw i64 %180, 1
  store i64 %181, ptr %21, align 8, !tbaa !9
  br label %165, !llvm.loop !16

182:                                              ; preds = %165
  %183 = load double, ptr %22, align 8, !tbaa !11
  %184 = call double @sqrt(double noundef %183) #4
  %185 = load ptr, ptr %14, align 8, !tbaa !5
  %186 = load double, ptr %185, align 8, !tbaa !11
  %187 = call double @sqrt(double noundef %186) #4
  %188 = fdiv double %184, %187
  %189 = load ptr, ptr %13, align 8, !tbaa !5
  store double %188, ptr %189, align 8, !tbaa !11
  br label %190

190:                                              ; preds = %182, %161
  store i32 0, ptr %8, align 4
  store i32 1, ptr %23, align 4
  br label %191

191:                                              ; preds = %190, %154, %69, %60
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #4
  %192 = load i32, ptr %8, align 4
  ret i32 %192
}

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

declare i32 @xerbla_(ptr noundef, ptr noundef) #2

; Function Attrs: nounwind
declare double @sqrt(double noundef) #3

; 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 = { "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 "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 #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 = !{!"long", !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"

@.str = external hidden unnamed_addr constant [7 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @dpoequ_(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef %3, ptr nocapture noundef writeonly %4, ptr nocapture noundef %5, ptr nocapture noundef writeonly %6) local_unnamed_addr #0 {
  %8 = alloca i64, align 8
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  %9 = load i64, ptr %2, align 8, !tbaa !5
  %10 = xor i64 %9, -1
  %11 = getelementptr inbounds double, ptr %1, i64 %10
  %12 = getelementptr inbounds i8, ptr %3, i64 -8
  store i64 0, ptr %6, align 8, !tbaa !5
  %13 = load i64, ptr %0, align 8, !tbaa !5
  %14 = icmp slt i64 %13, 0
  br i1 %14, label %.thread, label %15

15:                                               ; preds = %7
  %16 = load i64, ptr %2, align 8, !tbaa !5
  %spec.select = tail call i64 @llvm.umax.i64(i64 %13, i64 1)
  %17 = icmp slt i64 %16, %spec.select
  br i1 %17, label %.thread, label %20

.thread:                                          ; preds = %15, %7
  %storemerge = phi i64 [ -1, %7 ], [ -3, %15 ]
  store i64 %storemerge, ptr %6, align 8, !tbaa !5
  %18 = sub nsw i64 0, %storemerge
  store i64 %18, ptr %8, align 8, !tbaa !5
  %19 = call i32 @xerbla_(ptr noundef nonnull @.str, ptr noundef nonnull %8) #5
  br label %.loopexit

20:                                               ; preds = %15
  %21 = icmp eq i64 %13, 0
  br i1 %21, label %22, label %23

22:                                               ; preds = %20
  store double 1.000000e+00, ptr %4, align 8, !tbaa !9
  store double 0.000000e+00, ptr %5, align 8, !tbaa !9
  br label %.loopexit

23:                                               ; preds = %20
  %24 = load double, ptr %1, align 8, !tbaa !9
  store double %24, ptr %3, align 8, !tbaa !9
  store double %24, ptr %5, align 8, !tbaa !9
  %.not6974 = icmp eq i64 %13, 1
  br i1 %.not6974, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %23
  %25 = add i64 %9, 1
  br label %26

26:                                               ; preds = %.lr.ph, %26
  %.076 = phi double [ %24, %.lr.ph ], [ %32, %26 ]
  %.06575 = phi i64 [ 2, %.lr.ph ], [ %36, %26 ]
  %27 = mul i64 %.06575, %25
  %28 = getelementptr inbounds double, ptr %11, i64 %27
  %29 = load double, ptr %28, align 8, !tbaa !9
  %30 = getelementptr inbounds double, ptr %12, i64 %.06575
  store double %29, ptr %30, align 8, !tbaa !9
  %31 = fcmp ole double %.076, %29
  %32 = select i1 %31, double %.076, double %29
  %33 = load double, ptr %5, align 8, !tbaa !9
  %34 = fcmp oge double %33, %29
  %35 = select i1 %34, double %33, double %29
  store double %35, ptr %5, align 8, !tbaa !9
  %36 = add nuw i64 %.06575, 1
  %exitcond.not = icmp eq i64 %.06575, %13
  br i1 %exitcond.not, label %._crit_edge, label %26, !llvm.loop !11

._crit_edge:                                      ; preds = %26, %23
  %.0.lcssa = phi double [ %24, %23 ], [ %32, %26 ]
  %37 = fcmp ugt double %.0.lcssa, 0.000000e+00
  br i1 %37, label %.lr.ph84.preheader, label %.lr.ph80

.lr.ph84.preheader:                               ; preds = %._crit_edge
  %xtraiter = and i64 %13, 3
  %38 = icmp ult i64 %13, 4
  br i1 %38, label %._crit_edge85.unr-lcssa, label %.lr.ph84.preheader.new

.lr.ph84.preheader.new:                           ; preds = %.lr.ph84.preheader
  %unroll_iter = and i64 %13, 9223372036854775804
  %invariant.gep = getelementptr i8, ptr %12, i64 16
  %invariant.gep94 = getelementptr i8, ptr %12, i64 24
  br label %.lr.ph84

.lr.ph80:                                         ; preds = %._crit_edge, %43
  %.178 = phi i64 [ %44, %43 ], [ 1, %._crit_edge ]
  %39 = getelementptr inbounds double, ptr %12, i64 %.178
  %40 = load double, ptr %39, align 8, !tbaa !9
  %41 = fcmp ugt double %40, 0.000000e+00
  br i1 %41, label %43, label %42

42:                                               ; preds = %.lr.ph80
  store i64 %.178, ptr %6, align 8, !tbaa !5
  br label %.loopexit

43:                                               ; preds = %.lr.ph80
  %44 = add nuw i64 %.178, 1
  %exitcond87.not = icmp eq i64 %.178, %13
  br i1 %exitcond87.not, label %.loopexit, label %.lr.ph80, !llvm.loop !13

.lr.ph84:                                         ; preds = %.lr.ph84, %.lr.ph84.preheader.new
  %.282 = phi i64 [ 1, %.lr.ph84.preheader.new ], [ %59, %.lr.ph84 ]
  %niter = phi i64 [ 0, %.lr.ph84.preheader.new ], [ %niter.next.3, %.lr.ph84 ]
  %45 = getelementptr inbounds double, ptr %12, i64 %.282
  %46 = load double, ptr %45, align 8, !tbaa !9
  %47 = tail call double @sqrt(double noundef %46) #5
  %48 = fdiv double 1.000000e+00, %47
  store double %48, ptr %45, align 8, !tbaa !9
  %49 = getelementptr double, ptr %3, i64 %.282
  %50 = load double, ptr %49, align 8, !tbaa !9
  %51 = tail call double @sqrt(double noundef %50) #5
  %52 = fdiv double 1.000000e+00, %51
  store double %52, ptr %49, align 8, !tbaa !9
  %gep = getelementptr double, ptr %invariant.gep, i64 %.282
  %53 = load double, ptr %gep, align 8, !tbaa !9
  %54 = tail call double @sqrt(double noundef %53) #5
  %55 = fdiv double 1.000000e+00, %54
  store double %55, ptr %gep, align 8, !tbaa !9
  %gep95 = getelementptr double, ptr %invariant.gep94, i64 %.282
  %56 = load double, ptr %gep95, align 8, !tbaa !9
  %57 = tail call double @sqrt(double noundef %56) #5
  %58 = fdiv double 1.000000e+00, %57
  store double %58, ptr %gep95, align 8, !tbaa !9
  %59 = add nuw i64 %.282, 4
  %niter.next.3 = add i64 %niter, 4
  %niter.ncmp.3 = icmp eq i64 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %._crit_edge85.unr-lcssa, label %.lr.ph84, !llvm.loop !14

._crit_edge85.unr-lcssa:                          ; preds = %.lr.ph84, %.lr.ph84.preheader
  %.282.unr = phi i64 [ 1, %.lr.ph84.preheader ], [ %59, %.lr.ph84 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge85, label %.lr.ph84.epil

.lr.ph84.epil:                                    ; preds = %._crit_edge85.unr-lcssa, %.lr.ph84.epil
  %.282.epil = phi i64 [ %64, %.lr.ph84.epil ], [ %.282.unr, %._crit_edge85.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.lr.ph84.epil ], [ 0, %._crit_edge85.unr-lcssa ]
  %60 = getelementptr inbounds double, ptr %12, i64 %.282.epil
  %61 = load double, ptr %60, align 8, !tbaa !9
  %62 = tail call double @sqrt(double noundef %61) #5
  %63 = fdiv double 1.000000e+00, %62
  store double %63, ptr %60, align 8, !tbaa !9
  %64 = add nuw i64 %.282.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %._crit_edge85, label %.lr.ph84.epil, !llvm.loop !15

._crit_edge85:                                    ; preds = %.lr.ph84.epil, %._crit_edge85.unr-lcssa
  %65 = tail call double @sqrt(double noundef %.0.lcssa) #5
  %66 = load double, ptr %5, align 8, !tbaa !9
  %67 = tail call double @sqrt(double noundef %66) #5
  %68 = fdiv double %65, %67
  store double %68, ptr %4, align 8, !tbaa !9
  br label %.loopexit

.loopexit:                                        ; preds = %43, %._crit_edge85, %42, %22, %.thread
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %8) #5
  ret i32 0
}

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

declare i32 @xerbla_(ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nofree nounwind willreturn memory(write)
declare double @sqrt(double noundef) local_unnamed_addr #3

; Function Attrs: mustprogress 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 i64 @llvm.umax.i64(i64, i64) #4

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 = { mustprogress 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 = { mustprogress nofree nounwind willreturn memory(write) "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 #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.unroll.disable"}


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