; LLVM IR from lzyrapx/Competitive-Programming :: HDUOJ (1012（数学题）)

; 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 [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [10 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z1fi(i32 noundef) #0

; 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 willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #2 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca double, align 8
  %6 = alloca double, align 8
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #4
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  %7 = call i32 (ptr, ...) @printf(ptr noundef @.str)
  %8 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %9

9:                                                ; preds = %50, %0
  %10 = load i32, ptr %2, align 4, !tbaa !5
  %11 = icmp sle i32 %10, 9
  br i1 %11, label %12, label %53

12:                                               ; preds = %9
  store double 0.000000e+00, ptr %5, align 8, !tbaa !9
  store i32 0, ptr %3, align 4, !tbaa !5
  br label %13

13:                                               ; preds = %24, %12
  %14 = load i32, ptr %3, align 4, !tbaa !5
  %15 = load i32, ptr %2, align 4, !tbaa !5
  %16 = icmp sle i32 %14, %15
  br i1 %16, label %17, label %27

17:                                               ; preds = %13
  %18 = load i32, ptr %3, align 4, !tbaa !5
  %19 = call noundef i32 @_Z1fi(i32 noundef %18)
  %20 = sitofp i32 %19 to double
  %21 = fdiv double 1.000000e+00, %20
  %22 = load double, ptr %5, align 8, !tbaa !9
  %23 = fadd double %22, %21
  store double %23, ptr %5, align 8, !tbaa !9
  br label %24

24:                                               ; preds = %17
  %25 = load i32, ptr %3, align 4, !tbaa !5
  %26 = add nsw i32 %25, 1
  store i32 %26, ptr %3, align 4, !tbaa !5
  br label %13, !llvm.loop !11

27:                                               ; preds = %13
  %28 = load i32, ptr %2, align 4, !tbaa !5
  %29 = icmp eq i32 %28, 0
  br i1 %29, label %33, label %30

30:                                               ; preds = %27
  %31 = load i32, ptr %2, align 4, !tbaa !5
  %32 = icmp eq i32 %31, 1
  br i1 %32, label %33, label %37

33:                                               ; preds = %30, %27
  %34 = load i32, ptr %2, align 4, !tbaa !5
  %35 = load double, ptr %5, align 8, !tbaa !9
  %36 = call i32 (ptr, ...) @printf(ptr noundef @.str.2, i32 noundef %34, double noundef %35)
  br label %49

37:                                               ; preds = %30
  %38 = load i32, ptr %2, align 4, !tbaa !5
  %39 = icmp eq i32 %38, 2
  br i1 %39, label %40, label %44

40:                                               ; preds = %37
  %41 = load i32, ptr %2, align 4, !tbaa !5
  %42 = load double, ptr %5, align 8, !tbaa !9
  %43 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, i32 noundef %41, double noundef %42)
  br label %48

44:                                               ; preds = %37
  %45 = load i32, ptr %2, align 4, !tbaa !5
  %46 = load double, ptr %5, align 8, !tbaa !9
  %47 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, i32 noundef %45, double noundef %46)
  br label %48

48:                                               ; preds = %44, %40
  br label %49

49:                                               ; preds = %48, %33
  br label %50

50:                                               ; preds = %49
  %51 = load i32, ptr %2, align 4, !tbaa !5
  %52 = add nsw i32 %51, 1
  store i32 %52, ptr %2, align 4, !tbaa !5
  br label %9, !llvm.loop !13

53:                                               ; preds = %9
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #4
  ret i32 0
}

declare i32 @printf(ptr noundef, ...) #3

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


; 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 [5 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [10 x i8], align 1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z1fi(i32 noundef) local_unnamed_addr #0

; Function Attrs: mustprogress norecurse nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #1 {
  %1 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str)
  %2 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %3 = tail call noundef i32 @_Z1fi(i32 noundef 0)
  %4 = sitofp i32 %3 to double
  %5 = fdiv double 1.000000e+00, %4
  %6 = fadd double %5, 0.000000e+00
  %7 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef 0, double noundef %6)
  %8 = tail call noundef i32 @_Z1fi(i32 noundef 0)
  %9 = tail call noundef i32 @_Z1fi(i32 noundef 1)
  %10 = insertelement <2 x i32> poison, i32 %8, i64 0
  %11 = insertelement <2 x i32> %10, i32 %9, i64 1
  %12 = sitofp <2 x i32> %11 to <2 x double>
  %13 = fdiv <2 x double> <double 1.000000e+00, double 1.000000e+00>, %12
  %14 = extractelement <2 x double> %13, i64 0
  %15 = fadd double %14, 0.000000e+00
  %16 = extractelement <2 x double> %13, i64 1
  %17 = fadd double %15, %16
  %18 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2, i32 noundef 1, double noundef %17)
  %19 = tail call noundef i32 @_Z1fi(i32 noundef 0)
  %20 = sitofp i32 %19 to double
  %21 = fdiv double 1.000000e+00, %20
  %22 = fadd double %21, 0.000000e+00
  %23 = tail call noundef i32 @_Z1fi(i32 noundef 1)
  %24 = tail call noundef i32 @_Z1fi(i32 noundef 2)
  %25 = insertelement <2 x i32> poison, i32 %23, i64 0
  %26 = insertelement <2 x i32> %25, i32 %24, i64 1
  %27 = sitofp <2 x i32> %26 to <2 x double>
  %28 = fdiv <2 x double> <double 1.000000e+00, double 1.000000e+00>, %27
  %29 = extractelement <2 x double> %28, i64 0
  %30 = fadd double %22, %29
  %31 = extractelement <2 x double> %28, i64 1
  %32 = fadd double %30, %31
  %33 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, i32 noundef 2, double noundef %32)
  %34 = tail call noundef i32 @_Z1fi(i32 noundef 0)
  %35 = tail call noundef i32 @_Z1fi(i32 noundef 1)
  %36 = insertelement <2 x i32> poison, i32 %34, i64 0
  %37 = insertelement <2 x i32> %36, i32 %35, i64 1
  %38 = sitofp <2 x i32> %37 to <2 x double>
  %39 = fdiv <2 x double> <double 1.000000e+00, double 1.000000e+00>, %38
  %40 = extractelement <2 x double> %39, i64 0
  %41 = fadd double %40, 0.000000e+00
  %42 = extractelement <2 x double> %39, i64 1
  %43 = fadd double %41, %42
  %44 = tail call noundef i32 @_Z1fi(i32 noundef 2)
  %45 = tail call noundef i32 @_Z1fi(i32 noundef 3)
  %46 = insertelement <2 x i32> poison, i32 %44, i64 0
  %47 = insertelement <2 x i32> %46, i32 %45, i64 1
  %48 = sitofp <2 x i32> %47 to <2 x double>
  %49 = fdiv <2 x double> <double 1.000000e+00, double 1.000000e+00>, %48
  %50 = extractelement <2 x double> %49, i64 0
  %51 = fadd double %43, %50
  %52 = extractelement <2 x double> %49, i64 1
  %53 = fadd double %51, %52
  %54 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef 3, double noundef %53)
  %55 = tail call noundef i32 @_Z1fi(i32 noundef 0)
  %56 = sitofp i32 %55 to double
  %57 = fdiv double 1.000000e+00, %56
  %58 = fadd double %57, 0.000000e+00
  %59 = tail call noundef i32 @_Z1fi(i32 noundef 1)
  %60 = tail call noundef i32 @_Z1fi(i32 noundef 2)
  %61 = insertelement <2 x i32> poison, i32 %59, i64 0
  %62 = insertelement <2 x i32> %61, i32 %60, i64 1
  %63 = sitofp <2 x i32> %62 to <2 x double>
  %64 = fdiv <2 x double> <double 1.000000e+00, double 1.000000e+00>, %63
  %65 = extractelement <2 x double> %64, i64 0
  %66 = fadd double %58, %65
  %67 = extractelement <2 x double> %64, i64 1
  %68 = fadd double %66, %67
  %69 = tail call noundef i32 @_Z1fi(i32 noundef 3)
  %70 = tail call noundef i32 @_Z1fi(i32 noundef 4)
  %71 = insertelement <2 x i32> poison, i32 %69, i64 0
  %72 = insertelement <2 x i32> %71, i32 %70, i64 1
  %73 = sitofp <2 x i32> %72 to <2 x double>
  %74 = fdiv <2 x double> <double 1.000000e+00, double 1.000000e+00>, %73
  %75 = extractelement <2 x double> %74, i64 0
  %76 = fadd double %68, %75
  %77 = extractelement <2 x double> %74, i64 1
  %78 = fadd double %76, %77
  %79 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef 4, double noundef %78)
  %80 = tail call noundef i32 @_Z1fi(i32 noundef 0)
  %81 = tail call noundef i32 @_Z1fi(i32 noundef 1)
  %82 = insertelement <2 x i32> poison, i32 %80, i64 0
  %83 = insertelement <2 x i32> %82, i32 %81, i64 1
  %84 = sitofp <2 x i32> %83 to <2 x double>
  %85 = fdiv <2 x double> <double 1.000000e+00, double 1.000000e+00>, %84
  %86 = extractelement <2 x double> %85, i64 0
  %87 = fadd double %86, 0.000000e+00
  %88 = extractelement <2 x double> %85, i64 1
  %89 = fadd double %87, %88
  %90 = tail call noundef i32 @_Z1fi(i32 noundef 2)
  %91 = tail call noundef i32 @_Z1fi(i32 noundef 3)
  %92 = insertelement <2 x i32> poison, i32 %90, i64 0
  %93 = insertelement <2 x i32> %92, i32 %91, i64 1
  %94 = sitofp <2 x i32> %93 to <2 x double>
  %95 = fdiv <2 x double> <double 1.000000e+00, double 1.000000e+00>, %94
  %96 = extractelement <2 x double> %95, i64 0
  %97 = fadd double %89, %96
  %98 = extractelement <2 x double> %95, i64 1
  %99 = fadd double %97, %98
  %100 = tail call noundef i32 @_Z1fi(i32 noundef 4)
  %101 = tail call noundef i32 @_Z1fi(i32 noundef 5)
  %102 = insertelement <2 x i32> poison, i32 %100, i64 0
  %103 = insertelement <2 x i32> %102, i32 %101, i64 1
  %104 = sitofp <2 x i32> %103 to <2 x double>
  %105 = fdiv <2 x double> <double 1.000000e+00, double 1.000000e+00>, %104
  %106 = extractelement <2 x double> %105, i64 0
  %107 = fadd double %99, %106
  %108 = extractelement <2 x double> %105, i64 1
  %109 = fadd double %107, %108
  %110 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef 5, double noundef %109)
  %111 = tail call noundef i32 @_Z1fi(i32 noundef 0)
  %112 = sitofp i32 %111 to double
  %113 = fdiv double 1.000000e+00, %112
  %114 = fadd double %113, 0.000000e+00
  %115 = tail call noundef i32 @_Z1fi(i32 noundef 1)
  %116 = tail call noundef i32 @_Z1fi(i32 noundef 2)
  %117 = insertelement <2 x i32> poison, i32 %115, i64 0
  %118 = insertelement <2 x i32> %117, i32 %116, i64 1
  %119 = sitofp <2 x i32> %118 to <2 x double>
  %120 = fdiv <2 x double> <double 1.000000e+00, double 1.000000e+00>, %119
  %121 = extractelement <2 x double> %120, i64 0
  %122 = fadd double %114, %121
  %123 = extractelement <2 x double> %120, i64 1
  %124 = fadd double %122, %123
  %125 = tail call noundef i32 @_Z1fi(i32 noundef 3)
  %126 = tail call noundef i32 @_Z1fi(i32 noundef 4)
  %127 = insertelement <2 x i32> poison, i32 %125, i64 0
  %128 = insertelement <2 x i32> %127, i32 %126, i64 1
  %129 = sitofp <2 x i32> %128 to <2 x double>
  %130 = fdiv <2 x double> <double 1.000000e+00, double 1.000000e+00>, %129
  %131 = extractelement <2 x double> %130, i64 0
  %132 = fadd double %124, %131
  %133 = extractelement <2 x double> %130, i64 1
  %134 = fadd double %132, %133
  %135 = tail call noundef i32 @_Z1fi(i32 noundef 5)
  %136 = tail call noundef i32 @_Z1fi(i32 noundef 6)
  %137 = insertelement <2 x i32> poison, i32 %135, i64 0
  %138 = insertelement <2 x i32> %137, i32 %136, i64 1
  %139 = sitofp <2 x i32> %138 to <2 x double>
  %140 = fdiv <2 x double> <double 1.000000e+00, double 1.000000e+00>, %139
  %141 = extractelement <2 x double> %140, i64 0
  %142 = fadd double %134, %141
  %143 = extractelement <2 x double> %140, i64 1
  %144 = fadd double %142, %143
  %145 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef 6, double noundef %144)
  %146 = tail call noundef i32 @_Z1fi(i32 noundef 0)
  %147 = tail call noundef i32 @_Z1fi(i32 noundef 1)
  %148 = insertelement <2 x i32> poison, i32 %146, i64 0
  %149 = insertelement <2 x i32> %148, i32 %147, i64 1
  %150 = sitofp <2 x i32> %149 to <2 x double>
  %151 = fdiv <2 x double> <double 1.000000e+00, double 1.000000e+00>, %150
  %152 = extractelement <2 x double> %151, i64 0
  %153 = fadd double %152, 0.000000e+00
  %154 = extractelement <2 x double> %151, i64 1
  %155 = fadd double %153, %154
  %156 = tail call noundef i32 @_Z1fi(i32 noundef 2)
  %157 = tail call noundef i32 @_Z1fi(i32 noundef 3)
  %158 = insertelement <2 x i32> poison, i32 %156, i64 0
  %159 = insertelement <2 x i32> %158, i32 %157, i64 1
  %160 = sitofp <2 x i32> %159 to <2 x double>
  %161 = fdiv <2 x double> <double 1.000000e+00, double 1.000000e+00>, %160
  %162 = extractelement <2 x double> %161, i64 0
  %163 = fadd double %155, %162
  %164 = extractelement <2 x double> %161, i64 1
  %165 = fadd double %163, %164
  %166 = tail call noundef i32 @_Z1fi(i32 noundef 4)
  %167 = tail call noundef i32 @_Z1fi(i32 noundef 5)
  %168 = insertelement <2 x i32> poison, i32 %166, i64 0
  %169 = insertelement <2 x i32> %168, i32 %167, i64 1
  %170 = sitofp <2 x i32> %169 to <2 x double>
  %171 = fdiv <2 x double> <double 1.000000e+00, double 1.000000e+00>, %170
  %172 = extractelement <2 x double> %171, i64 0
  %173 = fadd double %165, %172
  %174 = extractelement <2 x double> %171, i64 1
  %175 = fadd double %173, %174
  %176 = tail call noundef i32 @_Z1fi(i32 noundef 6)
  %177 = tail call noundef i32 @_Z1fi(i32 noundef 7)
  %178 = insertelement <2 x i32> poison, i32 %176, i64 0
  %179 = insertelement <2 x i32> %178, i32 %177, i64 1
  %180 = sitofp <2 x i32> %179 to <2 x double>
  %181 = fdiv <2 x double> <double 1.000000e+00, double 1.000000e+00>, %180
  %182 = extractelement <2 x double> %181, i64 0
  %183 = fadd double %175, %182
  %184 = extractelement <2 x double> %181, i64 1
  %185 = fadd double %183, %184
  %186 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef 7, double noundef %185)
  %187 = tail call noundef i32 @_Z1fi(i32 noundef 0)
  %188 = sitofp i32 %187 to double
  %189 = fdiv double 1.000000e+00, %188
  %190 = fadd double %189, 0.000000e+00
  %191 = tail call noundef i32 @_Z1fi(i32 noundef 1)
  %192 = tail call noundef i32 @_Z1fi(i32 noundef 2)
  %193 = insertelement <2 x i32> poison, i32 %191, i64 0
  %194 = insertelement <2 x i32> %193, i32 %192, i64 1
  %195 = sitofp <2 x i32> %194 to <2 x double>
  %196 = fdiv <2 x double> <double 1.000000e+00, double 1.000000e+00>, %195
  %197 = extractelement <2 x double> %196, i64 0
  %198 = fadd double %190, %197
  %199 = extractelement <2 x double> %196, i64 1
  %200 = fadd double %198, %199
  %201 = tail call noundef i32 @_Z1fi(i32 noundef 3)
  %202 = tail call noundef i32 @_Z1fi(i32 noundef 4)
  %203 = insertelement <2 x i32> poison, i32 %201, i64 0
  %204 = insertelement <2 x i32> %203, i32 %202, i64 1
  %205 = sitofp <2 x i32> %204 to <2 x double>
  %206 = fdiv <2 x double> <double 1.000000e+00, double 1.000000e+00>, %205
  %207 = extractelement <2 x double> %206, i64 0
  %208 = fadd double %200, %207
  %209 = extractelement <2 x double> %206, i64 1
  %210 = fadd double %208, %209
  %211 = tail call noundef i32 @_Z1fi(i32 noundef 5)
  %212 = tail call noundef i32 @_Z1fi(i32 noundef 6)
  %213 = insertelement <2 x i32> poison, i32 %211, i64 0
  %214 = insertelement <2 x i32> %213, i32 %212, i64 1
  %215 = sitofp <2 x i32> %214 to <2 x double>
  %216 = fdiv <2 x double> <double 1.000000e+00, double 1.000000e+00>, %215
  %217 = extractelement <2 x double> %216, i64 0
  %218 = fadd double %210, %217
  %219 = extractelement <2 x double> %216, i64 1
  %220 = fadd double %218, %219
  %221 = tail call noundef i32 @_Z1fi(i32 noundef 7)
  %222 = tail call noundef i32 @_Z1fi(i32 noundef 8)
  %223 = insertelement <2 x i32> poison, i32 %221, i64 0
  %224 = insertelement <2 x i32> %223, i32 %222, i64 1
  %225 = sitofp <2 x i32> %224 to <2 x double>
  %226 = fdiv <2 x double> <double 1.000000e+00, double 1.000000e+00>, %225
  %227 = extractelement <2 x double> %226, i64 0
  %228 = fadd double %220, %227
  %229 = extractelement <2 x double> %226, i64 1
  %230 = fadd double %228, %229
  %231 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef 8, double noundef %230)
  %232 = tail call noundef i32 @_Z1fi(i32 noundef 0)
  %233 = tail call noundef i32 @_Z1fi(i32 noundef 1)
  %234 = insertelement <2 x i32> poison, i32 %232, i64 0
  %235 = insertelement <2 x i32> %234, i32 %233, i64 1
  %236 = sitofp <2 x i32> %235 to <2 x double>
  %237 = fdiv <2 x double> <double 1.000000e+00, double 1.000000e+00>, %236
  %238 = extractelement <2 x double> %237, i64 0
  %239 = fadd double %238, 0.000000e+00
  %240 = extractelement <2 x double> %237, i64 1
  %241 = fadd double %239, %240
  %242 = tail call noundef i32 @_Z1fi(i32 noundef 2)
  %243 = tail call noundef i32 @_Z1fi(i32 noundef 3)
  %244 = insertelement <2 x i32> poison, i32 %242, i64 0
  %245 = insertelement <2 x i32> %244, i32 %243, i64 1
  %246 = sitofp <2 x i32> %245 to <2 x double>
  %247 = fdiv <2 x double> <double 1.000000e+00, double 1.000000e+00>, %246
  %248 = extractelement <2 x double> %247, i64 0
  %249 = fadd double %241, %248
  %250 = extractelement <2 x double> %247, i64 1
  %251 = fadd double %249, %250
  %252 = tail call noundef i32 @_Z1fi(i32 noundef 4)
  %253 = tail call noundef i32 @_Z1fi(i32 noundef 5)
  %254 = insertelement <2 x i32> poison, i32 %252, i64 0
  %255 = insertelement <2 x i32> %254, i32 %253, i64 1
  %256 = sitofp <2 x i32> %255 to <2 x double>
  %257 = fdiv <2 x double> <double 1.000000e+00, double 1.000000e+00>, %256
  %258 = extractelement <2 x double> %257, i64 0
  %259 = fadd double %251, %258
  %260 = extractelement <2 x double> %257, i64 1
  %261 = fadd double %259, %260
  %262 = tail call noundef i32 @_Z1fi(i32 noundef 6)
  %263 = tail call noundef i32 @_Z1fi(i32 noundef 7)
  %264 = insertelement <2 x i32> poison, i32 %262, i64 0
  %265 = insertelement <2 x i32> %264, i32 %263, i64 1
  %266 = sitofp <2 x i32> %265 to <2 x double>
  %267 = fdiv <2 x double> <double 1.000000e+00, double 1.000000e+00>, %266
  %268 = extractelement <2 x double> %267, i64 0
  %269 = fadd double %261, %268
  %270 = extractelement <2 x double> %267, i64 1
  %271 = fadd double %269, %270
  %272 = tail call noundef i32 @_Z1fi(i32 noundef 8)
  %273 = tail call noundef i32 @_Z1fi(i32 noundef 9)
  %274 = insertelement <2 x i32> poison, i32 %272, i64 0
  %275 = insertelement <2 x i32> %274, i32 %273, i64 1
  %276 = sitofp <2 x i32> %275 to <2 x double>
  %277 = fdiv <2 x double> <double 1.000000e+00, double 1.000000e+00>, %276
  %278 = extractelement <2 x double> %277, i64 0
  %279 = fadd double %271, %278
  %280 = extractelement <2 x double> %277, i64 1
  %281 = fadd double %279, %280
  %282 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, i32 noundef 9, double noundef %281)
  ret i32 0
}

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2

attributes #0 = { mustprogress 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 norecurse 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 #2 = { nofree 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" }

!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)"}


; Effective O3 passes: GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LoopRotatePass,LoopSimplifyPass,PostOrderFunctionAttrsPass,SCCPPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass