; LLVM IR from arbor-sim/arbor :: test/unit/stats.ll (ZN7testing2ks6dn_cdfEdi)

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

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }
%class.anon = type { i8 }

@.str = external hidden unnamed_addr constant [45 x i8], align 1
@_ZTISt11range_error = external constant ptr

; Function Attrs: mustprogress uwtable
define dso_local noundef double @_ZN7testing2ks6dn_cdfEdi(double noundef %0, i32 noundef %1) #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca double, align 8
  %4 = alloca double, align 8
  %5 = alloca i32, align 4
  %6 = alloca double, align 8
  %7 = alloca i32, align 4
  %8 = alloca double, align 8
  %9 = alloca double, align 8
  %10 = alloca i32, align 4
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  %15 = alloca double, align 8
  %16 = alloca %"class.std::vector", align 8
  %17 = alloca %"class.std::allocator", align 1
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca double, align 8
  %22 = alloca double, align 8
  %23 = alloca i32, align 4
  %24 = alloca double, align 8
  %25 = alloca %class.anon, align 1
  %26 = alloca double, align 8
  %27 = alloca double, align 8
  %28 = alloca i32, align 4
  %29 = alloca double, align 8
  %30 = alloca double, align 8
  %31 = alloca i32, align 4
  %32 = alloca double, align 8
  %33 = alloca i32, align 4
  %34 = alloca double, align 8
  %35 = alloca i32, align 4
  %36 = alloca i32, align 4
  store double %0, ptr %4, align 8, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #8
  %37 = load i32, ptr %5, align 4, !tbaa !9
  %38 = sitofp i32 %37 to double
  %39 = load double, ptr %4, align 8, !tbaa !5
  %40 = fmul double %38, %39
  store double %40, ptr %6, align 8, !tbaa !5
  %41 = load double, ptr %4, align 8, !tbaa !5
  %42 = fcmp oge double %41, 1.000000e+00
  br i1 %42, label %48, label %43

43:                                               ; preds = %2
  %44 = load double, ptr %6, align 8, !tbaa !5
  %45 = load double, ptr %4, align 8, !tbaa !5
  %46 = fmul double %44, %45
  %47 = fcmp oge double %46, 1.837000e+01
  br i1 %47, label %48, label %49

48:                                               ; preds = %43, %2
  store double 1.000000e+00, ptr %3, align 8
  store i32 1, ptr %7, align 4
  br label %404

49:                                               ; preds = %43
  %50 = load double, ptr %6, align 8, !tbaa !5
  %51 = fcmp ole double %50, 5.000000e-01
  br i1 %51, label %52, label %53

52:                                               ; preds = %49
  store double 0.000000e+00, ptr %3, align 8
  store i32 1, ptr %7, align 4
  br label %404

53:                                               ; preds = %49
  %54 = load double, ptr %6, align 8, !tbaa !5
  %55 = fcmp ole double %54, 1.000000e+00
  br i1 %55, label %56, label %81

56:                                               ; preds = %53
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #8
  %57 = load double, ptr %4, align 8, !tbaa !5
  %58 = load i32, ptr %5, align 4, !tbaa !9
  %59 = sitofp i32 %58 to double
  %60 = fdiv double 1.000000e+00, %59
  %61 = fneg double %60
  %62 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %57, double %61)
  store double %62, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #8
  %63 = load double, ptr %8, align 8, !tbaa !5
  store double %63, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #8
  store i32 2, ptr %10, align 4, !tbaa !9
  br label %64

64:                                               ; preds = %76, %56
  %65 = load i32, ptr %10, align 4, !tbaa !9
  %66 = load i32, ptr %5, align 4, !tbaa !9
  %67 = icmp sle i32 %65, %66
  br i1 %67, label %69, label %68

68:                                               ; preds = %64
  store i32 2, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #8
  br label %79

69:                                               ; preds = %64
  %70 = load double, ptr %8, align 8, !tbaa !5
  %71 = load i32, ptr %10, align 4, !tbaa !9
  %72 = sitofp i32 %71 to double
  %73 = fmul double %70, %72
  %74 = load double, ptr %9, align 8, !tbaa !5
  %75 = fmul double %74, %73
  store double %75, ptr %9, align 8, !tbaa !5
  br label %76

76:                                               ; preds = %69
  %77 = load i32, ptr %10, align 4, !tbaa !9
  %78 = add nsw i32 %77, 1
  store i32 %78, ptr %10, align 4, !tbaa !9
  br label %64, !llvm.loop !11

79:                                               ; preds = %68
  %80 = load double, ptr %9, align 8, !tbaa !5
  store double %80, ptr %3, align 8
  store i32 1, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #8
  br label %404

81:                                               ; preds = %53
  %82 = load double, ptr %6, align 8, !tbaa !5
  %83 = load i32, ptr %5, align 4, !tbaa !9
  %84 = sub nsw i32 %83, 1
  %85 = sitofp i32 %84 to double
  %86 = fcmp oge double %82, %85
  br i1 %86, label %87, label %93

87:                                               ; preds = %81
  %88 = load double, ptr %4, align 8, !tbaa !5
  %89 = fsub double 1.000000e+00, %88
  %90 = load i32, ptr %5, align 4, !tbaa !9
  %91 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %89, i32 noundef %90)
  %92 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %91, double 1.000000e+00)
  store double %92, ptr %3, align 8
  store i32 1, ptr %7, align 4
  br label %404

93:                                               ; preds = %81
  br label %94

94:                                               ; preds = %93
  br label %95

95:                                               ; preds = %94
  %96 = load i32, ptr %5, align 4, !tbaa !9
  %97 = sitofp i32 %96 to double
  %98 = fcmp oge double %97, 1.000000e+05
  br i1 %98, label %107, label %99

99:                                               ; preds = %95
  %100 = load i32, ptr %5, align 4, !tbaa !9
  %101 = icmp sgt i32 %100, 140
  br i1 %101, label %102, label %114

102:                                              ; preds = %99
  %103 = load double, ptr %6, align 8, !tbaa !5
  %104 = load double, ptr %4, align 8, !tbaa !5
  %105 = fmul double %103, %104
  %106 = fcmp ogt double %105, 3.000000e-01
  br i1 %106, label %107, label %114

107:                                              ; preds = %102, %95
  %108 = call ptr @__cxa_allocate_exception(i64 16) #8
  invoke void @_ZNSt11range_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %108, ptr noundef @.str)
          to label %109 unwind label %110

109:                                              ; preds = %107
  call void @__cxa_throw(ptr %108, ptr @_ZTISt11range_error, ptr @_ZNSt11range_errorD1Ev) #9
  unreachable

110:                                              ; preds = %107
  %111 = landingpad { ptr, i32 }
          cleanup
  %112 = extractvalue { ptr, i32 } %111, 0
  store ptr %112, ptr %11, align 8
  %113 = extractvalue { ptr, i32 } %111, 1
  store i32 %113, ptr %12, align 4
  call void @__cxa_free_exception(ptr %108) #8
  br label %406

114:                                              ; preds = %102, %99
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #8
  %115 = load double, ptr %6, align 8, !tbaa !5
  %116 = call double @llvm.ceil.f64(double %115)
  %117 = fptosi double %116 to i32
  store i32 %117, ptr %13, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #8
  %118 = load i32, ptr %13, align 4, !tbaa !9
  %119 = mul nsw i32 2, %118
  %120 = sub nsw i32 %119, 1
  store i32 %120, ptr %14, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #8
  %121 = load i32, ptr %13, align 4, !tbaa !9
  %122 = sitofp i32 %121 to double
  %123 = load double, ptr %6, align 8, !tbaa !5
  %124 = fsub double %122, %123
  store double %124, ptr %15, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 24, ptr %16) #8
  %125 = load i32, ptr %14, align 4, !tbaa !9
  %126 = mul nsw i32 3, %125
  %127 = sub nsw i32 %126, 2
  %128 = sext i32 %127 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr %17) #8
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #8
  invoke void @_ZNSt6vectorIdSaIdEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %16, i64 noundef %128, ptr noundef nonnull align 1 dereferenceable(1) %17)
          to label %129 unwind label %146

129:                                              ; preds = %114
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #8
  %130 = call noundef ptr @_ZNSt6vectorIdSaIdEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %16) #8
  store ptr %130, ptr %18, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #8
  %131 = load ptr, ptr %18, align 8, !tbaa !13
  %132 = load i32, ptr %14, align 4, !tbaa !9
  %133 = sext i32 %132 to i64
  %134 = getelementptr inbounds double, ptr %131, i64 %133
  store ptr %134, ptr %19, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #8
  %135 = load ptr, ptr %19, align 8, !tbaa !13
  %136 = load i32, ptr %14, align 4, !tbaa !9
  %137 = sext i32 %136 to i64
  %138 = getelementptr inbounds double, ptr %135, i64 %137
  store ptr %138, ptr %20, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #8
  store double 1.000000e+00, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #8
  %139 = load double, ptr %15, align 8, !tbaa !5
  store double %139, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #8
  store i32 0, ptr %23, align 4, !tbaa !9
  br label %140

140:                                              ; preds = %178, %129
  %141 = load i32, ptr %23, align 4, !tbaa !9
  %142 = load i32, ptr %14, align 4, !tbaa !9
  %143 = sub nsw i32 %142, 1
  %144 = icmp slt i32 %141, %143
  br i1 %144, label %150, label %145

145:                                              ; preds = %140
  store i32 5, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #8
  br label %181

146:                                              ; preds = %114
  %147 = landingpad { ptr, i32 }
          cleanup
  %148 = extractvalue { ptr, i32 } %147, 0
  store ptr %148, ptr %11, align 8
  %149 = extractvalue { ptr, i32 } %147, 1
  store i32 %149, ptr %12, align 4
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %17) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %17) #8
  br label %403

150:                                              ; preds = %140
  %151 = load i32, ptr %23, align 4, !tbaa !9
  %152 = load i32, ptr %14, align 4, !tbaa !9
  %153 = sub nsw i32 %152, 2
  %154 = icmp slt i32 %151, %153
  br i1 %154, label %155, label %161

155:                                              ; preds = %150
  %156 = load double, ptr %21, align 8, !tbaa !5
  %157 = load ptr, ptr %20, align 8, !tbaa !13
  %158 = load i32, ptr %23, align 4, !tbaa !9
  %159 = sext i32 %158 to i64
  %160 = getelementptr inbounds double, ptr %157, i64 %159
  store double %156, ptr %160, align 8, !tbaa !5
  br label %161

161:                                              ; preds = %155, %150
  %162 = load double, ptr %22, align 8, !tbaa !5
  %163 = fsub double 1.000000e+00, %162
  %164 = load double, ptr %21, align 8, !tbaa !5
  %165 = fmul double %163, %164
  %166 = load ptr, ptr %18, align 8, !tbaa !13
  %167 = load i32, ptr %23, align 4, !tbaa !9
  %168 = sext i32 %167 to i64
  %169 = getelementptr inbounds double, ptr %166, i64 %168
  store double %165, ptr %169, align 8, !tbaa !5
  %170 = load double, ptr %15, align 8, !tbaa !5
  %171 = load double, ptr %22, align 8, !tbaa !5
  %172 = fmul double %171, %170
  store double %172, ptr %22, align 8, !tbaa !5
  %173 = load i32, ptr %23, align 4, !tbaa !9
  %174 = add nsw i32 %173, 2
  %175 = sitofp i32 %174 to double
  %176 = load double, ptr %21, align 8, !tbaa !5
  %177 = fdiv double %176, %175
  store double %177, ptr %21, align 8, !tbaa !5
  br label %178

178:                                              ; preds = %161
  %179 = load i32, ptr %23, align 4, !tbaa !9
  %180 = add nsw i32 %179, 1
  store i32 %180, ptr %23, align 4, !tbaa !9
  br label %140, !llvm.loop !15

181:                                              ; preds = %145
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #8
  %182 = load double, ptr %15, align 8, !tbaa !5
  %183 = fcmp ole double %182, 5.000000e-01
  br i1 %183, label %184, label %185

184:                                              ; preds = %181
  br label %191

185:                                              ; preds = %181
  %186 = load double, ptr %15, align 8, !tbaa !5
  %187 = call double @llvm.fmuladd.f64(double 2.000000e+00, double %186, double -1.000000e+00)
  %188 = load i32, ptr %14, align 4, !tbaa !9
  %189 = invoke noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %187, i32 noundef %188)
          to label %190 unwind label %217

190:                                              ; preds = %185
  br label %191

191:                                              ; preds = %190, %184
  %192 = phi double [ 0.000000e+00, %184 ], [ %189, %190 ]
  store double %192, ptr %24, align 8, !tbaa !5
  %193 = load double, ptr %22, align 8, !tbaa !5
  %194 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %193, double 1.000000e+00)
  %195 = load double, ptr %24, align 8, !tbaa !5
  %196 = fadd double %194, %195
  %197 = load double, ptr %21, align 8, !tbaa !5
  %198 = fmul double %196, %197
  %199 = load ptr, ptr %18, align 8, !tbaa !13
  %200 = load i32, ptr %14, align 4, !tbaa !9
  %201 = sub nsw i32 %200, 1
  %202 = sext i32 %201 to i64
  %203 = getelementptr inbounds double, ptr %199, i64 %202
  store double %198, ptr %203, align 8, !tbaa !5
  %204 = load ptr, ptr %19, align 8, !tbaa !13
  %205 = load i32, ptr %13, align 4, !tbaa !9
  %206 = sub nsw i32 %205, 1
  %207 = sext i32 %206 to i64
  %208 = getelementptr inbounds double, ptr %204, i64 %207
  store double 1.000000e+00, ptr %208, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 1, ptr %25) #8
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #8
  store double 1.000000e+140, ptr %26, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #8
  store double 0x22DE7C5F127BD87E, ptr %27, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #8
  store i32 0, ptr %28, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #8
  store double 1.000000e+00, ptr %29, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #8
  %209 = load i32, ptr %5, align 4, !tbaa !9
  %210 = sitofp i32 %209 to double
  %211 = fdiv double 1.000000e+00, %210
  store double %211, ptr %30, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #8
  store i32 1, ptr %31, align 4, !tbaa !9
  br label %212

212:                                              ; preds = %370, %191
  %213 = load i32, ptr %31, align 4, !tbaa !9
  %214 = load i32, ptr %5, align 4, !tbaa !9
  %215 = icmp sle i32 %213, %214
  br i1 %215, label %221, label %216

216:                                              ; preds = %212
  store i32 8, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #8
  br label %374

217:                                              ; preds = %185
  %218 = landingpad { ptr, i32 }
          cleanup
  %219 = extractvalue { ptr, i32 } %218, 0
  store ptr %219, ptr %11, align 8
  %220 = extractvalue { ptr, i32 } %218, 1
  store i32 %220, ptr %12, align 4
  br label %402

221:                                              ; preds = %212
  %222 = load i32, ptr %31, align 4, !tbaa !9
  %223 = sitofp i32 %222 to double
  %224 = load double, ptr %30, align 8, !tbaa !5
  %225 = fmul double %223, %224
  store double %225, ptr %29, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %32) #8
  %226 = load ptr, ptr %19, align 8, !tbaa !13
  %227 = getelementptr inbounds double, ptr %226, i64 0
  %228 = load double, ptr %227, align 8, !tbaa !5
  store double %228, ptr %32, align 8, !tbaa !5
  %229 = load double, ptr %29, align 8, !tbaa !5
  %230 = load ptr, ptr %18, align 8, !tbaa !13
  %231 = load ptr, ptr %19, align 8, !tbaa !13
  %232 = load i32, ptr %14, align 4, !tbaa !9
  %233 = invoke noundef double @"_ZZN7testing2ks6dn_cdfEdiENK3$_0clEPdS2_i"(ptr noundef nonnull align 1 dereferenceable(1) %25, ptr noundef %230, ptr noundef %231, i32 noundef %232)
          to label %234 unwind label %244

234:                                              ; preds = %221
  %235 = fmul double %229, %233
  %236 = load ptr, ptr %19, align 8, !tbaa !13
  %237 = getelementptr inbounds double, ptr %236, i64 0
  store double %235, ptr %237, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #8
  store i32 1, ptr %33, align 4, !tbaa !9
  br label %238

238:                                              ; preds = %289, %234
  %239 = load i32, ptr %33, align 4, !tbaa !9
  %240 = load i32, ptr %14, align 4, !tbaa !9
  %241 = sub nsw i32 %240, 1
  %242 = icmp slt i32 %239, %241
  br i1 %242, label %248, label %243

243:                                              ; preds = %238
  store i32 11, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #8
  br label %296

244:                                              ; preds = %221
  %245 = landingpad { ptr, i32 }
          cleanup
  %246 = extractvalue { ptr, i32 } %245, 0
  store ptr %246, ptr %11, align 8
  %247 = extractvalue { ptr, i32 } %245, 1
  store i32 %247, ptr %12, align 4
  br label %373

248:                                              ; preds = %238
  call void @llvm.lifetime.start.p0(i64 8, ptr %34) #8
  %249 = load double, ptr %32, align 8, !tbaa !5
  store double %249, ptr %34, align 8, !tbaa !5
  %250 = load ptr, ptr %19, align 8, !tbaa !13
  %251 = load i32, ptr %33, align 4, !tbaa !9
  %252 = sext i32 %251 to i64
  %253 = getelementptr inbounds double, ptr %250, i64 %252
  %254 = load double, ptr %253, align 8, !tbaa !5
  store double %254, ptr %32, align 8, !tbaa !5
  %255 = load double, ptr %29, align 8, !tbaa !5
  %256 = load ptr, ptr %20, align 8, !tbaa !13
  %257 = load ptr, ptr %19, align 8, !tbaa !13
  %258 = load i32, ptr %33, align 4, !tbaa !9
  %259 = sext i32 %258 to i64
  %260 = getelementptr inbounds double, ptr %257, i64 %259
  %261 = load i32, ptr %14, align 4, !tbaa !9
  %262 = load i32, ptr %33, align 4, !tbaa !9
  %263 = sub nsw i32 %261, %262
  %264 = sub nsw i32 %263, 1
  %265 = invoke noundef double @"_ZZN7testing2ks6dn_cdfEdiENK3$_0clEPdS2_i"(ptr noundef nonnull align 1 dereferenceable(1) %25, ptr noundef %256, ptr noundef %260, i32 noundef %264)
          to label %266 unwind label %292

266:                                              ; preds = %248
  %267 = load ptr, ptr %18, align 8, !tbaa !13
  %268 = load i32, ptr %14, align 4, !tbaa !9
  %269 = load i32, ptr %33, align 4, !tbaa !9
  %270 = sub nsw i32 %268, %269
  %271 = sub nsw i32 %270, 1
  %272 = sext i32 %271 to i64
  %273 = getelementptr inbounds double, ptr %267, i64 %272
  %274 = load double, ptr %273, align 8, !tbaa !5
  %275 = load ptr, ptr %19, align 8, !tbaa !13
  %276 = load i32, ptr %14, align 4, !tbaa !9
  %277 = sub nsw i32 %276, 1
  %278 = sext i32 %277 to i64
  %279 = getelementptr inbounds double, ptr %275, i64 %278
  %280 = load double, ptr %279, align 8, !tbaa !5
  %281 = call double @llvm.fmuladd.f64(double %274, double %280, double %265)
  %282 = load double, ptr %34, align 8, !tbaa !5
  %283 = fadd double %281, %282
  %284 = fmul double %255, %283
  %285 = load ptr, ptr %19, align 8, !tbaa !13
  %286 = load i32, ptr %33, align 4, !tbaa !9
  %287 = sext i32 %286 to i64
  %288 = getelementptr inbounds double, ptr %285, i64 %287
  store double %284, ptr %288, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  br label %289

289:                                              ; preds = %266
  %290 = load i32, ptr %33, align 4, !tbaa !9
  %291 = add nsw i32 %290, 1
  store i32 %291, ptr %33, align 4, !tbaa !9
  br label %238, !llvm.loop !16

292:                                              ; preds = %248
  %293 = landingpad { ptr, i32 }
          cleanup
  %294 = extractvalue { ptr, i32 } %293, 0
  store ptr %294, ptr %11, align 8
  %295 = extractvalue { ptr, i32 } %293, 1
  store i32 %295, ptr %12, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %34) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #8
  br label %373

296:                                              ; preds = %243
  %297 = load double, ptr %29, align 8, !tbaa !5
  %298 = load ptr, ptr %18, align 8, !tbaa !13
  %299 = getelementptr inbounds double, ptr %298, i64 0
  %300 = load double, ptr %299, align 8, !tbaa !5
  %301 = load ptr, ptr %19, align 8, !tbaa !13
  %302 = load i32, ptr %14, align 4, !tbaa !9
  %303 = sub nsw i32 %302, 1
  %304 = sext i32 %303 to i64
  %305 = getelementptr inbounds double, ptr %301, i64 %304
  %306 = load double, ptr %305, align 8, !tbaa !5
  %307 = load double, ptr %32, align 8, !tbaa !5
  %308 = call double @llvm.fmuladd.f64(double %300, double %306, double %307)
  %309 = fmul double %297, %308
  %310 = load ptr, ptr %19, align 8, !tbaa !13
  %311 = load i32, ptr %14, align 4, !tbaa !9
  %312 = sub nsw i32 %311, 1
  %313 = sext i32 %312 to i64
  %314 = getelementptr inbounds double, ptr %310, i64 %313
  store double %309, ptr %314, align 8, !tbaa !5
  %315 = load ptr, ptr %19, align 8, !tbaa !13
  %316 = load i32, ptr %13, align 4, !tbaa !9
  %317 = sub nsw i32 %316, 1
  %318 = sext i32 %317 to i64
  %319 = getelementptr inbounds double, ptr %315, i64 %318
  %320 = load double, ptr %319, align 8, !tbaa !5
  %321 = fcmp ogt double %320, 1.000000e+140
  br i1 %321, label %322, label %341

322:                                              ; preds = %296
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #8
  store i32 0, ptr %35, align 4, !tbaa !9
  br label %323

323:                                              ; preds = %335, %322
  %324 = load i32, ptr %35, align 4, !tbaa !9
  %325 = load i32, ptr %14, align 4, !tbaa !9
  %326 = icmp slt i32 %324, %325
  br i1 %326, label %328, label %327

327:                                              ; preds = %323
  store i32 14, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #8
  br label %338

328:                                              ; preds = %323
  %329 = load ptr, ptr %19, align 8, !tbaa !13
  %330 = load i32, ptr %35, align 4, !tbaa !9
  %331 = sext i32 %330 to i64
  %332 = getelementptr inbounds double, ptr %329, i64 %331
  %333 = load double, ptr %332, align 8, !tbaa !5
  %334 = fmul double %333, 0x22DE7C5F127BD87E
  store double %334, ptr %332, align 8, !tbaa !5
  br label %335

335:                                              ; preds = %328
  %336 = load i32, ptr %35, align 4, !tbaa !9
  %337 = add nsw i32 %336, 1
  store i32 %337, ptr %35, align 4, !tbaa !9
  br label %323, !llvm.loop !17

338:                                              ; preds = %327
  %339 = load i32, ptr %28, align 4, !tbaa !9
  %340 = add nsw i32 %339, 1
  store i32 %340, ptr %28, align 4, !tbaa !9
  br label %369

341:                                              ; preds = %296
  %342 = load ptr, ptr %19, align 8, !tbaa !13
  %343 = load i32, ptr %13, align 4, !tbaa !9
  %344 = sub nsw i32 %343, 1
  %345 = sext i32 %344 to i64
  %346 = getelementptr inbounds double, ptr %342, i64 %345
  %347 = load double, ptr %346, align 8, !tbaa !5
  %348 = fcmp olt double %347, 0x22DE7C5F127BD87E
  br i1 %348, label %349, label %368

349:                                              ; preds = %341
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #8
  store i32 0, ptr %36, align 4, !tbaa !9
  br label %350

350:                                              ; preds = %362, %349
  %351 = load i32, ptr %36, align 4, !tbaa !9
  %352 = load i32, ptr %14, align 4, !tbaa !9
  %353 = icmp slt i32 %351, %352
  br i1 %353, label %355, label %354

354:                                              ; preds = %350
  store i32 17, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #8
  br label %365

355:                                              ; preds = %350
  %356 = load ptr, ptr %19, align 8, !tbaa !13
  %357 = load i32, ptr %36, align 4, !tbaa !9
  %358 = sext i32 %357 to i64
  %359 = getelementptr inbounds double, ptr %356, i64 %358
  %360 = load double, ptr %359, align 8, !tbaa !5
  %361 = fmul double %360, 1.000000e+140
  store double %361, ptr %359, align 8, !tbaa !5
  br label %362

362:                                              ; preds = %355
  %363 = load i32, ptr %36, align 4, !tbaa !9
  %364 = add nsw i32 %363, 1
  store i32 %364, ptr %36, align 4, !tbaa !9
  br label %350, !llvm.loop !18

365:                                              ; preds = %354
  %366 = load i32, ptr %28, align 4, !tbaa !9
  %367 = add nsw i32 %366, -1
  store i32 %367, ptr %28, align 4, !tbaa !9
  br label %368

368:                                              ; preds = %365, %341
  br label %369

369:                                              ; preds = %368, %338
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  br label %370

370:                                              ; preds = %369
  %371 = load i32, ptr %31, align 4, !tbaa !9
  %372 = add nsw i32 %371, 1
  store i32 %372, ptr %31, align 4, !tbaa !9
  br label %212, !llvm.loop !19

373:                                              ; preds = %292, %244
  call void @llvm.lifetime.end.p0(i64 8, ptr %32) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #8
  br label %401

374:                                              ; preds = %216
  %375 = load i32, ptr %28, align 4, !tbaa !9
  %376 = icmp ne i32 %375, 0
  br i1 %376, label %377, label %388

377:                                              ; preds = %374
  %378 = load ptr, ptr %19, align 8, !tbaa !13
  %379 = load i32, ptr %13, align 4, !tbaa !9
  %380 = sub nsw i32 %379, 1
  %381 = sext i32 %380 to i64
  %382 = getelementptr inbounds double, ptr %378, i64 %381
  %383 = load double, ptr %382, align 8, !tbaa !5
  %384 = load i32, ptr %28, align 4, !tbaa !9
  %385 = invoke noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef 1.000000e+140, i32 noundef %384)
          to label %386 unwind label %397

386:                                              ; preds = %377
  %387 = fmul double %383, %385
  br label %395

388:                                              ; preds = %374
  %389 = load ptr, ptr %19, align 8, !tbaa !13
  %390 = load i32, ptr %13, align 4, !tbaa !9
  %391 = sub nsw i32 %390, 1
  %392 = sext i32 %391 to i64
  %393 = getelementptr inbounds double, ptr %389, i64 %392
  %394 = load double, ptr %393, align 8, !tbaa !5
  br label %395

395:                                              ; preds = %388, %386
  %396 = phi double [ %387, %386 ], [ %394, %388 ]
  store double %396, ptr %3, align 8
  store i32 1, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #8
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  br label %404

397:                                              ; preds = %377
  %398 = landingpad { ptr, i32 }
          cleanup
  %399 = extractvalue { ptr, i32 } %398, 0
  store ptr %399, ptr %11, align 8
  %400 = extractvalue { ptr, i32 } %398, 1
  store i32 %400, ptr %12, align 4
  br label %401

401:                                              ; preds = %397, %373
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #8
  call void @llvm.lifetime.end.p0(i64 1, ptr %25) #8
  br label %402

402:                                              ; preds = %401, %217
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #8
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %16) #8
  br label %403

403:                                              ; preds = %402, %146
  call void @llvm.lifetime.end.p0(i64 24, ptr %16) #8
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #8
  br label %406

404:                                              ; preds = %395, %87, %79, %52, %48
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #8
  %405 = load double, ptr %3, align 8
  ret double %405

406:                                              ; preds = %403, %110
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #8
  br label %407

407:                                              ; preds = %406
  %408 = load ptr, ptr %11, align 8
  %409 = load i32, ptr %12, align 4
  %410 = insertvalue { ptr, i32 } poison, ptr %408, 0
  %411 = insertvalue { ptr, i32 } %410, i32 %409, 1
  resume { ptr, i32 } %411
}

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef, i32 noundef) #3

declare ptr @__cxa_allocate_exception(i64)

declare void @_ZNSt11range_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #4

declare i32 @__gxx_personality_v0(...)

declare void @__cxa_free_exception(ptr)

; Function Attrs: nounwind
declare void @_ZNSt11range_errorD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #5

declare void @__cxa_throw(ptr, ptr, ptr)

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNSt6vectorIdSaIdEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24)) #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef double @"_ZZN7testing2ks6dn_cdfEdiENK3$_0clEPdS2_i"(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef, ptr noundef, i32 noundef) #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #6 align 2

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { inlinehint 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 #4 = { "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 #5 = { 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 #6 = { 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 #7 = { inlinehint mustprogress 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 #8 = { nounwind }
attributes #9 = { noreturn }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !14, i64 0}
!14 = !{!"any pointer", !7, i64 0}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !12}
!18 = distinct !{!18, !12}
!19 = distinct !{!19, !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"

%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl" = type { %"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" }
%"struct.std::_Vector_base<double, std::allocator<double>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::allocator" = type { i8 }
%class.anon = type { i8 }

@.str = external hidden unnamed_addr constant [45 x i8], align 1
@_ZTISt11range_error = external constant ptr

; Function Attrs: mustprogress uwtable
define dso_local noundef double @_ZN7testing2ks6dn_cdfEdi(double noundef %0, i32 noundef %1) local_unnamed_addr #0 personality ptr @__gxx_personality_v0 {
  %3 = alloca %"class.std::vector", align 8
  %4 = alloca %"class.std::allocator", align 1
  %5 = alloca %class.anon, align 1
  %6 = sitofp i32 %1 to double
  %7 = fmul double %6, %0
  %8 = fcmp ult double %0, 1.000000e+00
  br i1 %8, label %9, label %.loopexit

9:                                                ; preds = %2
  %10 = fmul double %7, %0
  %11 = fcmp ult double %10, 1.837000e+01
  br i1 %11, label %12, label %.loopexit

12:                                               ; preds = %9
  %13 = fcmp ugt double %7, 5.000000e-01
  br i1 %13, label %14, label %.loopexit

14:                                               ; preds = %12
  %15 = fcmp ugt double %7, 1.000000e+00
  br i1 %15, label %38, label %16

16:                                               ; preds = %14
  %17 = fdiv double -1.000000e+00, %6
  %18 = tail call double @llvm.fmuladd.f64(double %0, double 2.000000e+00, double %17)
  %.not152157 = icmp slt i32 %1, 2
  br i1 %.not152157, label %.loopexit, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %16
  %19 = add nsw i32 %1, -1
  %20 = add nsw i32 %1, -2
  %xtraiter = and i32 %19, 3
  %21 = icmp ult i32 %20, 3
  br i1 %21, label %.loopexit.loopexit.unr-lcssa, label %.lr.ph.preheader.new

.lr.ph.preheader.new:                             ; preds = %.lr.ph.preheader
  %unroll_iter = and i32 %19, -4
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph, %.lr.ph.preheader.new
  %.0130159 = phi double [ %18, %.lr.ph.preheader.new ], [ %36, %.lr.ph ]
  %.0131158 = phi i32 [ 2, %.lr.ph.preheader.new ], [ %37, %.lr.ph ]
  %niter = phi i32 [ 0, %.lr.ph.preheader.new ], [ %niter.next.3, %.lr.ph ]
  %22 = uitofp nneg i32 %.0131158 to double
  %23 = fmul double %18, %22
  %24 = fmul double %.0130159, %23
  %25 = or disjoint i32 %.0131158, 1
  %26 = uitofp nneg i32 %25 to double
  %27 = fmul double %18, %26
  %28 = fmul double %24, %27
  %29 = add nuw i32 %.0131158, 2
  %30 = uitofp nneg i32 %29 to double
  %31 = fmul double %18, %30
  %32 = fmul double %28, %31
  %33 = add nuw i32 %.0131158, 3
  %34 = uitofp nneg i32 %33 to double
  %35 = fmul double %18, %34
  %36 = fmul double %32, %35
  %37 = add nuw i32 %.0131158, 4
  %niter.next.3 = add i32 %niter, 4
  %niter.ncmp.3 = icmp eq i32 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %.loopexit.loopexit.unr-lcssa, label %.lr.ph, !llvm.loop !5

38:                                               ; preds = %14
  %39 = add nsw i32 %1, -1
  %40 = sitofp i32 %39 to double
  %41 = fcmp ult double %7, %40
  br i1 %41, label %46, label %42

42:                                               ; preds = %38
  %43 = fsub double 1.000000e+00, %0
  %44 = tail call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %43, i32 noundef %1)
  %45 = tail call double @llvm.fmuladd.f64(double %44, double -2.000000e+00, double 1.000000e+00)
  br label %.loopexit

46:                                               ; preds = %38
  %47 = icmp sgt i32 %1, 99999
  br i1 %47, label %51, label %48

48:                                               ; preds = %46
  %49 = icmp sgt i32 %1, 140
  %50 = fcmp ogt double %10, 3.000000e-01
  %or.cond = and i1 %49, %50
  br i1 %or.cond, label %51, label %56

51:                                               ; preds = %48, %46
  %52 = tail call ptr @__cxa_allocate_exception(i64 16) #9
  invoke void @_ZNSt11range_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16) %52, ptr noundef nonnull @.str)
          to label %53 unwind label %54

53:                                               ; preds = %51
  tail call void @__cxa_throw(ptr nonnull %52, ptr nonnull @_ZTISt11range_error, ptr nonnull @_ZNSt11range_errorD1Ev) #10
  unreachable

54:                                               ; preds = %51
  %55 = landingpad { ptr, i32 }
          cleanup
  tail call void @__cxa_free_exception(ptr %52) #9
  br label %173

56:                                               ; preds = %48
  %57 = tail call double @llvm.ceil.f64(double %7)
  %58 = fptosi double %57 to i32
  %59 = shl i32 %58, 1
  %60 = add i32 %59, -1
  %61 = sitofp i32 %58 to double
  %62 = fsub double %61, %7
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %3) #9
  %63 = mul nsw i32 %60, 3
  %64 = add nsw i32 %63, -2
  %65 = sext i32 %64 to i64
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %4) #9
  call void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #9
  invoke void @_ZNSt6vectorIdSaIdEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24) %3, i64 noundef %65, ptr noundef nonnull align 1 dereferenceable(1) %4)
          to label %66 unwind label %76

66:                                               ; preds = %56
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #9
  %67 = call noundef ptr @_ZNSt6vectorIdSaIdEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %3) #9
  %68 = sext i32 %60 to i64
  %69 = getelementptr inbounds double, ptr %67, i64 %68
  %70 = getelementptr inbounds double, ptr %69, i64 %68
  %71 = add i32 %59, -2
  %72 = icmp sgt i32 %58, 1
  br i1 %72, label %.lr.ph163, label %._crit_edge

.lr.ph163:                                        ; preds = %66
  %73 = add nsw i32 %59, -3
  %74 = sext i32 %73 to i64
  %smax = call i32 @llvm.smax.i32(i32 %71, i32 1)
  %wide.trip.count = zext nneg i32 %smax to i64
  br label %78

._crit_edge:                                      ; preds = %82, %66
  %.0136.lcssa = phi double [ 1.000000e+00, %66 ], [ %90, %82 ]
  %.0135.lcssa = phi double [ %62, %66 ], [ %86, %82 ]
  %75 = fcmp ugt double %62, 5.000000e-01
  br i1 %75, label %91, label %94

76:                                               ; preds = %56
  %77 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %4) #9
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %4) #9
  br label %168

78:                                               ; preds = %.lr.ph163, %82
  %indvars.iv = phi i64 [ 0, %.lr.ph163 ], [ %indvars.iv.next, %82 ]
  %.0135161 = phi double [ %62, %.lr.ph163 ], [ %86, %82 ]
  %.0136160 = phi double [ 1.000000e+00, %.lr.ph163 ], [ %90, %82 ]
  %79 = icmp slt i64 %indvars.iv, %74
  br i1 %79, label %80, label %82

80:                                               ; preds = %78
  %81 = getelementptr inbounds double, ptr %70, i64 %indvars.iv
  store double %.0136160, ptr %81, align 8, !tbaa !7
  br label %82

82:                                               ; preds = %80, %78
  %83 = fsub double 1.000000e+00, %.0135161
  %84 = fmul double %.0136160, %83
  %85 = getelementptr inbounds double, ptr %67, i64 %indvars.iv
  store double %84, ptr %85, align 8, !tbaa !7
  %86 = fmul double %62, %.0135161
  %87 = trunc i64 %indvars.iv to i32
  %88 = add i32 %87, 2
  %89 = uitofp nneg i32 %88 to double
  %90 = fdiv double %.0136160, %89
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond190.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond190.not, label %._crit_edge, label %78, !llvm.loop !11

91:                                               ; preds = %._crit_edge
  %92 = call double @llvm.fmuladd.f64(double %62, double 2.000000e+00, double -1.000000e+00)
  %93 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef %92, i32 noundef %60)
  br label %94

94:                                               ; preds = %._crit_edge, %91
  %95 = phi double [ %93, %91 ], [ 0.000000e+00, %._crit_edge ]
  %96 = call double @llvm.fmuladd.f64(double %.0135.lcssa, double -2.000000e+00, double 1.000000e+00)
  %97 = fadd double %96, %95
  %98 = fmul double %.0136.lcssa, %97
  %99 = sext i32 %71 to i64
  %100 = getelementptr inbounds double, ptr %67, i64 %99
  store double %98, ptr %100, align 8, !tbaa !7
  %101 = sext i32 %58 to i64
  %102 = getelementptr double, ptr %69, i64 %101
  %103 = getelementptr i8, ptr %102, i64 -8
  store double 1.000000e+00, ptr %103, align 8, !tbaa !7
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %5) #9
  %104 = fdiv double 1.000000e+00, %6
  %.not179 = icmp slt i32 %1, 1
  br i1 %.not179, label %._crit_edge184.thread, label %.lr.ph183

.lr.ph183:                                        ; preds = %94
  %105 = getelementptr inbounds double, ptr %69, i64 %99
  %106 = icmp sgt i32 %58, 0
  %smax194 = call i32 @llvm.smax.i32(i32 %71, i32 2)
  %smax200 = call i32 @llvm.smax.i32(i32 %60, i32 1)
  %wide.trip.count195 = zext nneg i32 %smax194 to i64
  %wide.trip.count201 = zext nneg i32 %smax200 to i64
  %wide.trip.count207 = zext nneg i32 %smax200 to i64
  %min.iters.check221 = icmp slt i32 %60, 4
  %n.vec224 = and i64 %wide.trip.count201, 2147483644
  %min.iters.check = icmp slt i32 %60, 4
  %n.vec = and i64 %wide.trip.count201, 2147483644
  br label %107

._crit_edge184:                                   ; preds = %158
  %.not147 = icmp eq i32 %.1, 0
  br i1 %.not147, label %._crit_edge184.thread, label %161

107:                                              ; preds = %.lr.ph183, %158
  %.0128181 = phi i32 [ 1, %.lr.ph183 ], [ %159, %158 ]
  %.0129180 = phi i32 [ 0, %.lr.ph183 ], [ %.1, %158 ]
  %108 = uitofp nneg i32 %.0128181 to double
  %109 = fmul double %104, %108
  %110 = load double, ptr %69, align 8, !tbaa !7
  %111 = invoke noundef double @"_ZZN7testing2ks6dn_cdfEdiENK3$_0clEPdS2_i"(ptr noundef nonnull align 1 dereferenceable(1) %5, ptr noundef nonnull %67, ptr noundef nonnull %69, i32 noundef %60)
          to label %112 unwind label %125

112:                                              ; preds = %107
  %113 = fmul double %109, %111
  store double %113, ptr %69, align 8, !tbaa !7
  br i1 %72, label %.lr.ph170, label %._crit_edge171

._crit_edge171:                                   ; preds = %133, %112
  %.0127.lcssa = phi double [ %110, %112 ], [ %128, %133 ]
  %114 = load double, ptr %67, align 8, !tbaa !7
  %115 = load double, ptr %105, align 8, !tbaa !7
  %116 = call double @llvm.fmuladd.f64(double %114, double %115, double %.0127.lcssa)
  %117 = fmul double %109, %116
  store double %117, ptr %105, align 8, !tbaa !7
  %118 = load double, ptr %103, align 8, !tbaa !7
  %119 = fcmp ogt double %118, 1.000000e+140
  br i1 %119, label %.preheader, label %147

.preheader:                                       ; preds = %._crit_edge171
  br i1 %106, label %.lr.ph177.preheader, label %._crit_edge178

.lr.ph177.preheader:                              ; preds = %.preheader
  br i1 %min.iters.check, label %.lr.ph177.preheader232, label %vector.body

.lr.ph177.preheader232:                           ; preds = %vector.body, %.lr.ph177.preheader
  %indvars.iv203.ph = phi i64 [ 0, %.lr.ph177.preheader ], [ %n.vec, %vector.body ]
  br label %.lr.ph177

vector.body:                                      ; preds = %.lr.ph177.preheader, %vector.body
  %index = phi i64 [ %index.next, %vector.body ], [ 0, %.lr.ph177.preheader ]
  %120 = getelementptr inbounds double, ptr %69, i64 %index
  %121 = getelementptr inbounds i8, ptr %120, i64 16
  %wide.load = load <2 x double>, ptr %120, align 8, !tbaa !7
  %wide.load218 = load <2 x double>, ptr %121, align 8, !tbaa !7
  %122 = fmul <2 x double> %wide.load, <double 0x22DE7C5F127BD87E, double 0x22DE7C5F127BD87E>
  %123 = fmul <2 x double> %wide.load218, <double 0x22DE7C5F127BD87E, double 0x22DE7C5F127BD87E>
  store <2 x double> %122, ptr %120, align 8, !tbaa !7
  store <2 x double> %123, ptr %121, align 8, !tbaa !7
  %index.next = add nuw i64 %index, 4
  %124 = icmp eq i64 %index.next, %n.vec
  br i1 %124, label %.lr.ph177.preheader232, label %vector.body, !llvm.loop !12

125:                                              ; preds = %107
  %126 = landingpad { ptr, i32 }
          cleanup
  br label %160

.lr.ph170:                                        ; preds = %112, %133
  %indvars.iv191 = phi i64 [ %indvars.iv.next192, %133 ], [ 1, %112 ]
  %.0127167 = phi double [ %128, %133 ], [ %110, %112 ]
  %127 = getelementptr inbounds double, ptr %69, i64 %indvars.iv191
  %128 = load double, ptr %127, align 8, !tbaa !7
  %129 = trunc i64 %indvars.iv191 to i32
  %130 = xor i32 %129, -1
  %131 = add i32 %60, %130
  %132 = invoke noundef double @"_ZZN7testing2ks6dn_cdfEdiENK3$_0clEPdS2_i"(ptr noundef nonnull align 1 dereferenceable(1) %5, ptr noundef nonnull %70, ptr noundef nonnull %127, i32 noundef %131)
          to label %133 unwind label %141

133:                                              ; preds = %.lr.ph170
  %134 = sext i32 %131 to i64
  %135 = getelementptr inbounds double, ptr %67, i64 %134
  %136 = load double, ptr %135, align 8, !tbaa !7
  %137 = load double, ptr %105, align 8, !tbaa !7
  %138 = call double @llvm.fmuladd.f64(double %136, double %137, double %132)
  %139 = fadd double %.0127167, %138
  %140 = fmul double %109, %139
  store double %140, ptr %127, align 8, !tbaa !7
  %indvars.iv.next192 = add nuw nsw i64 %indvars.iv191, 1
  %exitcond196.not = icmp eq i64 %indvars.iv.next192, %wide.trip.count195
  br i1 %exitcond196.not, label %._crit_edge171, label %.lr.ph170, !llvm.loop !15

141:                                              ; preds = %.lr.ph170
  %142 = landingpad { ptr, i32 }
          cleanup
  br label %160

._crit_edge178:                                   ; preds = %.lr.ph177, %.preheader
  %143 = add nsw i32 %.0129180, 1
  br label %158

.lr.ph177:                                        ; preds = %.lr.ph177.preheader232, %.lr.ph177
  %indvars.iv203 = phi i64 [ %indvars.iv.next204, %.lr.ph177 ], [ %indvars.iv203.ph, %.lr.ph177.preheader232 ]
  %144 = getelementptr inbounds double, ptr %69, i64 %indvars.iv203
  %145 = load double, ptr %144, align 8, !tbaa !7
  %146 = fmul double %145, 0x22DE7C5F127BD87E
  store double %146, ptr %144, align 8, !tbaa !7
  %indvars.iv.next204 = add nuw nsw i64 %indvars.iv203, 1
  %exitcond208.not = icmp eq i64 %indvars.iv.next204, %wide.trip.count207
  br i1 %exitcond208.not, label %._crit_edge178, label %.lr.ph177, !llvm.loop !16

147:                                              ; preds = %._crit_edge171
  %148 = fcmp olt double %118, 0x22DE7C5F127BD87E
  br i1 %148, label %.preheader153, label %158

.preheader153:                                    ; preds = %147
  br i1 %106, label %.lr.ph174.preheader, label %._crit_edge175

.lr.ph174.preheader:                              ; preds = %.preheader153
  br i1 %min.iters.check221, label %.lr.ph174.preheader233, label %vector.body226

.lr.ph174.preheader233:                           ; preds = %vector.body226, %.lr.ph174.preheader
  %indvars.iv197.ph = phi i64 [ 0, %.lr.ph174.preheader ], [ %n.vec224, %vector.body226 ]
  br label %.lr.ph174

vector.body226:                                   ; preds = %.lr.ph174.preheader, %vector.body226
  %index227 = phi i64 [ %index.next230, %vector.body226 ], [ 0, %.lr.ph174.preheader ]
  %149 = getelementptr inbounds double, ptr %69, i64 %index227
  %150 = getelementptr inbounds i8, ptr %149, i64 16
  %wide.load228 = load <2 x double>, ptr %149, align 8, !tbaa !7
  %wide.load229 = load <2 x double>, ptr %150, align 8, !tbaa !7
  %151 = fmul <2 x double> %wide.load228, <double 1.000000e+140, double 1.000000e+140>
  %152 = fmul <2 x double> %wide.load229, <double 1.000000e+140, double 1.000000e+140>
  store <2 x double> %151, ptr %149, align 8, !tbaa !7
  store <2 x double> %152, ptr %150, align 8, !tbaa !7
  %index.next230 = add nuw i64 %index227, 4
  %153 = icmp eq i64 %index.next230, %n.vec224
  br i1 %153, label %.lr.ph174.preheader233, label %vector.body226, !llvm.loop !17

._crit_edge175:                                   ; preds = %.lr.ph174, %.preheader153
  %154 = add nsw i32 %.0129180, -1
  br label %158

.lr.ph174:                                        ; preds = %.lr.ph174.preheader233, %.lr.ph174
  %indvars.iv197 = phi i64 [ %indvars.iv.next198, %.lr.ph174 ], [ %indvars.iv197.ph, %.lr.ph174.preheader233 ]
  %155 = getelementptr inbounds double, ptr %69, i64 %indvars.iv197
  %156 = load double, ptr %155, align 8, !tbaa !7
  %157 = fmul double %156, 1.000000e+140
  store double %157, ptr %155, align 8, !tbaa !7
  %indvars.iv.next198 = add nuw nsw i64 %indvars.iv197, 1
  %exitcond202.not = icmp eq i64 %indvars.iv.next198, %wide.trip.count201
  br i1 %exitcond202.not, label %._crit_edge175, label %.lr.ph174, !llvm.loop !18

158:                                              ; preds = %147, %._crit_edge175, %._crit_edge178
  %.1 = phi i32 [ %143, %._crit_edge178 ], [ %154, %._crit_edge175 ], [ %.0129180, %147 ]
  %159 = add nuw i32 %.0128181, 1
  %exitcond209.not = icmp eq i32 %.0128181, %1
  br i1 %exitcond209.not, label %._crit_edge184, label %107, !llvm.loop !19

160:                                              ; preds = %141, %125
  %.pn = phi { ptr, i32 } [ %142, %141 ], [ %126, %125 ]
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #9
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #9
  br label %168

161:                                              ; preds = %._crit_edge184
  %162 = load double, ptr %103, align 8, !tbaa !7
  %163 = call noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef 1.000000e+140, i32 noundef %.1)
  %164 = fmul double %162, %163
  br label %166

._crit_edge184.thread:                            ; preds = %94, %._crit_edge184
  %165 = load double, ptr %103, align 8, !tbaa !7
  br label %166

166:                                              ; preds = %._crit_edge184.thread, %161
  %167 = phi double [ %164, %161 ], [ %165, %._crit_edge184.thread ]
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %5) #9
  call void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %3) #9
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #9
  br label %.loopexit

168:                                              ; preds = %160, %76
  %.pn.pn = phi { ptr, i32 } [ %.pn, %160 ], [ %77, %76 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %3) #9
  br label %173

.loopexit.loopexit.unr-lcssa:                     ; preds = %.lr.ph, %.lr.ph.preheader
  %.lcssa236.ph = phi double [ poison, %.lr.ph.preheader ], [ %36, %.lr.ph ]
  %.0130159.unr = phi double [ %18, %.lr.ph.preheader ], [ %36, %.lr.ph ]
  %.0131158.unr = phi i32 [ 2, %.lr.ph.preheader ], [ %37, %.lr.ph ]
  %lcmp.mod.not = icmp eq i32 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.loopexit, label %.lr.ph.epil

.lr.ph.epil:                                      ; preds = %.loopexit.loopexit.unr-lcssa, %.lr.ph.epil
  %.0130159.epil = phi double [ %171, %.lr.ph.epil ], [ %.0130159.unr, %.loopexit.loopexit.unr-lcssa ]
  %.0131158.epil = phi i32 [ %172, %.lr.ph.epil ], [ %.0131158.unr, %.loopexit.loopexit.unr-lcssa ]
  %epil.iter = phi i32 [ %epil.iter.next, %.lr.ph.epil ], [ 0, %.loopexit.loopexit.unr-lcssa ]
  %169 = uitofp nneg i32 %.0131158.epil to double
  %170 = fmul double %18, %169
  %171 = fmul double %.0130159.epil, %170
  %172 = add nuw i32 %.0131158.epil, 1
  %epil.iter.next = add i32 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i32 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %.loopexit, label %.lr.ph.epil, !llvm.loop !20

.loopexit:                                        ; preds = %.loopexit.loopexit.unr-lcssa, %.lr.ph.epil, %16, %12, %2, %9, %166, %42
  %.0125 = phi double [ %45, %42 ], [ %167, %166 ], [ 1.000000e+00, %9 ], [ 1.000000e+00, %2 ], [ 0.000000e+00, %12 ], [ %18, %16 ], [ %.lcssa236.ph, %.loopexit.loopexit.unr-lcssa ], [ %171, %.lr.ph.epil ]
  ret double %.0125

173:                                              ; preds = %168, %54
  %.pn150 = phi { ptr, i32 } [ %55, %54 ], [ %.pn.pn, %168 ]
  resume { ptr, i32 } %.pn150
}

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

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

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef double @_ZSt3powIdiEN9__gnu_cxx9__promoteIDTplcvNS1_IT_Xsr3std12__is_integerIS2_EE7__valueEE6__typeELi0EcvNS1_IT0_Xsr3std12__is_integerIS5_EE7__valueEE6__typeELi0EEXsr3std12__is_integerIS8_EE7__valueEE6__typeES2_S5_(double noundef, i32 noundef) local_unnamed_addr #3

declare ptr @__cxa_allocate_exception(i64) local_unnamed_addr

declare void @_ZNSt11range_errorC1EPKc(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef) unnamed_addr #4

declare i32 @__gxx_personality_v0(...)

declare void @__cxa_free_exception(ptr) local_unnamed_addr

; Function Attrs: nounwind
declare void @_ZNSt11range_errorD1Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #5

declare void @__cxa_throw(ptr, ptr, ptr) local_unnamed_addr

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

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaIdEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #6 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEEC2EmRKS0_(ptr noundef nonnull align 8 dereferenceable(24), i64 noundef, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNSt6vectorIdSaIdEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #6 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef double @"_ZZN7testing2ks6dn_cdfEdiENK3$_0clEPdS2_i"(ptr noundef nonnull align 1 dereferenceable(1), ptr noundef, ptr noundef, i32 noundef) local_unnamed_addr #7 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorIdSaIdEED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #6 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorIdED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #6 align 2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #8

attributes #0 = { mustprogress 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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { inlinehint 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 #4 = { "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 #5 = { 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 #6 = { 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 #7 = { inlinehint mustprogress 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 #8 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #9 = { nounwind }
attributes #10 = { noreturn }

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


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