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

; 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 [8 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @spoequb_(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 i64, align 8
  %20 = alloca float, align 4
  %21 = alloca float, align 4
  %22 = alloca i64, align 8
  %23 = alloca float, align 4
  %24 = alloca float, align 4
  %25 = alloca float, align 4
  %26 = 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 4, ptr %20) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #4
  %27 = load ptr, ptr %11, align 8, !tbaa !5
  %28 = load i64, ptr %27, align 8, !tbaa !9
  store i64 %28, ptr %16, align 8, !tbaa !9
  %29 = load i64, ptr %16, align 8, !tbaa !9
  %30 = add nsw i64 1, %29
  store i64 %30, ptr %17, align 8, !tbaa !9
  %31 = load i64, ptr %17, align 8, !tbaa !9
  %32 = load ptr, ptr %10, align 8, !tbaa !5
  %33 = sub i64 0, %31
  %34 = getelementptr inbounds float, ptr %32, i64 %33
  store ptr %34, ptr %10, align 8, !tbaa !5
  %35 = load ptr, ptr %12, align 8, !tbaa !5
  %36 = getelementptr inbounds float, ptr %35, i32 -1
  store ptr %36, ptr %12, align 8, !tbaa !5
  %37 = load ptr, ptr %15, align 8, !tbaa !5
  store i64 0, ptr %37, align 8, !tbaa !9
  %38 = load ptr, ptr %9, align 8, !tbaa !5
  %39 = load i64, ptr %38, align 8, !tbaa !9
  %40 = icmp slt i64 %39, 0
  br i1 %40, label %41, label %43

41:                                               ; preds = %7
  %42 = load ptr, ptr %15, align 8, !tbaa !5
  store i64 -1, ptr %42, align 8, !tbaa !9
  br label %59

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

49:                                               ; preds = %43
  br label %53

50:                                               ; preds = %43
  %51 = load ptr, ptr %9, align 8, !tbaa !5
  %52 = load i64, ptr %51, align 8, !tbaa !9
  br label %53

53:                                               ; preds = %50, %49
  %54 = phi i64 [ 1, %49 ], [ %52, %50 ]
  %55 = icmp slt i64 %45, %54
  br i1 %55, label %56, label %58

56:                                               ; preds = %53
  %57 = load ptr, ptr %15, align 8, !tbaa !5
  store i64 -3, ptr %57, align 8, !tbaa !9
  br label %58

58:                                               ; preds = %56, %53
  br label %59

59:                                               ; preds = %58, %41
  %60 = load ptr, ptr %15, align 8, !tbaa !5
  %61 = load i64, ptr %60, align 8, !tbaa !9
  %62 = icmp ne i64 %61, 0
  br i1 %62, label %63, label %68

63:                                               ; preds = %59
  %64 = load ptr, ptr %15, align 8, !tbaa !5
  %65 = load i64, ptr %64, align 8, !tbaa !9
  %66 = sub nsw i64 0, %65
  store i64 %66, ptr %18, align 8, !tbaa !9
  %67 = call i32 @xerbla_(ptr noundef @.str, ptr noundef %18)
  store i32 0, ptr %8, align 4
  store i32 1, ptr %26, align 4
  br label %214

68:                                               ; preds = %59
  %69 = load ptr, ptr %9, align 8, !tbaa !5
  %70 = load i64, ptr %69, align 8, !tbaa !9
  %71 = icmp eq i64 %70, 0
  br i1 %71, label %72, label %75

72:                                               ; preds = %68
  %73 = load ptr, ptr %13, align 8, !tbaa !5
  store float 1.000000e+00, ptr %73, align 4, !tbaa !11
  %74 = load ptr, ptr %14, align 8, !tbaa !5
  store float 0.000000e+00, ptr %74, align 4, !tbaa !11
  store i32 0, ptr %8, align 4
  store i32 1, ptr %26, align 4
  br label %214

75:                                               ; preds = %68
  %76 = call double @slamch_(ptr noundef @.str.1)
  %77 = fptrunc double %76 to float
  store float %77, ptr %24, align 4, !tbaa !11
  %78 = load float, ptr %24, align 4, !tbaa !11
  %79 = fpext float %78 to double
  %80 = call double @log(double noundef %79) #4
  %81 = fdiv double -5.000000e-01, %80
  %82 = fptrunc double %81 to float
  store float %82, ptr %23, align 4, !tbaa !11
  %83 = load ptr, ptr %10, align 8, !tbaa !5
  %84 = load i64, ptr %16, align 8, !tbaa !9
  %85 = add nsw i64 %84, 1
  %86 = getelementptr inbounds float, ptr %83, i64 %85
  %87 = load float, ptr %86, align 4, !tbaa !11
  %88 = load ptr, ptr %12, align 8, !tbaa !5
  %89 = getelementptr inbounds float, ptr %88, i64 1
  store float %87, ptr %89, align 4, !tbaa !11
  %90 = load ptr, ptr %12, align 8, !tbaa !5
  %91 = getelementptr inbounds float, ptr %90, i64 1
  %92 = load float, ptr %91, align 4, !tbaa !11
  store float %92, ptr %25, align 4, !tbaa !11
  %93 = load ptr, ptr %12, align 8, !tbaa !5
  %94 = getelementptr inbounds float, ptr %93, i64 1
  %95 = load float, ptr %94, align 4, !tbaa !11
  %96 = load ptr, ptr %14, align 8, !tbaa !5
  store float %95, ptr %96, align 4, !tbaa !11
  %97 = load ptr, ptr %9, align 8, !tbaa !5
  %98 = load i64, ptr %97, align 8, !tbaa !9
  store i64 %98, ptr %18, align 8, !tbaa !9
  store i64 2, ptr %22, align 8, !tbaa !9
  br label %99

99:                                               ; preds = %149, %75
  %100 = load i64, ptr %22, align 8, !tbaa !9
  %101 = load i64, ptr %18, align 8, !tbaa !9
  %102 = icmp sle i64 %100, %101
  br i1 %102, label %103, label %152

103:                                              ; preds = %99
  %104 = load ptr, ptr %10, align 8, !tbaa !5
  %105 = load i64, ptr %22, align 8, !tbaa !9
  %106 = load i64, ptr %22, align 8, !tbaa !9
  %107 = load i64, ptr %16, align 8, !tbaa !9
  %108 = mul nsw i64 %106, %107
  %109 = add nsw i64 %105, %108
  %110 = getelementptr inbounds float, ptr %104, i64 %109
  %111 = load float, ptr %110, align 4, !tbaa !11
  %112 = load ptr, ptr %12, align 8, !tbaa !5
  %113 = load i64, ptr %22, align 8, !tbaa !9
  %114 = getelementptr inbounds float, ptr %112, i64 %113
  store float %111, ptr %114, align 4, !tbaa !11
  %115 = load float, ptr %25, align 4, !tbaa !11
  store float %115, ptr %20, align 4, !tbaa !11
  %116 = load ptr, ptr %12, align 8, !tbaa !5
  %117 = load i64, ptr %22, align 8, !tbaa !9
  %118 = getelementptr inbounds float, ptr %116, i64 %117
  %119 = load float, ptr %118, align 4, !tbaa !11
  store float %119, ptr %21, align 4, !tbaa !11
  %120 = load float, ptr %20, align 4, !tbaa !11
  %121 = load float, ptr %21, align 4, !tbaa !11
  %122 = fcmp ole float %120, %121
  br i1 %122, label %123, label %125

123:                                              ; preds = %103
  %124 = load float, ptr %20, align 4, !tbaa !11
  br label %127

125:                                              ; preds = %103
  %126 = load float, ptr %21, align 4, !tbaa !11
  br label %127

127:                                              ; preds = %125, %123
  %128 = phi float [ %124, %123 ], [ %126, %125 ]
  %129 = fpext float %128 to double
  %130 = fptrunc double %129 to float
  store float %130, ptr %25, align 4, !tbaa !11
  %131 = load ptr, ptr %14, align 8, !tbaa !5
  %132 = load float, ptr %131, align 4, !tbaa !11
  store float %132, ptr %20, align 4, !tbaa !11
  %133 = load ptr, ptr %12, align 8, !tbaa !5
  %134 = load i64, ptr %22, align 8, !tbaa !9
  %135 = getelementptr inbounds float, ptr %133, i64 %134
  %136 = load float, ptr %135, align 4, !tbaa !11
  store float %136, ptr %21, align 4, !tbaa !11
  %137 = load float, ptr %20, align 4, !tbaa !11
  %138 = load float, ptr %21, align 4, !tbaa !11
  %139 = fcmp oge float %137, %138
  br i1 %139, label %140, label %142

140:                                              ; preds = %127
  %141 = load float, ptr %20, align 4, !tbaa !11
  br label %144

142:                                              ; preds = %127
  %143 = load float, ptr %21, align 4, !tbaa !11
  br label %144

144:                                              ; preds = %142, %140
  %145 = phi float [ %141, %140 ], [ %143, %142 ]
  %146 = fpext float %145 to double
  %147 = fptrunc double %146 to float
  %148 = load ptr, ptr %14, align 8, !tbaa !5
  store float %147, ptr %148, align 4, !tbaa !11
  br label %149

149:                                              ; preds = %144
  %150 = load i64, ptr %22, align 8, !tbaa !9
  %151 = add nsw i64 %150, 1
  store i64 %151, ptr %22, align 8, !tbaa !9
  br label %99, !llvm.loop !13

152:                                              ; preds = %99
  %153 = load float, ptr %25, align 4, !tbaa !11
  %154 = fcmp ole float %153, 0.000000e+00
  br i1 %154, label %155, label %176

155:                                              ; preds = %152
  %156 = load ptr, ptr %9, align 8, !tbaa !5
  %157 = load i64, ptr %156, align 8, !tbaa !9
  store i64 %157, ptr %18, align 8, !tbaa !9
  store i64 1, ptr %22, align 8, !tbaa !9
  br label %158

158:                                              ; preds = %172, %155
  %159 = load i64, ptr %22, align 8, !tbaa !9
  %160 = load i64, ptr %18, align 8, !tbaa !9
  %161 = icmp sle i64 %159, %160
  br i1 %161, label %162, label %175

162:                                              ; preds = %158
  %163 = load ptr, ptr %12, align 8, !tbaa !5
  %164 = load i64, ptr %22, align 8, !tbaa !9
  %165 = getelementptr inbounds float, ptr %163, i64 %164
  %166 = load float, ptr %165, align 4, !tbaa !11
  %167 = fcmp ole float %166, 0.000000e+00
  br i1 %167, label %168, label %171

168:                                              ; preds = %162
  %169 = load i64, ptr %22, align 8, !tbaa !9
  %170 = load ptr, ptr %15, align 8, !tbaa !5
  store i64 %169, ptr %170, align 8, !tbaa !9
  store i32 0, ptr %8, align 4
  store i32 1, ptr %26, align 4
  br label %214

171:                                              ; preds = %162
  br label %172

172:                                              ; preds = %171
  %173 = load i64, ptr %22, align 8, !tbaa !9
  %174 = add nsw i64 %173, 1
  store i64 %174, ptr %22, align 8, !tbaa !9
  br label %158, !llvm.loop !15

175:                                              ; preds = %158
  br label %213

176:                                              ; preds = %152
  %177 = load ptr, ptr %9, align 8, !tbaa !5
  %178 = load i64, ptr %177, align 8, !tbaa !9
  store i64 %178, ptr %18, align 8, !tbaa !9
  store i64 1, ptr %22, align 8, !tbaa !9
  br label %179

179:                                              ; preds = %199, %176
  %180 = load i64, ptr %22, align 8, !tbaa !9
  %181 = load i64, ptr %18, align 8, !tbaa !9
  %182 = icmp sle i64 %180, %181
  br i1 %182, label %183, label %202

183:                                              ; preds = %179
  %184 = load float, ptr %23, align 4, !tbaa !11
  %185 = fpext float %184 to double
  %186 = load ptr, ptr %12, align 8, !tbaa !5
  %187 = load i64, ptr %22, align 8, !tbaa !9
  %188 = getelementptr inbounds float, ptr %186, i64 %187
  %189 = load float, ptr %188, align 4, !tbaa !11
  %190 = fpext float %189 to double
  %191 = call double @log(double noundef %190) #4
  %192 = fmul double %185, %191
  %193 = fptosi double %192 to i64
  store i64 %193, ptr %19, align 8, !tbaa !9
  %194 = call double @pow_ri(ptr noundef %24, ptr noundef %19)
  %195 = fptrunc double %194 to float
  %196 = load ptr, ptr %12, align 8, !tbaa !5
  %197 = load i64, ptr %22, align 8, !tbaa !9
  %198 = getelementptr inbounds float, ptr %196, i64 %197
  store float %195, ptr %198, align 4, !tbaa !11
  br label %199

199:                                              ; preds = %183
  %200 = load i64, ptr %22, align 8, !tbaa !9
  %201 = add nsw i64 %200, 1
  store i64 %201, ptr %22, align 8, !tbaa !9
  br label %179, !llvm.loop !16

202:                                              ; preds = %179
  %203 = load float, ptr %25, align 4, !tbaa !11
  %204 = fpext float %203 to double
  %205 = call double @sqrt(double noundef %204) #4
  %206 = load ptr, ptr %14, align 8, !tbaa !5
  %207 = load float, ptr %206, align 4, !tbaa !11
  %208 = fpext float %207 to double
  %209 = call double @sqrt(double noundef %208) #4
  %210 = fdiv double %205, %209
  %211 = fptrunc double %210 to float
  %212 = load ptr, ptr %13, align 8, !tbaa !5
  store float %211, ptr %212, align 4, !tbaa !11
  br label %213

213:                                              ; preds = %202, %175
  store i32 0, ptr %8, align 4
  store i32 1, ptr %26, align 4
  br label %214

214:                                              ; preds = %213, %168, %72, %63
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #4
  call void @llvm.lifetime.end.p0(i64 4, 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
  %215 = load i32, ptr %8, align 4
  ret i32 %215
}

; 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

declare double @slamch_(ptr noundef) #2

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

declare double @pow_ri(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 = !{!"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"

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

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @spoequb_(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
  %9 = alloca i64, align 8
  %10 = alloca float, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %8) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %9) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #5
  %11 = load i64, ptr %2, align 8, !tbaa !5
  %12 = xor i64 %11, -1
  %13 = getelementptr inbounds float, ptr %1, i64 %12
  %14 = getelementptr inbounds i8, ptr %3, i64 -4
  store i64 0, ptr %6, align 8, !tbaa !5
  %15 = load i64, ptr %0, align 8, !tbaa !5
  %16 = icmp slt i64 %15, 0
  br i1 %16, label %.thread, label %17

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

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

22:                                               ; preds = %17
  %23 = icmp eq i64 %15, 0
  br i1 %23, label %24, label %25

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

25:                                               ; preds = %22
  %26 = tail call double @slamch_(ptr noundef nonnull @.str.1) #5
  %27 = fptrunc double %26 to float
  store float %27, ptr %10, align 4, !tbaa !9
  %28 = fpext float %27 to double
  %29 = tail call double @log(double noundef %28) #5
  %30 = fdiv double -5.000000e-01, %29
  %31 = fptrunc double %30 to float
  %32 = load float, ptr %1, align 4, !tbaa !9
  store float %32, ptr %3, align 4, !tbaa !9
  store float %32, ptr %5, align 4, !tbaa !9
  %33 = load i64, ptr %0, align 8, !tbaa !5
  %.not7075 = icmp slt i64 %33, 2
  br i1 %.not7075, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %25
  %34 = add i64 %11, 1
  br label %35

35:                                               ; preds = %.lr.ph, %35
  %.077 = phi float [ %32, %.lr.ph ], [ %41, %35 ]
  %.06776 = phi i64 [ 2, %.lr.ph ], [ %45, %35 ]
  %36 = mul i64 %.06776, %34
  %37 = getelementptr inbounds float, ptr %13, i64 %36
  %38 = load float, ptr %37, align 4, !tbaa !9
  %39 = getelementptr inbounds float, ptr %14, i64 %.06776
  store float %38, ptr %39, align 4, !tbaa !9
  %40 = fcmp ole float %.077, %38
  %41 = select i1 %40, float %.077, float %38
  %42 = load float, ptr %5, align 4, !tbaa !9
  %43 = fcmp oge float %42, %38
  %44 = select i1 %43, float %42, float %38
  store float %44, ptr %5, align 4, !tbaa !9
  %45 = add nuw i64 %.06776, 1
  %exitcond.not = icmp eq i64 %.06776, %33
  br i1 %exitcond.not, label %._crit_edge, label %35, !llvm.loop !11

._crit_edge:                                      ; preds = %35, %25
  %.0.lcssa = phi float [ %32, %25 ], [ %41, %35 ]
  %46 = fcmp ugt float %.0.lcssa, 0.000000e+00
  %.not7182 = icmp slt i64 %33, 1
  br i1 %46, label %54, label %47

47:                                               ; preds = %._crit_edge
  br i1 %.not7182, label %.loopexit, label %.lr.ph81

.lr.ph81:                                         ; preds = %47, %52
  %.179 = phi i64 [ %53, %52 ], [ 1, %47 ]
  %48 = getelementptr inbounds float, ptr %14, i64 %.179
  %49 = load float, ptr %48, align 4, !tbaa !9
  %50 = fcmp ugt float %49, 0.000000e+00
  br i1 %50, label %52, label %51

51:                                               ; preds = %.lr.ph81
  store i64 %.179, ptr %6, align 8, !tbaa !5
  br label %.loopexit

52:                                               ; preds = %.lr.ph81
  %53 = add nuw i64 %.179, 1
  %exitcond88.not = icmp eq i64 %.179, %33
  br i1 %exitcond88.not, label %.loopexit, label %.lr.ph81, !llvm.loop !13

54:                                               ; preds = %._crit_edge
  br i1 %.not7182, label %._crit_edge86, label %.lr.ph85

.lr.ph85:                                         ; preds = %54
  %55 = fpext float %31 to double
  br label %56

56:                                               ; preds = %.lr.ph85, %56
  %.283 = phi i64 [ 1, %.lr.ph85 ], [ %65, %56 ]
  %57 = getelementptr inbounds float, ptr %14, i64 %.283
  %58 = load float, ptr %57, align 4, !tbaa !9
  %59 = fpext float %58 to double
  %60 = call double @log(double noundef %59) #5
  %61 = fmul double %60, %55
  %62 = fptosi double %61 to i64
  store i64 %62, ptr %9, align 8, !tbaa !5
  %63 = call double @pow_ri(ptr noundef nonnull %10, ptr noundef nonnull %9) #5
  %64 = fptrunc double %63 to float
  store float %64, ptr %57, align 4, !tbaa !9
  %65 = add nuw nsw i64 %.283, 1
  %.not71.not = icmp slt i64 %.283, %33
  br i1 %.not71.not, label %56, label %._crit_edge86, !llvm.loop !14

._crit_edge86:                                    ; preds = %56, %54
  %66 = fpext float %.0.lcssa to double
  %67 = call double @sqrt(double noundef %66) #5
  %68 = load float, ptr %5, align 4, !tbaa !9
  %69 = fpext float %68 to double
  %70 = call double @sqrt(double noundef %69) #5
  %71 = fdiv double %67, %70
  %72 = fptrunc double %71 to float
  store float %72, ptr %4, align 4, !tbaa !9
  br label %.loopexit

.loopexit:                                        ; preds = %52, %47, %._crit_edge86, %51, %24, %.thread
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %9) #5
  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

declare double @slamch_(ptr noundef) local_unnamed_addr #2

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

declare double @pow_ri(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 = !{!"float", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}


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