; LLVM IR from libxsmm/libxsmm :: samples/nek (stream_update_kernels)

; 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 [14 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [85 x i8], align 1
@__PRETTY_FUNCTION__.stream_update_var_helmholtz_ = external hidden unnamed_addr constant [217 x i8], align 1

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @stream_init(i32 noundef, i64 noundef, ptr noundef, ptr noundef) #2

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

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

; Function Attrs: nounwind uwtable
define dso_local void @stream_update_var_helmholtz_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7, ptr noundef %8, ptr noundef %9, ptr noundef %10, ptr noundef %11) #4 {
  %13 = alloca ptr, align 8
  %14 = alloca ptr, align 8
  %15 = alloca ptr, align 8
  %16 = alloca ptr, align 8
  %17 = alloca ptr, align 8
  %18 = alloca ptr, align 8
  %19 = alloca ptr, align 8
  %20 = alloca ptr, align 8
  %21 = alloca ptr, align 8
  %22 = alloca ptr, align 8
  %23 = alloca ptr, align 8
  %24 = alloca ptr, align 8
  %25 = alloca i32, align 4
  %26 = alloca i32, align 4
  %27 = alloca i32, align 4
  store ptr %0, ptr %13, align 8, !tbaa !5
  store ptr %1, ptr %14, align 8, !tbaa !5
  store ptr %2, ptr %15, align 8, !tbaa !5
  store ptr %3, ptr %16, align 8, !tbaa !5
  store ptr %4, ptr %17, align 8, !tbaa !5
  store ptr %5, ptr %18, align 8, !tbaa !5
  store ptr %6, ptr %19, align 8, !tbaa !5
  store ptr %7, ptr %20, align 8, !tbaa !5
  store ptr %8, ptr %21, align 8, !tbaa !5
  store ptr %9, ptr %22, align 8, !tbaa !5
  store ptr %10, ptr %23, align 8, !tbaa !5
  store ptr %11, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %25) #5
  store i32 0, ptr %25, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %26) #5
  store i32 0, ptr %26, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %27) #5
  store i32 0, ptr %27, align 4, !tbaa !9
  %28 = load ptr, ptr %24, align 8, !tbaa !5
  %29 = icmp ne ptr null, %28
  br i1 %29, label %30, label %31

30:                                               ; preds = %12
  br label %32

31:                                               ; preds = %12
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 530, ptr noundef @__PRETTY_FUNCTION__.stream_update_var_helmholtz_) #6
  unreachable

32:                                               ; preds = %30
  %33 = load ptr, ptr %24, align 8, !tbaa !5
  %34 = load i32, ptr %33, align 4, !tbaa !9
  %35 = load ptr, ptr %21, align 8, !tbaa !5
  %36 = ptrtoint ptr %35 to i64
  call void @stream_init(i32 noundef %34, i64 noundef %36, ptr noundef %26, ptr noundef %27)
  br label %37

37:                                               ; preds = %102, %32
  %38 = load i32, ptr %25, align 4, !tbaa !9
  %39 = load i32, ptr %26, align 4, !tbaa !9
  %40 = icmp slt i32 %38, %39
  br i1 %40, label %41, label %105

41:                                               ; preds = %37
  %42 = load ptr, ptr %22, align 8, !tbaa !5
  %43 = load i32, ptr %25, align 4, !tbaa !9
  %44 = sext i32 %43 to i64
  %45 = getelementptr inbounds double, ptr %42, i64 %44
  %46 = load double, ptr %45, align 8, !tbaa !11
  %47 = load ptr, ptr %13, align 8, !tbaa !5
  %48 = load i32, ptr %25, align 4, !tbaa !9
  %49 = sext i32 %48 to i64
  %50 = getelementptr inbounds double, ptr %47, i64 %49
  %51 = load double, ptr %50, align 8, !tbaa !11
  %52 = load ptr, ptr %16, align 8, !tbaa !5
  %53 = load i32, ptr %25, align 4, !tbaa !9
  %54 = sext i32 %53 to i64
  %55 = getelementptr inbounds double, ptr %52, i64 %54
  %56 = load double, ptr %55, align 8, !tbaa !11
  %57 = load ptr, ptr %14, align 8, !tbaa !5
  %58 = load i32, ptr %25, align 4, !tbaa !9
  %59 = sext i32 %58 to i64
  %60 = getelementptr inbounds double, ptr %57, i64 %59
  %61 = load double, ptr %60, align 8, !tbaa !11
  %62 = load ptr, ptr %17, align 8, !tbaa !5
  %63 = load i32, ptr %25, align 4, !tbaa !9
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds double, ptr %62, i64 %64
  %66 = load double, ptr %65, align 8, !tbaa !11
  %67 = fmul double %61, %66
  %68 = call double @llvm.fmuladd.f64(double %51, double %56, double %67)
  %69 = load ptr, ptr %15, align 8, !tbaa !5
  %70 = load i32, ptr %25, align 4, !tbaa !9
  %71 = sext i32 %70 to i64
  %72 = getelementptr inbounds double, ptr %69, i64 %71
  %73 = load double, ptr %72, align 8, !tbaa !11
  %74 = load ptr, ptr %18, align 8, !tbaa !5
  %75 = load i32, ptr %25, align 4, !tbaa !9
  %76 = sext i32 %75 to i64
  %77 = getelementptr inbounds double, ptr %74, i64 %76
  %78 = load double, ptr %77, align 8, !tbaa !11
  %79 = call double @llvm.fmuladd.f64(double %73, double %78, double %68)
  %80 = load ptr, ptr %23, align 8, !tbaa !5
  %81 = load i32, ptr %25, align 4, !tbaa !9
  %82 = sext i32 %81 to i64
  %83 = getelementptr inbounds double, ptr %80, i64 %82
  %84 = load double, ptr %83, align 8, !tbaa !11
  %85 = load ptr, ptr %20, align 8, !tbaa !5
  %86 = load i32, ptr %25, align 4, !tbaa !9
  %87 = sext i32 %86 to i64
  %88 = getelementptr inbounds double, ptr %85, i64 %87
  %89 = load double, ptr %88, align 8, !tbaa !11
  %90 = load ptr, ptr %19, align 8, !tbaa !5
  %91 = load i32, ptr %25, align 4, !tbaa !9
  %92 = sext i32 %91 to i64
  %93 = getelementptr inbounds double, ptr %90, i64 %92
  %94 = load double, ptr %93, align 8, !tbaa !11
  %95 = fmul double %89, %94
  %96 = fmul double %84, %95
  %97 = call double @llvm.fmuladd.f64(double %46, double %79, double %96)
  %98 = load ptr, ptr %21, align 8, !tbaa !5
  %99 = load i32, ptr %25, align 4, !tbaa !9
  %100 = sext i32 %99 to i64
  %101 = getelementptr inbounds double, ptr %98, i64 %100
  store double %97, ptr %101, align 8, !tbaa !11
  br label %102

102:                                              ; preds = %41
  %103 = load i32, ptr %25, align 4, !tbaa !9
  %104 = add nsw i32 %103, 1
  store i32 %104, ptr %25, align 4, !tbaa !9
  br label %37, !llvm.loop !13

105:                                              ; preds = %37
  br label %106

106:                                              ; preds = %171, %105
  %107 = load i32, ptr %25, align 4, !tbaa !9
  %108 = load i32, ptr %27, align 4, !tbaa !9
  %109 = icmp slt i32 %107, %108
  br i1 %109, label %110, label %174

110:                                              ; preds = %106
  %111 = load ptr, ptr %22, align 8, !tbaa !5
  %112 = load i32, ptr %25, align 4, !tbaa !9
  %113 = sext i32 %112 to i64
  %114 = getelementptr inbounds double, ptr %111, i64 %113
  %115 = load double, ptr %114, align 8, !tbaa !11
  %116 = load ptr, ptr %13, align 8, !tbaa !5
  %117 = load i32, ptr %25, align 4, !tbaa !9
  %118 = sext i32 %117 to i64
  %119 = getelementptr inbounds double, ptr %116, i64 %118
  %120 = load double, ptr %119, align 8, !tbaa !11
  %121 = load ptr, ptr %16, align 8, !tbaa !5
  %122 = load i32, ptr %25, align 4, !tbaa !9
  %123 = sext i32 %122 to i64
  %124 = getelementptr inbounds double, ptr %121, i64 %123
  %125 = load double, ptr %124, align 8, !tbaa !11
  %126 = load ptr, ptr %14, align 8, !tbaa !5
  %127 = load i32, ptr %25, align 4, !tbaa !9
  %128 = sext i32 %127 to i64
  %129 = getelementptr inbounds double, ptr %126, i64 %128
  %130 = load double, ptr %129, align 8, !tbaa !11
  %131 = load ptr, ptr %17, align 8, !tbaa !5
  %132 = load i32, ptr %25, align 4, !tbaa !9
  %133 = sext i32 %132 to i64
  %134 = getelementptr inbounds double, ptr %131, i64 %133
  %135 = load double, ptr %134, align 8, !tbaa !11
  %136 = fmul double %130, %135
  %137 = call double @llvm.fmuladd.f64(double %120, double %125, double %136)
  %138 = load ptr, ptr %15, align 8, !tbaa !5
  %139 = load i32, ptr %25, align 4, !tbaa !9
  %140 = sext i32 %139 to i64
  %141 = getelementptr inbounds double, ptr %138, i64 %140
  %142 = load double, ptr %141, align 8, !tbaa !11
  %143 = load ptr, ptr %18, align 8, !tbaa !5
  %144 = load i32, ptr %25, align 4, !tbaa !9
  %145 = sext i32 %144 to i64
  %146 = getelementptr inbounds double, ptr %143, i64 %145
  %147 = load double, ptr %146, align 8, !tbaa !11
  %148 = call double @llvm.fmuladd.f64(double %142, double %147, double %137)
  %149 = load ptr, ptr %23, align 8, !tbaa !5
  %150 = load i32, ptr %25, align 4, !tbaa !9
  %151 = sext i32 %150 to i64
  %152 = getelementptr inbounds double, ptr %149, i64 %151
  %153 = load double, ptr %152, align 8, !tbaa !11
  %154 = load ptr, ptr %20, align 8, !tbaa !5
  %155 = load i32, ptr %25, align 4, !tbaa !9
  %156 = sext i32 %155 to i64
  %157 = getelementptr inbounds double, ptr %154, i64 %156
  %158 = load double, ptr %157, align 8, !tbaa !11
  %159 = load ptr, ptr %19, align 8, !tbaa !5
  %160 = load i32, ptr %25, align 4, !tbaa !9
  %161 = sext i32 %160 to i64
  %162 = getelementptr inbounds double, ptr %159, i64 %161
  %163 = load double, ptr %162, align 8, !tbaa !11
  %164 = fmul double %158, %163
  %165 = fmul double %153, %164
  %166 = call double @llvm.fmuladd.f64(double %115, double %148, double %165)
  %167 = load ptr, ptr %21, align 8, !tbaa !5
  %168 = load i32, ptr %25, align 4, !tbaa !9
  %169 = sext i32 %168 to i64
  %170 = getelementptr inbounds double, ptr %167, i64 %169
  store double %166, ptr %170, align 8, !tbaa !11
  br label %171

171:                                              ; preds = %110
  %172 = load i32, ptr %25, align 4, !tbaa !9
  %173 = add nsw i32 %172, 1
  store i32 %173, ptr %25, align 4, !tbaa !9
  br label %106, !llvm.loop !15

174:                                              ; preds = %106
  br label %175

175:                                              ; preds = %241, %174
  %176 = load i32, ptr %25, align 4, !tbaa !9
  %177 = load ptr, ptr %24, align 8, !tbaa !5
  %178 = load i32, ptr %177, align 4, !tbaa !9
  %179 = icmp slt i32 %176, %178
  br i1 %179, label %180, label %244

180:                                              ; preds = %175
  %181 = load ptr, ptr %22, align 8, !tbaa !5
  %182 = load i32, ptr %25, align 4, !tbaa !9
  %183 = sext i32 %182 to i64
  %184 = getelementptr inbounds double, ptr %181, i64 %183
  %185 = load double, ptr %184, align 8, !tbaa !11
  %186 = load ptr, ptr %13, align 8, !tbaa !5
  %187 = load i32, ptr %25, align 4, !tbaa !9
  %188 = sext i32 %187 to i64
  %189 = getelementptr inbounds double, ptr %186, i64 %188
  %190 = load double, ptr %189, align 8, !tbaa !11
  %191 = load ptr, ptr %16, align 8, !tbaa !5
  %192 = load i32, ptr %25, align 4, !tbaa !9
  %193 = sext i32 %192 to i64
  %194 = getelementptr inbounds double, ptr %191, i64 %193
  %195 = load double, ptr %194, align 8, !tbaa !11
  %196 = load ptr, ptr %14, align 8, !tbaa !5
  %197 = load i32, ptr %25, align 4, !tbaa !9
  %198 = sext i32 %197 to i64
  %199 = getelementptr inbounds double, ptr %196, i64 %198
  %200 = load double, ptr %199, align 8, !tbaa !11
  %201 = load ptr, ptr %17, align 8, !tbaa !5
  %202 = load i32, ptr %25, align 4, !tbaa !9
  %203 = sext i32 %202 to i64
  %204 = getelementptr inbounds double, ptr %201, i64 %203
  %205 = load double, ptr %204, align 8, !tbaa !11
  %206 = fmul double %200, %205
  %207 = call double @llvm.fmuladd.f64(double %190, double %195, double %206)
  %208 = load ptr, ptr %15, align 8, !tbaa !5
  %209 = load i32, ptr %25, align 4, !tbaa !9
  %210 = sext i32 %209 to i64
  %211 = getelementptr inbounds double, ptr %208, i64 %210
  %212 = load double, ptr %211, align 8, !tbaa !11
  %213 = load ptr, ptr %18, align 8, !tbaa !5
  %214 = load i32, ptr %25, align 4, !tbaa !9
  %215 = sext i32 %214 to i64
  %216 = getelementptr inbounds double, ptr %213, i64 %215
  %217 = load double, ptr %216, align 8, !tbaa !11
  %218 = call double @llvm.fmuladd.f64(double %212, double %217, double %207)
  %219 = load ptr, ptr %23, align 8, !tbaa !5
  %220 = load i32, ptr %25, align 4, !tbaa !9
  %221 = sext i32 %220 to i64
  %222 = getelementptr inbounds double, ptr %219, i64 %221
  %223 = load double, ptr %222, align 8, !tbaa !11
  %224 = load ptr, ptr %20, align 8, !tbaa !5
  %225 = load i32, ptr %25, align 4, !tbaa !9
  %226 = sext i32 %225 to i64
  %227 = getelementptr inbounds double, ptr %224, i64 %226
  %228 = load double, ptr %227, align 8, !tbaa !11
  %229 = load ptr, ptr %19, align 8, !tbaa !5
  %230 = load i32, ptr %25, align 4, !tbaa !9
  %231 = sext i32 %230 to i64
  %232 = getelementptr inbounds double, ptr %229, i64 %231
  %233 = load double, ptr %232, align 8, !tbaa !11
  %234 = fmul double %228, %233
  %235 = fmul double %223, %234
  %236 = call double @llvm.fmuladd.f64(double %185, double %218, double %235)
  %237 = load ptr, ptr %21, align 8, !tbaa !5
  %238 = load i32, ptr %25, align 4, !tbaa !9
  %239 = sext i32 %238 to i64
  %240 = getelementptr inbounds double, ptr %237, i64 %239
  store double %236, ptr %240, align 8, !tbaa !11
  br label %241

241:                                              ; preds = %180
  %242 = load i32, ptr %25, align 4, !tbaa !9
  %243 = add nsw i32 %242, 1
  store i32 %243, ptr %25, align 4, !tbaa !9
  br label %175, !llvm.loop !16

244:                                              ; preds = %175
  call void @llvm.lifetime.end.p0(i64 4, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %25) #5
  ret void
}

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = 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 [14 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [85 x i8], align 1
@__PRETTY_FUNCTION__.stream_update_var_helmholtz_ = external hidden unnamed_addr constant [217 x i8], align 1

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

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: inlinehint nounwind uwtable
declare hidden void @stream_init(i32 noundef, i64 noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

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

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

; Function Attrs: nounwind uwtable
define dso_local void @stream_update_var_helmholtz_(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, ptr nocapture noundef readonly %4, ptr nocapture noundef readonly %5, ptr nocapture noundef readonly %6, ptr nocapture noundef readonly %7, ptr noundef %8, ptr nocapture noundef readonly %9, ptr nocapture noundef readonly %10, ptr noundef readonly %11) local_unnamed_addr #4 {
  %13 = ptrtoint ptr %6 to i64
  %14 = ptrtoint ptr %7 to i64
  %15 = ptrtoint ptr %10 to i64
  %16 = ptrtoint ptr %5 to i64
  %17 = ptrtoint ptr %2 to i64
  %18 = ptrtoint ptr %4 to i64
  %19 = ptrtoint ptr %1 to i64
  %20 = ptrtoint ptr %3 to i64
  %21 = ptrtoint ptr %0 to i64
  %22 = ptrtoint ptr %9 to i64
  %23 = ptrtoint ptr %8 to i64
  %24 = ptrtoint ptr %6 to i64
  %25 = ptrtoint ptr %7 to i64
  %26 = ptrtoint ptr %10 to i64
  %27 = ptrtoint ptr %5 to i64
  %28 = ptrtoint ptr %2 to i64
  %29 = ptrtoint ptr %4 to i64
  %30 = ptrtoint ptr %1 to i64
  %31 = ptrtoint ptr %3 to i64
  %32 = ptrtoint ptr %0 to i64
  %33 = ptrtoint ptr %9 to i64
  %34 = ptrtoint ptr %8 to i64
  %35 = ptrtoint ptr %6 to i64
  %36 = ptrtoint ptr %7 to i64
  %37 = ptrtoint ptr %10 to i64
  %38 = ptrtoint ptr %5 to i64
  %39 = ptrtoint ptr %2 to i64
  %40 = ptrtoint ptr %4 to i64
  %41 = ptrtoint ptr %1 to i64
  %42 = ptrtoint ptr %3 to i64
  %43 = ptrtoint ptr %0 to i64
  %44 = ptrtoint ptr %9 to i64
  %45 = ptrtoint ptr %8 to i64
  %46 = alloca i32, align 4
  %47 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %46) #6
  store i32 0, ptr %46, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %47) #6
  store i32 0, ptr %47, align 4, !tbaa !5
  %.not = icmp eq ptr %11, null
  br i1 %.not, label %48, label %49

48:                                               ; preds = %12
  tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 530, ptr noundef nonnull @__PRETTY_FUNCTION__.stream_update_var_helmholtz_) #7
  unreachable

49:                                               ; preds = %12
  %50 = load i32, ptr %11, align 4, !tbaa !5
  %51 = ptrtoint ptr %8 to i64
  call void @stream_init(i32 noundef %50, i64 noundef %51, ptr noundef nonnull %46, ptr noundef nonnull %47)
  %52 = load i32, ptr %46, align 4, !tbaa !5
  %53 = icmp sgt i32 %52, 0
  br i1 %53, label %.lr.ph.preheader, label %.preheader76

.lr.ph.preheader:                                 ; preds = %49
  %wide.trip.count = zext nneg i32 %52 to i64
  %min.iters.check = icmp ult i32 %52, 10
  br i1 %min.iters.check, label %.lr.ph.preheader205, label %vector.memcheck

.lr.ph.preheader205:                              ; preds = %middle.block, %vector.memcheck, %.lr.ph.preheader
  %indvars.iv.ph = phi i64 [ 0, %vector.memcheck ], [ 0, %.lr.ph.preheader ], [ %n.vec, %middle.block ]
  br label %.lr.ph

vector.memcheck:                                  ; preds = %.lr.ph.preheader
  %54 = sub i64 %45, %44
  %diff.check = icmp ult i64 %54, 16
  %55 = sub i64 %45, %43
  %diff.check93 = icmp ult i64 %55, 16
  %conflict.rdx = or i1 %diff.check, %diff.check93
  %56 = sub i64 %45, %42
  %diff.check94 = icmp ult i64 %56, 16
  %conflict.rdx95 = or i1 %conflict.rdx, %diff.check94
  %57 = sub i64 %45, %41
  %diff.check96 = icmp ult i64 %57, 16
  %conflict.rdx97 = or i1 %conflict.rdx95, %diff.check96
  %58 = sub i64 %45, %40
  %diff.check98 = icmp ult i64 %58, 16
  %conflict.rdx99 = or i1 %conflict.rdx97, %diff.check98
  %59 = sub i64 %45, %39
  %diff.check100 = icmp ult i64 %59, 16
  %conflict.rdx101 = or i1 %conflict.rdx99, %diff.check100
  %60 = sub i64 %45, %38
  %diff.check102 = icmp ult i64 %60, 16
  %conflict.rdx103 = or i1 %conflict.rdx101, %diff.check102
  %61 = sub i64 %45, %37
  %diff.check104 = icmp ult i64 %61, 16
  %conflict.rdx105 = or i1 %conflict.rdx103, %diff.check104
  %62 = sub i64 %45, %36
  %diff.check106 = icmp ult i64 %62, 16
  %conflict.rdx107 = or i1 %conflict.rdx105, %diff.check106
  %63 = sub i64 %45, %35
  %diff.check108 = icmp ult i64 %63, 16
  %conflict.rdx109 = or i1 %conflict.rdx107, %diff.check108
  br i1 %conflict.rdx109, label %.lr.ph.preheader205, label %vector.ph

vector.ph:                                        ; preds = %vector.memcheck
  %n.vec = and i64 %wide.trip.count, 2147483646
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %64 = getelementptr inbounds double, ptr %9, i64 %index
  %wide.load = load <2 x double>, ptr %64, align 8, !tbaa !9
  %65 = getelementptr inbounds double, ptr %0, i64 %index
  %wide.load110 = load <2 x double>, ptr %65, align 8, !tbaa !9
  %66 = getelementptr inbounds double, ptr %3, i64 %index
  %wide.load111 = load <2 x double>, ptr %66, align 8, !tbaa !9
  %67 = getelementptr inbounds double, ptr %1, i64 %index
  %wide.load112 = load <2 x double>, ptr %67, align 8, !tbaa !9
  %68 = getelementptr inbounds double, ptr %4, i64 %index
  %wide.load113 = load <2 x double>, ptr %68, align 8, !tbaa !9
  %69 = fmul <2 x double> %wide.load112, %wide.load113
  %70 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %wide.load110, <2 x double> %wide.load111, <2 x double> %69)
  %71 = getelementptr inbounds double, ptr %2, i64 %index
  %wide.load114 = load <2 x double>, ptr %71, align 8, !tbaa !9
  %72 = getelementptr inbounds double, ptr %5, i64 %index
  %wide.load115 = load <2 x double>, ptr %72, align 8, !tbaa !9
  %73 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %wide.load114, <2 x double> %wide.load115, <2 x double> %70)
  %74 = getelementptr inbounds double, ptr %10, i64 %index
  %wide.load116 = load <2 x double>, ptr %74, align 8, !tbaa !9
  %75 = getelementptr inbounds double, ptr %7, i64 %index
  %wide.load117 = load <2 x double>, ptr %75, align 8, !tbaa !9
  %76 = getelementptr inbounds double, ptr %6, i64 %index
  %wide.load118 = load <2 x double>, ptr %76, align 8, !tbaa !9
  %77 = fmul <2 x double> %wide.load117, %wide.load118
  %78 = fmul <2 x double> %wide.load116, %77
  %79 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %wide.load, <2 x double> %73, <2 x double> %78)
  %80 = getelementptr inbounds double, ptr %8, i64 %index
  store <2 x double> %79, ptr %80, align 8, !tbaa !9
  %index.next = add nuw i64 %index, 2
  %81 = icmp eq i64 %index.next, %n.vec
  br i1 %81, label %middle.block, label %vector.body, !llvm.loop !11

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count
  br i1 %cmp.n, label %.preheader76, label %.lr.ph.preheader205

.preheader76:                                     ; preds = %.lr.ph, %middle.block, %49
  %.0.lcssa = phi i32 [ 0, %49 ], [ %52, %middle.block ], [ %52, %.lr.ph ]
  %82 = load i32, ptr %47, align 4, !tbaa !5
  %83 = icmp slt i32 %.0.lcssa, %82
  br i1 %83, label %.lr.ph79.preheader, label %.preheader

.lr.ph79.preheader:                               ; preds = %.preheader76
  %84 = zext nneg i32 %.0.lcssa to i64
  %wide.trip.count88 = zext i32 %82 to i64
  %85 = sub nsw i64 %wide.trip.count88, %84
  %min.iters.check141 = icmp ult i64 %85, 10
  br i1 %min.iters.check141, label %.lr.ph79.preheader204, label %vector.memcheck119

.lr.ph79.preheader204:                            ; preds = %middle.block139, %vector.memcheck119, %.lr.ph79.preheader
  %indvars.iv85.ph = phi i64 [ %84, %vector.memcheck119 ], [ %84, %.lr.ph79.preheader ], [ %ind.end, %middle.block139 ]
  br label %.lr.ph79

vector.memcheck119:                               ; preds = %.lr.ph79.preheader
  %86 = sub i64 %34, %33
  %diff.check120 = icmp ult i64 %86, 16
  %87 = sub i64 %34, %32
  %diff.check121 = icmp ult i64 %87, 16
  %conflict.rdx122 = or i1 %diff.check120, %diff.check121
  %88 = sub i64 %34, %31
  %diff.check123 = icmp ult i64 %88, 16
  %conflict.rdx124 = or i1 %conflict.rdx122, %diff.check123
  %89 = sub i64 %34, %30
  %diff.check125 = icmp ult i64 %89, 16
  %conflict.rdx126 = or i1 %conflict.rdx124, %diff.check125
  %90 = sub i64 %34, %29
  %diff.check127 = icmp ult i64 %90, 16
  %conflict.rdx128 = or i1 %conflict.rdx126, %diff.check127
  %91 = sub i64 %34, %28
  %diff.check129 = icmp ult i64 %91, 16
  %conflict.rdx130 = or i1 %conflict.rdx128, %diff.check129
  %92 = sub i64 %34, %27
  %diff.check131 = icmp ult i64 %92, 16
  %conflict.rdx132 = or i1 %conflict.rdx130, %diff.check131
  %93 = sub i64 %34, %26
  %diff.check133 = icmp ult i64 %93, 16
  %conflict.rdx134 = or i1 %conflict.rdx132, %diff.check133
  %94 = sub i64 %34, %25
  %diff.check135 = icmp ult i64 %94, 16
  %conflict.rdx136 = or i1 %conflict.rdx134, %diff.check135
  %95 = sub i64 %34, %24
  %diff.check137 = icmp ult i64 %95, 16
  %conflict.rdx138 = or i1 %conflict.rdx136, %diff.check137
  br i1 %conflict.rdx138, label %.lr.ph79.preheader204, label %vector.ph142

vector.ph142:                                     ; preds = %vector.memcheck119
  %n.vec144 = and i64 %85, -2
  %ind.end = add nsw i64 %n.vec144, %84
  br label %vector.body146

vector.body146:                                   ; preds = %vector.body146, %vector.ph142
  %index147 = phi i64 [ 0, %vector.ph142 ], [ %index.next158, %vector.body146 ]
  %offset.idx = add i64 %index147, %84
  %96 = getelementptr inbounds double, ptr %9, i64 %offset.idx
  %wide.load148 = load <2 x double>, ptr %96, align 8, !tbaa !9
  %97 = getelementptr inbounds double, ptr %0, i64 %offset.idx
  %wide.load149 = load <2 x double>, ptr %97, align 8, !tbaa !9
  %98 = getelementptr inbounds double, ptr %3, i64 %offset.idx
  %wide.load150 = load <2 x double>, ptr %98, align 8, !tbaa !9
  %99 = getelementptr inbounds double, ptr %1, i64 %offset.idx
  %wide.load151 = load <2 x double>, ptr %99, align 8, !tbaa !9
  %100 = getelementptr inbounds double, ptr %4, i64 %offset.idx
  %wide.load152 = load <2 x double>, ptr %100, align 8, !tbaa !9
  %101 = fmul <2 x double> %wide.load151, %wide.load152
  %102 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %wide.load149, <2 x double> %wide.load150, <2 x double> %101)
  %103 = getelementptr inbounds double, ptr %2, i64 %offset.idx
  %wide.load153 = load <2 x double>, ptr %103, align 8, !tbaa !9
  %104 = getelementptr inbounds double, ptr %5, i64 %offset.idx
  %wide.load154 = load <2 x double>, ptr %104, align 8, !tbaa !9
  %105 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %wide.load153, <2 x double> %wide.load154, <2 x double> %102)
  %106 = getelementptr inbounds double, ptr %10, i64 %offset.idx
  %wide.load155 = load <2 x double>, ptr %106, align 8, !tbaa !9
  %107 = getelementptr inbounds double, ptr %7, i64 %offset.idx
  %wide.load156 = load <2 x double>, ptr %107, align 8, !tbaa !9
  %108 = getelementptr inbounds double, ptr %6, i64 %offset.idx
  %wide.load157 = load <2 x double>, ptr %108, align 8, !tbaa !9
  %109 = fmul <2 x double> %wide.load156, %wide.load157
  %110 = fmul <2 x double> %wide.load155, %109
  %111 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %wide.load148, <2 x double> %105, <2 x double> %110)
  %112 = getelementptr inbounds double, ptr %8, i64 %offset.idx
  store <2 x double> %111, ptr %112, align 8, !tbaa !9
  %index.next158 = add nuw i64 %index147, 2
  %113 = icmp eq i64 %index.next158, %n.vec144
  br i1 %113, label %middle.block139, label %vector.body146, !llvm.loop !15

middle.block139:                                  ; preds = %vector.body146
  %cmp.n159 = icmp eq i64 %85, %n.vec144
  br i1 %cmp.n159, label %.preheader, label %.lr.ph79.preheader204

.lr.ph:                                           ; preds = %.lr.ph.preheader205, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ %indvars.iv.ph, %.lr.ph.preheader205 ]
  %114 = getelementptr inbounds double, ptr %9, i64 %indvars.iv
  %115 = load double, ptr %114, align 8, !tbaa !9
  %116 = getelementptr inbounds double, ptr %0, i64 %indvars.iv
  %117 = load double, ptr %116, align 8, !tbaa !9
  %118 = getelementptr inbounds double, ptr %3, i64 %indvars.iv
  %119 = load double, ptr %118, align 8, !tbaa !9
  %120 = getelementptr inbounds double, ptr %1, i64 %indvars.iv
  %121 = load double, ptr %120, align 8, !tbaa !9
  %122 = getelementptr inbounds double, ptr %4, i64 %indvars.iv
  %123 = load double, ptr %122, align 8, !tbaa !9
  %124 = fmul double %121, %123
  %125 = call double @llvm.fmuladd.f64(double %117, double %119, double %124)
  %126 = getelementptr inbounds double, ptr %2, i64 %indvars.iv
  %127 = load double, ptr %126, align 8, !tbaa !9
  %128 = getelementptr inbounds double, ptr %5, i64 %indvars.iv
  %129 = load double, ptr %128, align 8, !tbaa !9
  %130 = call double @llvm.fmuladd.f64(double %127, double %129, double %125)
  %131 = getelementptr inbounds double, ptr %10, i64 %indvars.iv
  %132 = load double, ptr %131, align 8, !tbaa !9
  %133 = getelementptr inbounds double, ptr %7, i64 %indvars.iv
  %134 = load double, ptr %133, align 8, !tbaa !9
  %135 = getelementptr inbounds double, ptr %6, i64 %indvars.iv
  %136 = load double, ptr %135, align 8, !tbaa !9
  %137 = fmul double %134, %136
  %138 = fmul double %132, %137
  %139 = call double @llvm.fmuladd.f64(double %115, double %130, double %138)
  %140 = getelementptr inbounds double, ptr %8, i64 %indvars.iv
  store double %139, ptr %140, align 8, !tbaa !9
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond.not, label %.preheader76, label %.lr.ph, !llvm.loop !16

.preheader:                                       ; preds = %.lr.ph79, %middle.block139, %.preheader76
  %.1.lcssa = phi i32 [ %.0.lcssa, %.preheader76 ], [ %82, %middle.block139 ], [ %82, %.lr.ph79 ]
  %141 = load i32, ptr %11, align 4, !tbaa !5
  %142 = icmp slt i32 %.1.lcssa, %141
  br i1 %142, label %.lr.ph82.preheader, label %._crit_edge

.lr.ph82.preheader:                               ; preds = %.preheader
  %143 = zext i32 %.1.lcssa to i64
  %144 = xor i32 %.1.lcssa, -1
  %145 = add i32 %141, %144
  %146 = zext i32 %145 to i64
  %147 = add nuw nsw i64 %146, 1
  %min.iters.check182 = icmp ult i32 %145, 9
  br i1 %min.iters.check182, label %.lr.ph82.preheader203, label %vector.memcheck160

.lr.ph82.preheader203:                            ; preds = %middle.block180, %vector.memcheck160, %.lr.ph82.preheader
  %indvars.iv90.ph = phi i64 [ %143, %vector.memcheck160 ], [ %143, %.lr.ph82.preheader ], [ %ind.end186, %middle.block180 ]
  br label %.lr.ph82

vector.memcheck160:                               ; preds = %.lr.ph82.preheader
  %148 = sub i64 %23, %22
  %diff.check161 = icmp ult i64 %148, 16
  %149 = sub i64 %23, %21
  %diff.check162 = icmp ult i64 %149, 16
  %conflict.rdx163 = or i1 %diff.check161, %diff.check162
  %150 = sub i64 %23, %20
  %diff.check164 = icmp ult i64 %150, 16
  %conflict.rdx165 = or i1 %conflict.rdx163, %diff.check164
  %151 = sub i64 %23, %19
  %diff.check166 = icmp ult i64 %151, 16
  %conflict.rdx167 = or i1 %conflict.rdx165, %diff.check166
  %152 = sub i64 %23, %18
  %diff.check168 = icmp ult i64 %152, 16
  %conflict.rdx169 = or i1 %conflict.rdx167, %diff.check168
  %153 = sub i64 %23, %17
  %diff.check170 = icmp ult i64 %153, 16
  %conflict.rdx171 = or i1 %conflict.rdx169, %diff.check170
  %154 = sub i64 %23, %16
  %diff.check172 = icmp ult i64 %154, 16
  %conflict.rdx173 = or i1 %conflict.rdx171, %diff.check172
  %155 = sub i64 %23, %15
  %diff.check174 = icmp ult i64 %155, 16
  %conflict.rdx175 = or i1 %conflict.rdx173, %diff.check174
  %156 = sub i64 %23, %14
  %diff.check176 = icmp ult i64 %156, 16
  %conflict.rdx177 = or i1 %conflict.rdx175, %diff.check176
  %157 = sub i64 %23, %13
  %diff.check178 = icmp ult i64 %157, 16
  %conflict.rdx179 = or i1 %conflict.rdx177, %diff.check178
  br i1 %conflict.rdx179, label %.lr.ph82.preheader203, label %vector.ph183

vector.ph183:                                     ; preds = %vector.memcheck160
  %n.vec185 = and i64 %147, 8589934590
  %ind.end186 = add nuw nsw i64 %n.vec185, %143
  br label %vector.body188

vector.body188:                                   ; preds = %vector.body188, %vector.ph183
  %index189 = phi i64 [ 0, %vector.ph183 ], [ %index.next201, %vector.body188 ]
  %offset.idx190 = add i64 %index189, %143
  %158 = getelementptr inbounds double, ptr %9, i64 %offset.idx190
  %wide.load191 = load <2 x double>, ptr %158, align 8, !tbaa !9
  %159 = getelementptr inbounds double, ptr %0, i64 %offset.idx190
  %wide.load192 = load <2 x double>, ptr %159, align 8, !tbaa !9
  %160 = getelementptr inbounds double, ptr %3, i64 %offset.idx190
  %wide.load193 = load <2 x double>, ptr %160, align 8, !tbaa !9
  %161 = getelementptr inbounds double, ptr %1, i64 %offset.idx190
  %wide.load194 = load <2 x double>, ptr %161, align 8, !tbaa !9
  %162 = getelementptr inbounds double, ptr %4, i64 %offset.idx190
  %wide.load195 = load <2 x double>, ptr %162, align 8, !tbaa !9
  %163 = fmul <2 x double> %wide.load194, %wide.load195
  %164 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %wide.load192, <2 x double> %wide.load193, <2 x double> %163)
  %165 = getelementptr inbounds double, ptr %2, i64 %offset.idx190
  %wide.load196 = load <2 x double>, ptr %165, align 8, !tbaa !9
  %166 = getelementptr inbounds double, ptr %5, i64 %offset.idx190
  %wide.load197 = load <2 x double>, ptr %166, align 8, !tbaa !9
  %167 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %wide.load196, <2 x double> %wide.load197, <2 x double> %164)
  %168 = getelementptr inbounds double, ptr %10, i64 %offset.idx190
  %wide.load198 = load <2 x double>, ptr %168, align 8, !tbaa !9
  %169 = getelementptr inbounds double, ptr %7, i64 %offset.idx190
  %wide.load199 = load <2 x double>, ptr %169, align 8, !tbaa !9
  %170 = getelementptr inbounds double, ptr %6, i64 %offset.idx190
  %wide.load200 = load <2 x double>, ptr %170, align 8, !tbaa !9
  %171 = fmul <2 x double> %wide.load199, %wide.load200
  %172 = fmul <2 x double> %wide.load198, %171
  %173 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %wide.load191, <2 x double> %167, <2 x double> %172)
  %174 = getelementptr inbounds double, ptr %8, i64 %offset.idx190
  store <2 x double> %173, ptr %174, align 8, !tbaa !9
  %index.next201 = add nuw i64 %index189, 2
  %175 = icmp eq i64 %index.next201, %n.vec185
  br i1 %175, label %middle.block180, label %vector.body188, !llvm.loop !17

middle.block180:                                  ; preds = %vector.body188
  %cmp.n202 = icmp eq i64 %147, %n.vec185
  br i1 %cmp.n202, label %._crit_edge, label %.lr.ph82.preheader203

.lr.ph79:                                         ; preds = %.lr.ph79.preheader204, %.lr.ph79
  %indvars.iv85 = phi i64 [ %indvars.iv.next86, %.lr.ph79 ], [ %indvars.iv85.ph, %.lr.ph79.preheader204 ]
  %176 = getelementptr inbounds double, ptr %9, i64 %indvars.iv85
  %177 = load double, ptr %176, align 8, !tbaa !9
  %178 = getelementptr inbounds double, ptr %0, i64 %indvars.iv85
  %179 = load double, ptr %178, align 8, !tbaa !9
  %180 = getelementptr inbounds double, ptr %3, i64 %indvars.iv85
  %181 = load double, ptr %180, align 8, !tbaa !9
  %182 = getelementptr inbounds double, ptr %1, i64 %indvars.iv85
  %183 = load double, ptr %182, align 8, !tbaa !9
  %184 = getelementptr inbounds double, ptr %4, i64 %indvars.iv85
  %185 = load double, ptr %184, align 8, !tbaa !9
  %186 = fmul double %183, %185
  %187 = call double @llvm.fmuladd.f64(double %179, double %181, double %186)
  %188 = getelementptr inbounds double, ptr %2, i64 %indvars.iv85
  %189 = load double, ptr %188, align 8, !tbaa !9
  %190 = getelementptr inbounds double, ptr %5, i64 %indvars.iv85
  %191 = load double, ptr %190, align 8, !tbaa !9
  %192 = call double @llvm.fmuladd.f64(double %189, double %191, double %187)
  %193 = getelementptr inbounds double, ptr %10, i64 %indvars.iv85
  %194 = load double, ptr %193, align 8, !tbaa !9
  %195 = getelementptr inbounds double, ptr %7, i64 %indvars.iv85
  %196 = load double, ptr %195, align 8, !tbaa !9
  %197 = getelementptr inbounds double, ptr %6, i64 %indvars.iv85
  %198 = load double, ptr %197, align 8, !tbaa !9
  %199 = fmul double %196, %198
  %200 = fmul double %194, %199
  %201 = call double @llvm.fmuladd.f64(double %177, double %192, double %200)
  %202 = getelementptr inbounds double, ptr %8, i64 %indvars.iv85
  store double %201, ptr %202, align 8, !tbaa !9
  %indvars.iv.next86 = add nuw nsw i64 %indvars.iv85, 1
  %exitcond89.not = icmp eq i64 %indvars.iv.next86, %wide.trip.count88
  br i1 %exitcond89.not, label %.preheader, label %.lr.ph79, !llvm.loop !18

.lr.ph82:                                         ; preds = %.lr.ph82.preheader203, %.lr.ph82
  %indvars.iv90 = phi i64 [ %indvars.iv.next91, %.lr.ph82 ], [ %indvars.iv90.ph, %.lr.ph82.preheader203 ]
  %203 = getelementptr inbounds double, ptr %9, i64 %indvars.iv90
  %204 = load double, ptr %203, align 8, !tbaa !9
  %205 = getelementptr inbounds double, ptr %0, i64 %indvars.iv90
  %206 = load double, ptr %205, align 8, !tbaa !9
  %207 = getelementptr inbounds double, ptr %3, i64 %indvars.iv90
  %208 = load double, ptr %207, align 8, !tbaa !9
  %209 = getelementptr inbounds double, ptr %1, i64 %indvars.iv90
  %210 = load double, ptr %209, align 8, !tbaa !9
  %211 = getelementptr inbounds double, ptr %4, i64 %indvars.iv90
  %212 = load double, ptr %211, align 8, !tbaa !9
  %213 = fmul double %210, %212
  %214 = call double @llvm.fmuladd.f64(double %206, double %208, double %213)
  %215 = getelementptr inbounds double, ptr %2, i64 %indvars.iv90
  %216 = load double, ptr %215, align 8, !tbaa !9
  %217 = getelementptr inbounds double, ptr %5, i64 %indvars.iv90
  %218 = load double, ptr %217, align 8, !tbaa !9
  %219 = call double @llvm.fmuladd.f64(double %216, double %218, double %214)
  %220 = getelementptr inbounds double, ptr %10, i64 %indvars.iv90
  %221 = load double, ptr %220, align 8, !tbaa !9
  %222 = getelementptr inbounds double, ptr %7, i64 %indvars.iv90
  %223 = load double, ptr %222, align 8, !tbaa !9
  %224 = getelementptr inbounds double, ptr %6, i64 %indvars.iv90
  %225 = load double, ptr %224, align 8, !tbaa !9
  %226 = fmul double %223, %225
  %227 = fmul double %221, %226
  %228 = call double @llvm.fmuladd.f64(double %204, double %219, double %227)
  %229 = getelementptr inbounds double, ptr %8, i64 %indvars.iv90
  store double %228, ptr %229, align 8, !tbaa !9
  %indvars.iv.next91 = add nuw nsw i64 %indvars.iv90, 1
  %230 = trunc nuw i64 %indvars.iv.next91 to i32
  %231 = icmp sgt i32 %141, %230
  br i1 %231, label %.lr.ph82, label %._crit_edge, !llvm.loop !19

._crit_edge:                                      ; preds = %.lr.ph82, %middle.block180, %.preheader
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %47) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %46) #6
  ret void
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x double> @llvm.fmuladd.v2f64(<2 x double>, <2 x double>, <2 x double>) #5

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { noreturn 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 #2 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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 #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { nounwind }
attributes #7 = { noreturn 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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = distinct !{!11, !12, !13, !14}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!"llvm.loop.isvectorized", i32 1}
!14 = !{!"llvm.loop.unroll.runtime.disable"}
!15 = distinct !{!15, !12, !13, !14}
!16 = distinct !{!16, !12, !13}
!17 = distinct !{!17, !12, !13, !14}
!18 = distinct !{!18, !12, !13}
!19 = distinct !{!19, !12, !13}


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