; 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_helmholtz_ = external hidden unnamed_addr constant [213 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [10 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: nounwind uwtable
define dso_local void @stream_update_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) #3 {
  %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 223, ptr noundef @__PRETTY_FUNCTION__.stream_update_helmholtz_) #6
  unreachable

32:                                               ; preds = %30
  %33 = load ptr, ptr %22, align 8, !tbaa !5
  %34 = icmp ne ptr null, %33
  br i1 %34, label %35, label %36

35:                                               ; preds = %32
  br label %37

36:                                               ; preds = %32
  call void @__assert_fail(ptr noundef @.str.3, ptr noundef @.str.1, i32 noundef 224, ptr noundef @__PRETTY_FUNCTION__.stream_update_helmholtz_) #6
  unreachable

37:                                               ; preds = %35
  %38 = load ptr, ptr %23, align 8, !tbaa !5
  %39 = icmp ne ptr null, %38
  br i1 %39, label %40, label %41

40:                                               ; preds = %37
  br label %42

41:                                               ; preds = %37
  call void @__assert_fail(ptr noundef @.str.4, ptr noundef @.str.1, i32 noundef 225, ptr noundef @__PRETTY_FUNCTION__.stream_update_helmholtz_) #6
  unreachable

42:                                               ; preds = %40
  %43 = load ptr, ptr %24, align 8, !tbaa !5
  %44 = load i32, ptr %43, align 4, !tbaa !9
  %45 = load ptr, ptr %21, align 8, !tbaa !5
  %46 = ptrtoint ptr %45 to i64
  call void @stream_init(i32 noundef %44, i64 noundef %46, ptr noundef %26, ptr noundef %27)
  br label %47

47:                                               ; preds = %106, %42
  %48 = load i32, ptr %25, align 4, !tbaa !9
  %49 = load i32, ptr %26, align 4, !tbaa !9
  %50 = icmp slt i32 %48, %49
  br i1 %50, label %51, label %109

51:                                               ; preds = %47
  %52 = load ptr, ptr %22, align 8, !tbaa !5
  %53 = load double, ptr %52, align 8, !tbaa !11
  %54 = load ptr, ptr %13, align 8, !tbaa !5
  %55 = load i32, ptr %25, align 4, !tbaa !9
  %56 = sext i32 %55 to i64
  %57 = getelementptr inbounds double, ptr %54, i64 %56
  %58 = load double, ptr %57, align 8, !tbaa !11
  %59 = load ptr, ptr %16, align 8, !tbaa !5
  %60 = load i32, ptr %25, align 4, !tbaa !9
  %61 = sext i32 %60 to i64
  %62 = getelementptr inbounds double, ptr %59, i64 %61
  %63 = load double, ptr %62, align 8, !tbaa !11
  %64 = load ptr, ptr %14, align 8, !tbaa !5
  %65 = load i32, ptr %25, align 4, !tbaa !9
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds double, ptr %64, i64 %66
  %68 = load double, ptr %67, align 8, !tbaa !11
  %69 = load ptr, ptr %17, 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 = fmul double %68, %73
  %75 = call double @llvm.fmuladd.f64(double %58, double %63, double %74)
  %76 = load ptr, ptr %15, align 8, !tbaa !5
  %77 = load i32, ptr %25, align 4, !tbaa !9
  %78 = sext i32 %77 to i64
  %79 = getelementptr inbounds double, ptr %76, i64 %78
  %80 = load double, ptr %79, align 8, !tbaa !11
  %81 = load ptr, ptr %18, align 8, !tbaa !5
  %82 = load i32, ptr %25, align 4, !tbaa !9
  %83 = sext i32 %82 to i64
  %84 = getelementptr inbounds double, ptr %81, i64 %83
  %85 = load double, ptr %84, align 8, !tbaa !11
  %86 = call double @llvm.fmuladd.f64(double %80, double %85, double %75)
  %87 = load ptr, ptr %23, align 8, !tbaa !5
  %88 = load double, ptr %87, align 8, !tbaa !11
  %89 = load ptr, ptr %20, align 8, !tbaa !5
  %90 = load i32, ptr %25, align 4, !tbaa !9
  %91 = sext i32 %90 to i64
  %92 = getelementptr inbounds double, ptr %89, i64 %91
  %93 = load double, ptr %92, align 8, !tbaa !11
  %94 = load ptr, ptr %19, align 8, !tbaa !5
  %95 = load i32, ptr %25, align 4, !tbaa !9
  %96 = sext i32 %95 to i64
  %97 = getelementptr inbounds double, ptr %94, i64 %96
  %98 = load double, ptr %97, align 8, !tbaa !11
  %99 = fmul double %93, %98
  %100 = fmul double %88, %99
  %101 = call double @llvm.fmuladd.f64(double %53, double %86, double %100)
  %102 = load ptr, ptr %21, align 8, !tbaa !5
  %103 = load i32, ptr %25, align 4, !tbaa !9
  %104 = sext i32 %103 to i64
  %105 = getelementptr inbounds double, ptr %102, i64 %104
  store double %101, ptr %105, align 8, !tbaa !11
  br label %106

106:                                              ; preds = %51
  %107 = load i32, ptr %25, align 4, !tbaa !9
  %108 = add nsw i32 %107, 1
  store i32 %108, ptr %25, align 4, !tbaa !9
  br label %47, !llvm.loop !13

109:                                              ; preds = %47
  br label %110

110:                                              ; preds = %169, %109
  %111 = load i32, ptr %25, align 4, !tbaa !9
  %112 = load i32, ptr %27, align 4, !tbaa !9
  %113 = icmp slt i32 %111, %112
  br i1 %113, label %114, label %172

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

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

172:                                              ; preds = %110
  br label %173

173:                                              ; preds = %233, %172
  %174 = load i32, ptr %25, align 4, !tbaa !9
  %175 = load ptr, ptr %24, align 8, !tbaa !5
  %176 = load i32, ptr %175, align 4, !tbaa !9
  %177 = icmp slt i32 %174, %176
  br i1 %177, label %178, label %236

178:                                              ; preds = %173
  %179 = load ptr, ptr %22, align 8, !tbaa !5
  %180 = load double, ptr %179, align 8, !tbaa !11
  %181 = load ptr, ptr %13, 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 %16, 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 %14, 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 %17, 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 = fmul double %195, %200
  %202 = call double @llvm.fmuladd.f64(double %185, double %190, double %201)
  %203 = load ptr, ptr %15, align 8, !tbaa !5
  %204 = load i32, ptr %25, align 4, !tbaa !9
  %205 = sext i32 %204 to i64
  %206 = getelementptr inbounds double, ptr %203, i64 %205
  %207 = load double, ptr %206, align 8, !tbaa !11
  %208 = load ptr, ptr %18, 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 = call double @llvm.fmuladd.f64(double %207, double %212, double %202)
  %214 = load ptr, ptr %23, align 8, !tbaa !5
  %215 = load double, ptr %214, align 8, !tbaa !11
  %216 = load ptr, ptr %20, align 8, !tbaa !5
  %217 = load i32, ptr %25, align 4, !tbaa !9
  %218 = sext i32 %217 to i64
  %219 = getelementptr inbounds double, ptr %216, i64 %218
  %220 = load double, ptr %219, align 8, !tbaa !11
  %221 = load ptr, ptr %19, align 8, !tbaa !5
  %222 = load i32, ptr %25, align 4, !tbaa !9
  %223 = sext i32 %222 to i64
  %224 = getelementptr inbounds double, ptr %221, i64 %223
  %225 = load double, ptr %224, align 8, !tbaa !11
  %226 = fmul double %220, %225
  %227 = fmul double %215, %226
  %228 = call double @llvm.fmuladd.f64(double %180, double %213, double %227)
  %229 = load ptr, ptr %21, 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
  store double %228, ptr %232, align 8, !tbaa !11
  br label %233

233:                                              ; preds = %178
  %234 = load i32, ptr %25, align 4, !tbaa !9
  %235 = add nsw i32 %234, 1
  store i32 %235, ptr %25, align 4, !tbaa !9
  br label %173, !llvm.loop !16

236:                                              ; preds = %173
  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
}

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

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 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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_helmholtz_ = external hidden unnamed_addr constant [213 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [10 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: nounwind uwtable
define dso_local void @stream_update_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 noundef readonly %9, ptr noundef readonly %10, ptr noundef readonly %11) local_unnamed_addr #3 {
  %13 = alloca i32, align 4
  %14 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %13) #6
  store i32 0, ptr %13, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %14) #6
  store i32 0, ptr %14, align 4, !tbaa !5
  %.not = icmp eq ptr %11, null
  br i1 %.not, label %15, label %16

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

16:                                               ; preds = %12
  %.not74 = icmp eq ptr %9, null
  br i1 %.not74, label %17, label %18

17:                                               ; preds = %16
  tail call void @__assert_fail(ptr noundef nonnull @.str.3, ptr noundef nonnull @.str.1, i32 noundef 224, ptr noundef nonnull @__PRETTY_FUNCTION__.stream_update_helmholtz_) #7
  unreachable

18:                                               ; preds = %16
  %.not75 = icmp eq ptr %10, null
  br i1 %.not75, label %19, label %20

19:                                               ; preds = %18
  tail call void @__assert_fail(ptr noundef nonnull @.str.4, ptr noundef nonnull @.str.1, i32 noundef 225, ptr noundef nonnull @__PRETTY_FUNCTION__.stream_update_helmholtz_) #7
  unreachable

20:                                               ; preds = %18
  %21 = load i32, ptr %11, align 4, !tbaa !5
  %22 = ptrtoint ptr %8 to i64
  call void @stream_init(i32 noundef %21, i64 noundef %22, ptr noundef nonnull %13, ptr noundef nonnull %14)
  %23 = load i32, ptr %13, align 4, !tbaa !5
  %24 = icmp sgt i32 %23, 0
  br i1 %24, label %.lr.ph.preheader, label %.preheader76

.lr.ph.preheader:                                 ; preds = %20
  %wide.trip.count = zext nneg i32 %23 to i64
  %min.iters.check = icmp ult i32 %23, 14
  br i1 %min.iters.check, label %.lr.ph.preheader318, label %vector.memcheck

.lr.ph.preheader318:                              ; 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
  %25 = shl nuw nsw i64 %wide.trip.count, 3
  %scevgep = getelementptr i8, ptr %8, i64 %25
  %scevgep93 = getelementptr i8, ptr %9, i64 8
  %scevgep94 = getelementptr i8, ptr %0, i64 %25
  %scevgep95 = getelementptr i8, ptr %3, i64 %25
  %scevgep96 = getelementptr i8, ptr %1, i64 %25
  %scevgep97 = getelementptr i8, ptr %4, i64 %25
  %scevgep98 = getelementptr i8, ptr %2, i64 %25
  %scevgep99 = getelementptr i8, ptr %5, i64 %25
  %scevgep100 = getelementptr i8, ptr %10, i64 8
  %scevgep101 = getelementptr i8, ptr %7, i64 %25
  %scevgep102 = getelementptr i8, ptr %6, i64 %25
  %26 = insertelement <8 x ptr> poison, ptr %scevgep93, i64 0
  %27 = insertelement <8 x ptr> %26, ptr %scevgep94, i64 1
  %28 = insertelement <8 x ptr> %27, ptr %scevgep95, i64 2
  %29 = insertelement <8 x ptr> %28, ptr %scevgep96, i64 3
  %30 = insertelement <8 x ptr> %29, ptr %scevgep97, i64 4
  %31 = insertelement <8 x ptr> %30, ptr %scevgep98, i64 5
  %32 = insertelement <8 x ptr> %31, ptr %scevgep99, i64 6
  %33 = insertelement <8 x ptr> %32, ptr %scevgep100, i64 7
  %34 = insertelement <8 x ptr> poison, ptr %8, i64 0
  %35 = shufflevector <8 x ptr> %34, <8 x ptr> poison, <8 x i32> zeroinitializer
  %36 = icmp ugt <8 x ptr> %33, %35
  %37 = insertelement <8 x ptr> poison, ptr %scevgep, i64 0
  %38 = shufflevector <8 x ptr> %37, <8 x ptr> poison, <8 x i32> zeroinitializer
  %39 = insertelement <8 x ptr> poison, ptr %9, i64 0
  %40 = insertelement <8 x ptr> %39, ptr %0, i64 1
  %41 = insertelement <8 x ptr> %40, ptr %3, i64 2
  %42 = insertelement <8 x ptr> %41, ptr %1, i64 3
  %43 = insertelement <8 x ptr> %42, ptr %4, i64 4
  %44 = insertelement <8 x ptr> %43, ptr %2, i64 5
  %45 = insertelement <8 x ptr> %44, ptr %5, i64 6
  %46 = insertelement <8 x ptr> %45, ptr %10, i64 7
  %47 = icmp ugt <8 x ptr> %38, %46
  %48 = and <8 x i1> %36, %47
  %bound0130 = icmp ugt ptr %scevgep101, %8
  %bound1131 = icmp ugt ptr %scevgep, %7
  %found.conflict132 = and i1 %bound0130, %bound1131
  %bound0134 = icmp ugt ptr %scevgep102, %8
  %bound1135 = icmp ugt ptr %scevgep, %6
  %found.conflict136 = and i1 %bound0134, %bound1135
  %49 = bitcast <8 x i1> %48 to i8
  %50 = icmp ne i8 %49, 0
  %op.rdx = or i1 %50, %found.conflict132
  %op.rdx315 = or i1 %op.rdx, %found.conflict136
  br i1 %op.rdx315, label %.lr.ph.preheader318, label %vector.ph

vector.ph:                                        ; preds = %vector.memcheck
  %n.vec = and i64 %wide.trip.count, 2147483646
  %51 = load double, ptr %9, align 8, !tbaa !9, !alias.scope !11
  %broadcast.splatinsert145 = insertelement <2 x double> poison, double %51, i64 0
  %broadcast.splat146 = shufflevector <2 x double> %broadcast.splatinsert145, <2 x double> poison, <2 x i32> zeroinitializer
  %52 = load double, ptr %10, align 8, !tbaa !9, !alias.scope !14
  %broadcast.splatinsert = insertelement <2 x double> poison, double %52, i64 0
  %broadcast.splat = shufflevector <2 x double> %broadcast.splatinsert, <2 x double> poison, <2 x i32> zeroinitializer
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %53 = getelementptr inbounds double, ptr %0, i64 %index
  %wide.load = load <2 x double>, ptr %53, align 8, !tbaa !9, !alias.scope !16
  %54 = getelementptr inbounds double, ptr %3, i64 %index
  %wide.load138 = load <2 x double>, ptr %54, align 8, !tbaa !9, !alias.scope !18
  %55 = getelementptr inbounds double, ptr %1, i64 %index
  %wide.load139 = load <2 x double>, ptr %55, align 8, !tbaa !9, !alias.scope !20
  %56 = getelementptr inbounds double, ptr %4, i64 %index
  %wide.load140 = load <2 x double>, ptr %56, align 8, !tbaa !9, !alias.scope !22
  %57 = fmul <2 x double> %wide.load139, %wide.load140
  %58 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %wide.load, <2 x double> %wide.load138, <2 x double> %57)
  %59 = getelementptr inbounds double, ptr %2, i64 %index
  %wide.load141 = load <2 x double>, ptr %59, align 8, !tbaa !9, !alias.scope !24
  %60 = getelementptr inbounds double, ptr %5, i64 %index
  %wide.load142 = load <2 x double>, ptr %60, align 8, !tbaa !9, !alias.scope !26
  %61 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %wide.load141, <2 x double> %wide.load142, <2 x double> %58)
  %62 = getelementptr inbounds double, ptr %7, i64 %index
  %wide.load143 = load <2 x double>, ptr %62, align 8, !tbaa !9, !alias.scope !28
  %63 = getelementptr inbounds double, ptr %6, i64 %index
  %wide.load144 = load <2 x double>, ptr %63, align 8, !tbaa !9, !alias.scope !30
  %64 = fmul <2 x double> %wide.load143, %wide.load144
  %65 = fmul <2 x double> %broadcast.splat, %64
  %66 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat146, <2 x double> %61, <2 x double> %65)
  %67 = getelementptr inbounds double, ptr %8, i64 %index
  store <2 x double> %66, ptr %67, align 8, !tbaa !9, !alias.scope !32, !noalias !34
  %index.next = add nuw i64 %index, 2
  %68 = icmp eq i64 %index.next, %n.vec
  br i1 %68, label %middle.block, label %vector.body, !llvm.loop !35

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

.preheader76:                                     ; preds = %.lr.ph, %middle.block, %20
  %.0.lcssa = phi i32 [ 0, %20 ], [ %23, %middle.block ], [ %23, %.lr.ph ]
  %69 = load i32, ptr %14, align 4, !tbaa !5
  %70 = icmp slt i32 %.0.lcssa, %69
  br i1 %70, label %.lr.ph79.preheader, label %.preheader

.lr.ph79.preheader:                               ; preds = %.preheader76
  %71 = zext nneg i32 %.0.lcssa to i64
  %wide.trip.count88 = zext i32 %69 to i64
  %72 = sub nsw i64 %wide.trip.count88, %71
  %min.iters.check209 = icmp ult i64 %72, 14
  br i1 %min.iters.check209, label %.lr.ph79.preheader317, label %vector.memcheck147

.lr.ph79.preheader317:                            ; preds = %middle.block207, %vector.memcheck147, %.lr.ph79.preheader
  %indvars.iv85.ph = phi i64 [ %71, %vector.memcheck147 ], [ %71, %.lr.ph79.preheader ], [ %ind.end, %middle.block207 ]
  br label %.lr.ph79

vector.memcheck147:                               ; preds = %.lr.ph79.preheader
  %73 = shl nuw nsw i64 %71, 3
  %scevgep148 = getelementptr i8, ptr %8, i64 %73
  %74 = shl nuw nsw i64 %wide.trip.count88, 3
  %scevgep149 = getelementptr i8, ptr %8, i64 %74
  %scevgep150 = getelementptr i8, ptr %9, i64 8
  %scevgep151 = getelementptr i8, ptr %0, i64 %73
  %scevgep152 = getelementptr i8, ptr %0, i64 %74
  %scevgep153 = getelementptr i8, ptr %3, i64 %73
  %scevgep154 = getelementptr i8, ptr %3, i64 %74
  %scevgep155 = getelementptr i8, ptr %1, i64 %73
  %scevgep156 = getelementptr i8, ptr %1, i64 %74
  %scevgep157 = getelementptr i8, ptr %4, i64 %73
  %scevgep158 = getelementptr i8, ptr %4, i64 %74
  %scevgep159 = getelementptr i8, ptr %2, i64 %73
  %scevgep160 = getelementptr i8, ptr %2, i64 %74
  %scevgep161 = getelementptr i8, ptr %5, i64 %73
  %scevgep162 = getelementptr i8, ptr %5, i64 %74
  %scevgep163 = getelementptr i8, ptr %10, i64 8
  %scevgep164 = getelementptr i8, ptr %7, i64 %73
  %scevgep165 = getelementptr i8, ptr %7, i64 %74
  %scevgep166 = getelementptr i8, ptr %6, i64 %73
  %scevgep167 = getelementptr i8, ptr %6, i64 %74
  %bound0168 = icmp ult ptr %scevgep148, %scevgep150
  %bound1169 = icmp ugt ptr %scevgep149, %9
  %found.conflict170 = and i1 %bound0168, %bound1169
  %bound0171 = icmp ult ptr %scevgep148, %scevgep152
  %bound1172 = icmp ult ptr %scevgep151, %scevgep149
  %found.conflict173 = and i1 %bound0171, %bound1172
  %conflict.rdx174 = or i1 %found.conflict170, %found.conflict173
  %bound0175 = icmp ult ptr %scevgep148, %scevgep154
  %bound1176 = icmp ult ptr %scevgep153, %scevgep149
  %found.conflict177 = and i1 %bound0175, %bound1176
  %conflict.rdx178 = or i1 %conflict.rdx174, %found.conflict177
  %bound0179 = icmp ult ptr %scevgep148, %scevgep156
  %bound1180 = icmp ult ptr %scevgep155, %scevgep149
  %found.conflict181 = and i1 %bound0179, %bound1180
  %conflict.rdx182 = or i1 %conflict.rdx178, %found.conflict181
  %bound0183 = icmp ult ptr %scevgep148, %scevgep158
  %bound1184 = icmp ult ptr %scevgep157, %scevgep149
  %found.conflict185 = and i1 %bound0183, %bound1184
  %conflict.rdx186 = or i1 %conflict.rdx182, %found.conflict185
  %bound0187 = icmp ult ptr %scevgep148, %scevgep160
  %bound1188 = icmp ult ptr %scevgep159, %scevgep149
  %found.conflict189 = and i1 %bound0187, %bound1188
  %conflict.rdx190 = or i1 %conflict.rdx186, %found.conflict189
  %bound0191 = icmp ult ptr %scevgep148, %scevgep162
  %bound1192 = icmp ult ptr %scevgep161, %scevgep149
  %found.conflict193 = and i1 %bound0191, %bound1192
  %conflict.rdx194 = or i1 %conflict.rdx190, %found.conflict193
  %bound0195 = icmp ult ptr %scevgep148, %scevgep163
  %bound1196 = icmp ugt ptr %scevgep149, %10
  %found.conflict197 = and i1 %bound0195, %bound1196
  %conflict.rdx198 = or i1 %conflict.rdx194, %found.conflict197
  %bound0199 = icmp ult ptr %scevgep148, %scevgep165
  %bound1200 = icmp ult ptr %scevgep164, %scevgep149
  %found.conflict201 = and i1 %bound0199, %bound1200
  %conflict.rdx202 = or i1 %conflict.rdx198, %found.conflict201
  %bound0203 = icmp ult ptr %scevgep148, %scevgep167
  %bound1204 = icmp ult ptr %scevgep166, %scevgep149
  %found.conflict205 = and i1 %bound0203, %bound1204
  %conflict.rdx206 = or i1 %conflict.rdx202, %found.conflict205
  br i1 %conflict.rdx206, label %.lr.ph79.preheader317, label %vector.ph210

vector.ph210:                                     ; preds = %vector.memcheck147
  %n.vec212 = and i64 %72, -2
  %ind.end = add nsw i64 %n.vec212, %71
  %75 = load double, ptr %9, align 8, !tbaa !9, !alias.scope !39
  %broadcast.splatinsert226 = insertelement <2 x double> poison, double %75, i64 0
  %broadcast.splat227 = shufflevector <2 x double> %broadcast.splatinsert226, <2 x double> poison, <2 x i32> zeroinitializer
  %76 = load double, ptr %10, align 8, !tbaa !9, !alias.scope !42
  %broadcast.splatinsert224 = insertelement <2 x double> poison, double %76, i64 0
  %broadcast.splat225 = shufflevector <2 x double> %broadcast.splatinsert224, <2 x double> poison, <2 x i32> zeroinitializer
  br label %vector.body214

vector.body214:                                   ; preds = %vector.body214, %vector.ph210
  %index215 = phi i64 [ 0, %vector.ph210 ], [ %index.next228, %vector.body214 ]
  %offset.idx = add i64 %index215, %71
  %77 = getelementptr inbounds double, ptr %0, i64 %offset.idx
  %wide.load216 = load <2 x double>, ptr %77, align 8, !tbaa !9, !alias.scope !44
  %78 = getelementptr inbounds double, ptr %3, i64 %offset.idx
  %wide.load217 = load <2 x double>, ptr %78, align 8, !tbaa !9, !alias.scope !46
  %79 = getelementptr inbounds double, ptr %1, i64 %offset.idx
  %wide.load218 = load <2 x double>, ptr %79, align 8, !tbaa !9, !alias.scope !48
  %80 = getelementptr inbounds double, ptr %4, i64 %offset.idx
  %wide.load219 = load <2 x double>, ptr %80, align 8, !tbaa !9, !alias.scope !50
  %81 = fmul <2 x double> %wide.load218, %wide.load219
  %82 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %wide.load216, <2 x double> %wide.load217, <2 x double> %81)
  %83 = getelementptr inbounds double, ptr %2, i64 %offset.idx
  %wide.load220 = load <2 x double>, ptr %83, align 8, !tbaa !9, !alias.scope !52
  %84 = getelementptr inbounds double, ptr %5, i64 %offset.idx
  %wide.load221 = load <2 x double>, ptr %84, align 8, !tbaa !9, !alias.scope !54
  %85 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %wide.load220, <2 x double> %wide.load221, <2 x double> %82)
  %86 = getelementptr inbounds double, ptr %7, i64 %offset.idx
  %wide.load222 = load <2 x double>, ptr %86, align 8, !tbaa !9, !alias.scope !56
  %87 = getelementptr inbounds double, ptr %6, i64 %offset.idx
  %wide.load223 = load <2 x double>, ptr %87, align 8, !tbaa !9, !alias.scope !58
  %88 = fmul <2 x double> %wide.load222, %wide.load223
  %89 = fmul <2 x double> %broadcast.splat225, %88
  %90 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat227, <2 x double> %85, <2 x double> %89)
  %91 = getelementptr inbounds double, ptr %8, i64 %offset.idx
  store <2 x double> %90, ptr %91, align 8, !tbaa !9, !alias.scope !60, !noalias !62
  %index.next228 = add nuw i64 %index215, 2
  %92 = icmp eq i64 %index.next228, %n.vec212
  br i1 %92, label %middle.block207, label %vector.body214, !llvm.loop !63

middle.block207:                                  ; preds = %vector.body214
  %cmp.n229 = icmp eq i64 %72, %n.vec212
  br i1 %cmp.n229, label %.preheader, label %.lr.ph79.preheader317

.lr.ph:                                           ; preds = %.lr.ph.preheader318, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ %indvars.iv.ph, %.lr.ph.preheader318 ]
  %93 = load double, ptr %9, align 8, !tbaa !9
  %94 = getelementptr inbounds double, ptr %0, i64 %indvars.iv
  %95 = load double, ptr %94, align 8, !tbaa !9
  %96 = getelementptr inbounds double, ptr %3, i64 %indvars.iv
  %97 = load double, ptr %96, align 8, !tbaa !9
  %98 = getelementptr inbounds double, ptr %1, i64 %indvars.iv
  %99 = load double, ptr %98, align 8, !tbaa !9
  %100 = getelementptr inbounds double, ptr %4, i64 %indvars.iv
  %101 = load double, ptr %100, align 8, !tbaa !9
  %102 = fmul double %99, %101
  %103 = call double @llvm.fmuladd.f64(double %95, double %97, double %102)
  %104 = getelementptr inbounds double, ptr %2, i64 %indvars.iv
  %105 = load double, ptr %104, align 8, !tbaa !9
  %106 = getelementptr inbounds double, ptr %5, i64 %indvars.iv
  %107 = load double, ptr %106, align 8, !tbaa !9
  %108 = call double @llvm.fmuladd.f64(double %105, double %107, double %103)
  %109 = load double, ptr %10, align 8, !tbaa !9
  %110 = getelementptr inbounds double, ptr %7, i64 %indvars.iv
  %111 = load double, ptr %110, align 8, !tbaa !9
  %112 = getelementptr inbounds double, ptr %6, i64 %indvars.iv
  %113 = load double, ptr %112, align 8, !tbaa !9
  %114 = fmul double %111, %113
  %115 = fmul double %109, %114
  %116 = call double @llvm.fmuladd.f64(double %93, double %108, double %115)
  %117 = getelementptr inbounds double, ptr %8, i64 %indvars.iv
  store double %116, ptr %117, 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 !64

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

.lr.ph82.preheader:                               ; preds = %.preheader
  %120 = zext i32 %.1.lcssa to i64
  %121 = xor i32 %.1.lcssa, -1
  %122 = add i32 %118, %121
  %123 = zext i32 %122 to i64
  %124 = add nuw nsw i64 %123, 1
  %min.iters.check292 = icmp ult i32 %122, 15
  br i1 %min.iters.check292, label %.lr.ph82.preheader316, label %vector.memcheck230

.lr.ph82.preheader316:                            ; preds = %middle.block290, %vector.memcheck230, %.lr.ph82.preheader
  %indvars.iv90.ph = phi i64 [ %120, %vector.memcheck230 ], [ %120, %.lr.ph82.preheader ], [ %ind.end296, %middle.block290 ]
  br label %.lr.ph82

vector.memcheck230:                               ; preds = %.lr.ph82.preheader
  %125 = shl nuw nsw i64 %120, 3
  %scevgep231 = getelementptr i8, ptr %8, i64 %125
  %126 = xor i32 %.1.lcssa, -1
  %127 = add i32 %118, %126
  %128 = zext i32 %127 to i64
  %129 = add nuw nsw i64 %120, %128
  %130 = shl nuw nsw i64 %129, 3
  %131 = add nuw nsw i64 %130, 8
  %scevgep232 = getelementptr i8, ptr %8, i64 %131
  %scevgep233 = getelementptr i8, ptr %9, i64 8
  %scevgep234 = getelementptr i8, ptr %0, i64 %125
  %scevgep235 = getelementptr i8, ptr %0, i64 %131
  %scevgep236 = getelementptr i8, ptr %3, i64 %125
  %scevgep237 = getelementptr i8, ptr %3, i64 %131
  %scevgep238 = getelementptr i8, ptr %1, i64 %125
  %scevgep239 = getelementptr i8, ptr %1, i64 %131
  %scevgep240 = getelementptr i8, ptr %4, i64 %125
  %scevgep241 = getelementptr i8, ptr %4, i64 %131
  %scevgep242 = getelementptr i8, ptr %2, i64 %125
  %scevgep243 = getelementptr i8, ptr %2, i64 %131
  %scevgep244 = getelementptr i8, ptr %5, i64 %125
  %scevgep245 = getelementptr i8, ptr %5, i64 %131
  %scevgep246 = getelementptr i8, ptr %10, i64 8
  %scevgep247 = getelementptr i8, ptr %7, i64 %125
  %scevgep248 = getelementptr i8, ptr %7, i64 %131
  %scevgep249 = getelementptr i8, ptr %6, i64 %125
  %scevgep250 = getelementptr i8, ptr %6, i64 %131
  %bound0251 = icmp ult ptr %scevgep231, %scevgep233
  %bound1252 = icmp ugt ptr %scevgep232, %9
  %found.conflict253 = and i1 %bound0251, %bound1252
  %bound0254 = icmp ult ptr %scevgep231, %scevgep235
  %bound1255 = icmp ult ptr %scevgep234, %scevgep232
  %found.conflict256 = and i1 %bound0254, %bound1255
  %conflict.rdx257 = or i1 %found.conflict253, %found.conflict256
  %bound0258 = icmp ult ptr %scevgep231, %scevgep237
  %bound1259 = icmp ult ptr %scevgep236, %scevgep232
  %found.conflict260 = and i1 %bound0258, %bound1259
  %conflict.rdx261 = or i1 %conflict.rdx257, %found.conflict260
  %bound0262 = icmp ult ptr %scevgep231, %scevgep239
  %bound1263 = icmp ult ptr %scevgep238, %scevgep232
  %found.conflict264 = and i1 %bound0262, %bound1263
  %conflict.rdx265 = or i1 %conflict.rdx261, %found.conflict264
  %bound0266 = icmp ult ptr %scevgep231, %scevgep241
  %bound1267 = icmp ult ptr %scevgep240, %scevgep232
  %found.conflict268 = and i1 %bound0266, %bound1267
  %conflict.rdx269 = or i1 %conflict.rdx265, %found.conflict268
  %bound0270 = icmp ult ptr %scevgep231, %scevgep243
  %bound1271 = icmp ult ptr %scevgep242, %scevgep232
  %found.conflict272 = and i1 %bound0270, %bound1271
  %conflict.rdx273 = or i1 %conflict.rdx269, %found.conflict272
  %bound0274 = icmp ult ptr %scevgep231, %scevgep245
  %bound1275 = icmp ult ptr %scevgep244, %scevgep232
  %found.conflict276 = and i1 %bound0274, %bound1275
  %conflict.rdx277 = or i1 %conflict.rdx273, %found.conflict276
  %bound0278 = icmp ult ptr %scevgep231, %scevgep246
  %bound1279 = icmp ugt ptr %scevgep232, %10
  %found.conflict280 = and i1 %bound0278, %bound1279
  %conflict.rdx281 = or i1 %conflict.rdx277, %found.conflict280
  %bound0282 = icmp ult ptr %scevgep231, %scevgep248
  %bound1283 = icmp ult ptr %scevgep247, %scevgep232
  %found.conflict284 = and i1 %bound0282, %bound1283
  %conflict.rdx285 = or i1 %conflict.rdx281, %found.conflict284
  %bound0286 = icmp ult ptr %scevgep231, %scevgep250
  %bound1287 = icmp ult ptr %scevgep249, %scevgep232
  %found.conflict288 = and i1 %bound0286, %bound1287
  %conflict.rdx289 = or i1 %conflict.rdx285, %found.conflict288
  br i1 %conflict.rdx289, label %.lr.ph82.preheader316, label %vector.ph293

vector.ph293:                                     ; preds = %vector.memcheck230
  %n.vec295 = and i64 %124, 8589934590
  %ind.end296 = add nuw nsw i64 %n.vec295, %120
  %132 = load double, ptr %9, align 8, !tbaa !9, !alias.scope !65
  %broadcast.splatinsert311 = insertelement <2 x double> poison, double %132, i64 0
  %broadcast.splat312 = shufflevector <2 x double> %broadcast.splatinsert311, <2 x double> poison, <2 x i32> zeroinitializer
  %133 = load double, ptr %10, align 8, !tbaa !9, !alias.scope !68
  %broadcast.splatinsert309 = insertelement <2 x double> poison, double %133, i64 0
  %broadcast.splat310 = shufflevector <2 x double> %broadcast.splatinsert309, <2 x double> poison, <2 x i32> zeroinitializer
  br label %vector.body298

vector.body298:                                   ; preds = %vector.body298, %vector.ph293
  %index299 = phi i64 [ 0, %vector.ph293 ], [ %index.next313, %vector.body298 ]
  %offset.idx300 = add i64 %index299, %120
  %134 = getelementptr inbounds double, ptr %0, i64 %offset.idx300
  %wide.load301 = load <2 x double>, ptr %134, align 8, !tbaa !9, !alias.scope !70
  %135 = getelementptr inbounds double, ptr %3, i64 %offset.idx300
  %wide.load302 = load <2 x double>, ptr %135, align 8, !tbaa !9, !alias.scope !72
  %136 = getelementptr inbounds double, ptr %1, i64 %offset.idx300
  %wide.load303 = load <2 x double>, ptr %136, align 8, !tbaa !9, !alias.scope !74
  %137 = getelementptr inbounds double, ptr %4, i64 %offset.idx300
  %wide.load304 = load <2 x double>, ptr %137, align 8, !tbaa !9, !alias.scope !76
  %138 = fmul <2 x double> %wide.load303, %wide.load304
  %139 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %wide.load301, <2 x double> %wide.load302, <2 x double> %138)
  %140 = getelementptr inbounds double, ptr %2, i64 %offset.idx300
  %wide.load305 = load <2 x double>, ptr %140, align 8, !tbaa !9, !alias.scope !78
  %141 = getelementptr inbounds double, ptr %5, i64 %offset.idx300
  %wide.load306 = load <2 x double>, ptr %141, align 8, !tbaa !9, !alias.scope !80
  %142 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %wide.load305, <2 x double> %wide.load306, <2 x double> %139)
  %143 = getelementptr inbounds double, ptr %7, i64 %offset.idx300
  %wide.load307 = load <2 x double>, ptr %143, align 8, !tbaa !9, !alias.scope !82
  %144 = getelementptr inbounds double, ptr %6, i64 %offset.idx300
  %wide.load308 = load <2 x double>, ptr %144, align 8, !tbaa !9, !alias.scope !84
  %145 = fmul <2 x double> %wide.load307, %wide.load308
  %146 = fmul <2 x double> %broadcast.splat310, %145
  %147 = call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat312, <2 x double> %142, <2 x double> %146)
  %148 = getelementptr inbounds double, ptr %8, i64 %offset.idx300
  store <2 x double> %147, ptr %148, align 8, !tbaa !9, !alias.scope !86, !noalias !88
  %index.next313 = add nuw i64 %index299, 2
  %149 = icmp eq i64 %index.next313, %n.vec295
  br i1 %149, label %middle.block290, label %vector.body298, !llvm.loop !89

middle.block290:                                  ; preds = %vector.body298
  %cmp.n314 = icmp eq i64 %124, %n.vec295
  br i1 %cmp.n314, label %._crit_edge, label %.lr.ph82.preheader316

.lr.ph79:                                         ; preds = %.lr.ph79.preheader317, %.lr.ph79
  %indvars.iv85 = phi i64 [ %indvars.iv.next86, %.lr.ph79 ], [ %indvars.iv85.ph, %.lr.ph79.preheader317 ]
  %150 = load double, ptr %9, align 8, !tbaa !9
  %151 = getelementptr inbounds double, ptr %0, i64 %indvars.iv85
  %152 = load double, ptr %151, align 8, !tbaa !9
  %153 = getelementptr inbounds double, ptr %3, i64 %indvars.iv85
  %154 = load double, ptr %153, align 8, !tbaa !9
  %155 = getelementptr inbounds double, ptr %1, i64 %indvars.iv85
  %156 = load double, ptr %155, align 8, !tbaa !9
  %157 = getelementptr inbounds double, ptr %4, i64 %indvars.iv85
  %158 = load double, ptr %157, align 8, !tbaa !9
  %159 = fmul double %156, %158
  %160 = call double @llvm.fmuladd.f64(double %152, double %154, double %159)
  %161 = getelementptr inbounds double, ptr %2, i64 %indvars.iv85
  %162 = load double, ptr %161, align 8, !tbaa !9
  %163 = getelementptr inbounds double, ptr %5, i64 %indvars.iv85
  %164 = load double, ptr %163, align 8, !tbaa !9
  %165 = call double @llvm.fmuladd.f64(double %162, double %164, double %160)
  %166 = load double, ptr %10, align 8, !tbaa !9
  %167 = getelementptr inbounds double, ptr %7, i64 %indvars.iv85
  %168 = load double, ptr %167, align 8, !tbaa !9
  %169 = getelementptr inbounds double, ptr %6, i64 %indvars.iv85
  %170 = load double, ptr %169, align 8, !tbaa !9
  %171 = fmul double %168, %170
  %172 = fmul double %166, %171
  %173 = call double @llvm.fmuladd.f64(double %150, double %165, double %172)
  %174 = getelementptr inbounds double, ptr %8, i64 %indvars.iv85
  store double %173, ptr %174, 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 !90

.lr.ph82:                                         ; preds = %.lr.ph82.preheader316, %.lr.ph82
  %indvars.iv90 = phi i64 [ %indvars.iv.next91, %.lr.ph82 ], [ %indvars.iv90.ph, %.lr.ph82.preheader316 ]
  %175 = load double, ptr %9, align 8, !tbaa !9
  %176 = getelementptr inbounds double, ptr %0, i64 %indvars.iv90
  %177 = load double, ptr %176, align 8, !tbaa !9
  %178 = getelementptr inbounds double, ptr %3, i64 %indvars.iv90
  %179 = load double, ptr %178, align 8, !tbaa !9
  %180 = getelementptr inbounds double, ptr %1, i64 %indvars.iv90
  %181 = load double, ptr %180, align 8, !tbaa !9
  %182 = getelementptr inbounds double, ptr %4, i64 %indvars.iv90
  %183 = load double, ptr %182, align 8, !tbaa !9
  %184 = fmul double %181, %183
  %185 = call double @llvm.fmuladd.f64(double %177, double %179, double %184)
  %186 = getelementptr inbounds double, ptr %2, i64 %indvars.iv90
  %187 = load double, ptr %186, align 8, !tbaa !9
  %188 = getelementptr inbounds double, ptr %5, i64 %indvars.iv90
  %189 = load double, ptr %188, align 8, !tbaa !9
  %190 = call double @llvm.fmuladd.f64(double %187, double %189, double %185)
  %191 = load double, ptr %10, align 8, !tbaa !9
  %192 = getelementptr inbounds double, ptr %7, i64 %indvars.iv90
  %193 = load double, ptr %192, align 8, !tbaa !9
  %194 = getelementptr inbounds double, ptr %6, i64 %indvars.iv90
  %195 = load double, ptr %194, align 8, !tbaa !9
  %196 = fmul double %193, %195
  %197 = fmul double %191, %196
  %198 = call double @llvm.fmuladd.f64(double %175, double %190, double %197)
  %199 = getelementptr inbounds double, ptr %8, i64 %indvars.iv90
  store double %198, ptr %199, align 8, !tbaa !9
  %indvars.iv.next91 = add nuw nsw i64 %indvars.iv90, 1
  %200 = trunc nuw i64 %indvars.iv.next91 to i32
  %201 = icmp sgt i32 %118, %200
  br i1 %201, label %.lr.ph82, label %._crit_edge, !llvm.loop !91

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

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

; 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 = { 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 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = !{!12}
!12 = distinct !{!12, !13}
!13 = distinct !{!13, !"LVerDomain"}
!14 = !{!15}
!15 = distinct !{!15, !13}
!16 = !{!17}
!17 = distinct !{!17, !13}
!18 = !{!19}
!19 = distinct !{!19, !13}
!20 = !{!21}
!21 = distinct !{!21, !13}
!22 = !{!23}
!23 = distinct !{!23, !13}
!24 = !{!25}
!25 = distinct !{!25, !13}
!26 = !{!27}
!27 = distinct !{!27, !13}
!28 = !{!29}
!29 = distinct !{!29, !13}
!30 = !{!31}
!31 = distinct !{!31, !13}
!32 = !{!33}
!33 = distinct !{!33, !13}
!34 = !{!12, !17, !19, !21, !23, !25, !27, !15, !29, !31}
!35 = distinct !{!35, !36, !37, !38}
!36 = !{!"llvm.loop.mustprogress"}
!37 = !{!"llvm.loop.isvectorized", i32 1}
!38 = !{!"llvm.loop.unroll.runtime.disable"}
!39 = !{!40}
!40 = distinct !{!40, !41}
!41 = distinct !{!41, !"LVerDomain"}
!42 = !{!43}
!43 = distinct !{!43, !41}
!44 = !{!45}
!45 = distinct !{!45, !41}
!46 = !{!47}
!47 = distinct !{!47, !41}
!48 = !{!49}
!49 = distinct !{!49, !41}
!50 = !{!51}
!51 = distinct !{!51, !41}
!52 = !{!53}
!53 = distinct !{!53, !41}
!54 = !{!55}
!55 = distinct !{!55, !41}
!56 = !{!57}
!57 = distinct !{!57, !41}
!58 = !{!59}
!59 = distinct !{!59, !41}
!60 = !{!61}
!61 = distinct !{!61, !41}
!62 = !{!40, !45, !47, !49, !51, !53, !55, !43, !57, !59}
!63 = distinct !{!63, !36, !37, !38}
!64 = distinct !{!64, !36, !37}
!65 = !{!66}
!66 = distinct !{!66, !67}
!67 = distinct !{!67, !"LVerDomain"}
!68 = !{!69}
!69 = distinct !{!69, !67}
!70 = !{!71}
!71 = distinct !{!71, !67}
!72 = !{!73}
!73 = distinct !{!73, !67}
!74 = !{!75}
!75 = distinct !{!75, !67}
!76 = !{!77}
!77 = distinct !{!77, !67}
!78 = !{!79}
!79 = distinct !{!79, !67}
!80 = !{!81}
!81 = distinct !{!81, !67}
!82 = !{!83}
!83 = distinct !{!83, !67}
!84 = !{!85}
!85 = distinct !{!85, !67}
!86 = !{!87}
!87 = distinct !{!87, !67}
!88 = !{!66, !71, !73, !75, !77, !79, !81, !69, !83, !85}
!89 = distinct !{!89, !36, !37, !38}
!90 = distinct !{!90, !36, !37}
!91 = distinct !{!91, !36, !37}


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