; LLVM IR from bondhugula/pluto :: test (doitgen)

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

@sum = external dso_local global [25 x [25 x [25 x double]]], align 16
@A = external dso_local global [25 x [25 x [25 x double]]], align 16
@C4 = external dso_local global [25 x [25 x double]], align 16

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

6:                                                ; preds = %107, %0
  %7 = load i32, ptr %4, align 4, !tbaa !5
  %8 = icmp slt i32 %7, 25
  br i1 %8, label %9, label %110

9:                                                ; preds = %6
  store i32 0, ptr %3, align 4, !tbaa !5
  br label %10

10:                                               ; preds = %103, %9
  %11 = load i32, ptr %3, align 4, !tbaa !5
  %12 = icmp slt i32 %11, 25
  br i1 %12, label %13, label %106

13:                                               ; preds = %10
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %14

14:                                               ; preds = %72, %13
  %15 = load i32, ptr %2, align 4, !tbaa !5
  %16 = icmp slt i32 %15, 25
  br i1 %16, label %17, label %75

17:                                               ; preds = %14
  %18 = load i32, ptr %4, align 4, !tbaa !5
  %19 = sext i32 %18 to i64
  %20 = getelementptr inbounds [25 x [25 x [25 x double]]], ptr @sum, i64 0, i64 %19
  %21 = load i32, ptr %3, align 4, !tbaa !5
  %22 = sext i32 %21 to i64
  %23 = getelementptr inbounds [25 x [25 x double]], ptr %20, i64 0, i64 %22
  %24 = load i32, ptr %2, align 4, !tbaa !5
  %25 = sext i32 %24 to i64
  %26 = getelementptr inbounds [25 x double], ptr %23, i64 0, i64 %25
  store double 0.000000e+00, ptr %26, align 8, !tbaa !9
  store i32 0, ptr %5, align 4, !tbaa !5
  br label %27

27:                                               ; preds = %68, %17
  %28 = load i32, ptr %5, align 4, !tbaa !5
  %29 = icmp slt i32 %28, 25
  br i1 %29, label %30, label %71

30:                                               ; preds = %27
  %31 = load i32, ptr %4, align 4, !tbaa !5
  %32 = sext i32 %31 to i64
  %33 = getelementptr inbounds [25 x [25 x [25 x double]]], ptr @sum, i64 0, i64 %32
  %34 = load i32, ptr %3, align 4, !tbaa !5
  %35 = sext i32 %34 to i64
  %36 = getelementptr inbounds [25 x [25 x double]], ptr %33, i64 0, i64 %35
  %37 = load i32, ptr %2, align 4, !tbaa !5
  %38 = sext i32 %37 to i64
  %39 = getelementptr inbounds [25 x double], ptr %36, i64 0, i64 %38
  %40 = load double, ptr %39, align 8, !tbaa !9
  %41 = load i32, ptr %4, align 4, !tbaa !5
  %42 = sext i32 %41 to i64
  %43 = getelementptr inbounds [25 x [25 x [25 x double]]], ptr @A, i64 0, i64 %42
  %44 = load i32, ptr %3, align 4, !tbaa !5
  %45 = sext i32 %44 to i64
  %46 = getelementptr inbounds [25 x [25 x double]], ptr %43, i64 0, i64 %45
  %47 = load i32, ptr %5, align 4, !tbaa !5
  %48 = sext i32 %47 to i64
  %49 = getelementptr inbounds [25 x double], ptr %46, i64 0, i64 %48
  %50 = load double, ptr %49, align 8, !tbaa !9
  %51 = load i32, ptr %5, align 4, !tbaa !5
  %52 = sext i32 %51 to i64
  %53 = getelementptr inbounds [25 x [25 x double]], ptr @C4, i64 0, i64 %52
  %54 = load i32, ptr %2, align 4, !tbaa !5
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds [25 x double], ptr %53, i64 0, i64 %55
  %57 = load double, ptr %56, align 8, !tbaa !9
  %58 = call double @llvm.fmuladd.f64(double %50, double %57, double %40)
  %59 = load i32, ptr %4, align 4, !tbaa !5
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds [25 x [25 x [25 x double]]], ptr @sum, i64 0, i64 %60
  %62 = load i32, ptr %3, align 4, !tbaa !5
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds [25 x [25 x double]], ptr %61, i64 0, i64 %63
  %65 = load i32, ptr %2, align 4, !tbaa !5
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds [25 x double], ptr %64, i64 0, i64 %66
  store double %58, ptr %67, align 8, !tbaa !9
  br label %68

68:                                               ; preds = %30
  %69 = load i32, ptr %5, align 4, !tbaa !5
  %70 = add nsw i32 %69, 1
  store i32 %70, ptr %5, align 4, !tbaa !5
  br label %27, !llvm.loop !11

71:                                               ; preds = %27
  br label %72

72:                                               ; preds = %71
  %73 = load i32, ptr %2, align 4, !tbaa !5
  %74 = add nsw i32 %73, 1
  store i32 %74, ptr %2, align 4, !tbaa !5
  br label %14, !llvm.loop !13

75:                                               ; preds = %14
  store i32 0, ptr %2, align 4, !tbaa !5
  br label %76

76:                                               ; preds = %99, %75
  %77 = load i32, ptr %2, align 4, !tbaa !5
  %78 = icmp slt i32 %77, 25
  br i1 %78, label %79, label %102

79:                                               ; preds = %76
  %80 = load i32, ptr %4, align 4, !tbaa !5
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds [25 x [25 x [25 x double]]], ptr @sum, i64 0, i64 %81
  %83 = load i32, ptr %3, align 4, !tbaa !5
  %84 = sext i32 %83 to i64
  %85 = getelementptr inbounds [25 x [25 x double]], ptr %82, i64 0, i64 %84
  %86 = load i32, ptr %2, align 4, !tbaa !5
  %87 = sext i32 %86 to i64
  %88 = getelementptr inbounds [25 x double], ptr %85, i64 0, i64 %87
  %89 = load double, ptr %88, align 8, !tbaa !9
  %90 = load i32, ptr %4, align 4, !tbaa !5
  %91 = sext i32 %90 to i64
  %92 = getelementptr inbounds [25 x [25 x [25 x double]]], ptr @A, i64 0, i64 %91
  %93 = load i32, ptr %3, align 4, !tbaa !5
  %94 = sext i32 %93 to i64
  %95 = getelementptr inbounds [25 x [25 x double]], ptr %92, i64 0, i64 %94
  %96 = load i32, ptr %2, align 4, !tbaa !5
  %97 = sext i32 %96 to i64
  %98 = getelementptr inbounds [25 x double], ptr %95, i64 0, i64 %97
  store double %89, ptr %98, align 8, !tbaa !9
  br label %99

99:                                               ; preds = %79
  %100 = load i32, ptr %2, align 4, !tbaa !5
  %101 = add nsw i32 %100, 1
  store i32 %101, ptr %2, align 4, !tbaa !5
  br label %76, !llvm.loop !14

102:                                              ; preds = %76
  br label %103

103:                                              ; preds = %102
  %104 = load i32, ptr %3, align 4, !tbaa !5
  %105 = add nsw i32 %104, 1
  store i32 %105, ptr %3, align 4, !tbaa !5
  br label %10, !llvm.loop !15

106:                                              ; preds = %10
  br label %107

107:                                              ; preds = %106
  %108 = load i32, ptr %4, align 4, !tbaa !5
  %109 = add nsw i32 %108, 1
  store i32 %109, ptr %4, align 4, !tbaa !5
  br label %6, !llvm.loop !16

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

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

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

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

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { 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}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@sum = external dso_local local_unnamed_addr global [25 x [25 x [25 x double]]], align 16
@A = external dso_local local_unnamed_addr global [25 x [25 x [25 x double]]], align 16
@C4 = external dso_local local_unnamed_addr global [25 x [25 x double]], align 16

; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, argmem: none, inaccessiblemem: none) uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = load double, ptr getelementptr inbounds (i8, ptr @C4, i64 192), align 16, !tbaa !5
  %2 = load double, ptr getelementptr inbounds (i8, ptr @C4, i64 392), align 8, !tbaa !5
  %3 = load double, ptr getelementptr inbounds (i8, ptr @C4, i64 592), align 16, !tbaa !5
  %4 = load double, ptr getelementptr inbounds (i8, ptr @C4, i64 792), align 8, !tbaa !5
  %5 = load double, ptr getelementptr inbounds (i8, ptr @C4, i64 992), align 16, !tbaa !5
  %6 = load double, ptr getelementptr inbounds (i8, ptr @C4, i64 1192), align 8, !tbaa !5
  %7 = load double, ptr getelementptr inbounds (i8, ptr @C4, i64 1392), align 16, !tbaa !5
  %8 = load double, ptr getelementptr inbounds (i8, ptr @C4, i64 1592), align 8, !tbaa !5
  %9 = load double, ptr getelementptr inbounds (i8, ptr @C4, i64 1792), align 16, !tbaa !5
  %10 = load double, ptr getelementptr inbounds (i8, ptr @C4, i64 1992), align 8, !tbaa !5
  %11 = load double, ptr getelementptr inbounds (i8, ptr @C4, i64 2192), align 16, !tbaa !5
  %12 = load double, ptr getelementptr inbounds (i8, ptr @C4, i64 2392), align 8, !tbaa !5
  %13 = load double, ptr getelementptr inbounds (i8, ptr @C4, i64 2592), align 16, !tbaa !5
  %14 = load double, ptr getelementptr inbounds (i8, ptr @C4, i64 2792), align 8, !tbaa !5
  %15 = load double, ptr getelementptr inbounds (i8, ptr @C4, i64 2992), align 16, !tbaa !5
  %16 = load double, ptr getelementptr inbounds (i8, ptr @C4, i64 3192), align 8, !tbaa !5
  %17 = load double, ptr getelementptr inbounds (i8, ptr @C4, i64 3392), align 16, !tbaa !5
  %18 = load double, ptr getelementptr inbounds (i8, ptr @C4, i64 3592), align 8, !tbaa !5
  %19 = load double, ptr getelementptr inbounds (i8, ptr @C4, i64 3792), align 16, !tbaa !5
  %20 = load double, ptr getelementptr inbounds (i8, ptr @C4, i64 3992), align 8, !tbaa !5
  %21 = load double, ptr getelementptr inbounds (i8, ptr @C4, i64 4192), align 16, !tbaa !5
  %22 = load double, ptr getelementptr inbounds (i8, ptr @C4, i64 4392), align 8, !tbaa !5
  %23 = load double, ptr getelementptr inbounds (i8, ptr @C4, i64 4592), align 16, !tbaa !5
  %24 = load double, ptr getelementptr inbounds (i8, ptr @C4, i64 4792), align 8, !tbaa !5
  %25 = load double, ptr getelementptr inbounds (i8, ptr @C4, i64 4992), align 16, !tbaa !5
  br label %.preheader34

.preheader34:                                     ; preds = %0, %123
  %indvar = phi i64 [ 0, %0 ], [ %indvar.next, %123 ]
  %26 = mul nuw nsw i64 %indvar, 5000
  br label %.preheader33

.preheader33:                                     ; preds = %.preheader34, %scalar.ph
  %indvar44 = phi i64 [ 0, %.preheader34 ], [ %indvar.next45, %scalar.ph ]
  %27 = mul nuw nsw i64 %indvar44, 200
  %28 = add nuw nsw i64 %26, %27
  %scevgep = getelementptr i8, ptr @A, i64 %28
  %scevgep46 = getelementptr i8, ptr @sum, i64 %28
  %29 = getelementptr inbounds [25 x [25 x [25 x double]]], ptr @A, i64 0, i64 %indvar, i64 %indvar44, i64 0
  %.phi.trans.insert = getelementptr inbounds [25 x [25 x [25 x double]]], ptr @A, i64 0, i64 %indvar, i64 %indvar44, i64 6
  %.pre = load double, ptr %.phi.trans.insert, align 8, !tbaa !5
  %.phi.trans.insert55 = getelementptr inbounds [25 x [25 x [25 x double]]], ptr @A, i64 0, i64 %indvar, i64 %indvar44, i64 7
  %.pre56 = load double, ptr %.phi.trans.insert55, align 8, !tbaa !5
  %.phi.trans.insert57 = getelementptr inbounds [25 x [25 x [25 x double]]], ptr @A, i64 0, i64 %indvar, i64 %indvar44, i64 8
  %.pre58 = load double, ptr %.phi.trans.insert57, align 8, !tbaa !5
  %.phi.trans.insert59 = getelementptr inbounds [25 x [25 x [25 x double]]], ptr @A, i64 0, i64 %indvar, i64 %indvar44, i64 9
  %.pre60 = load double, ptr %.phi.trans.insert59, align 8, !tbaa !5
  %.phi.trans.insert61 = getelementptr inbounds [25 x [25 x [25 x double]]], ptr @A, i64 0, i64 %indvar, i64 %indvar44, i64 10
  %.pre62 = load double, ptr %.phi.trans.insert61, align 8, !tbaa !5
  %.phi.trans.insert63 = getelementptr inbounds [25 x [25 x [25 x double]]], ptr @A, i64 0, i64 %indvar, i64 %indvar44, i64 11
  %.pre64 = load double, ptr %.phi.trans.insert63, align 8, !tbaa !5
  %.phi.trans.insert65 = getelementptr inbounds [25 x [25 x [25 x double]]], ptr @A, i64 0, i64 %indvar, i64 %indvar44, i64 12
  %.pre66 = load double, ptr %.phi.trans.insert65, align 8, !tbaa !5
  %.phi.trans.insert67 = getelementptr inbounds [25 x [25 x [25 x double]]], ptr @A, i64 0, i64 %indvar, i64 %indvar44, i64 13
  %.pre68 = load double, ptr %.phi.trans.insert67, align 8, !tbaa !5
  %.phi.trans.insert69 = getelementptr inbounds [25 x [25 x [25 x double]]], ptr @A, i64 0, i64 %indvar, i64 %indvar44, i64 14
  %.pre70 = load double, ptr %.phi.trans.insert69, align 8, !tbaa !5
  %.phi.trans.insert71 = getelementptr inbounds [25 x [25 x [25 x double]]], ptr @A, i64 0, i64 %indvar, i64 %indvar44, i64 15
  %.pre72 = load double, ptr %.phi.trans.insert71, align 8, !tbaa !5
  %.phi.trans.insert73 = getelementptr inbounds [25 x [25 x [25 x double]]], ptr @A, i64 0, i64 %indvar, i64 %indvar44, i64 16
  %.pre74 = load double, ptr %.phi.trans.insert73, align 8, !tbaa !5
  %.phi.trans.insert75 = getelementptr inbounds [25 x [25 x [25 x double]]], ptr @A, i64 0, i64 %indvar, i64 %indvar44, i64 17
  %.pre76 = load double, ptr %.phi.trans.insert75, align 8, !tbaa !5
  %.phi.trans.insert77 = getelementptr inbounds [25 x [25 x [25 x double]]], ptr @A, i64 0, i64 %indvar, i64 %indvar44, i64 18
  %.pre78 = load double, ptr %.phi.trans.insert77, align 8, !tbaa !5
  %.phi.trans.insert79 = getelementptr inbounds [25 x [25 x [25 x double]]], ptr @A, i64 0, i64 %indvar, i64 %indvar44, i64 19
  %.pre80 = load double, ptr %.phi.trans.insert79, align 8, !tbaa !5
  %.phi.trans.insert81 = getelementptr inbounds [25 x [25 x [25 x double]]], ptr @A, i64 0, i64 %indvar, i64 %indvar44, i64 20
  %.pre82 = load double, ptr %.phi.trans.insert81, align 8, !tbaa !5
  %.phi.trans.insert83 = getelementptr inbounds [25 x [25 x [25 x double]]], ptr @A, i64 0, i64 %indvar, i64 %indvar44, i64 21
  %.pre84 = load double, ptr %.phi.trans.insert83, align 8, !tbaa !5
  %.phi.trans.insert85 = getelementptr inbounds [25 x [25 x [25 x double]]], ptr @A, i64 0, i64 %indvar, i64 %indvar44, i64 22
  %.pre86 = load double, ptr %.phi.trans.insert85, align 8, !tbaa !5
  %30 = load double, ptr %29, align 8, !tbaa !5
  %31 = getelementptr inbounds [25 x [25 x [25 x double]]], ptr @A, i64 0, i64 %indvar, i64 %indvar44, i64 1
  %32 = load double, ptr %31, align 8, !tbaa !5
  %33 = getelementptr inbounds [25 x [25 x [25 x double]]], ptr @A, i64 0, i64 %indvar, i64 %indvar44, i64 2
  %34 = load double, ptr %33, align 8, !tbaa !5
  %35 = getelementptr inbounds [25 x [25 x [25 x double]]], ptr @A, i64 0, i64 %indvar, i64 %indvar44, i64 3
  %36 = load double, ptr %35, align 8, !tbaa !5
  %37 = getelementptr inbounds [25 x [25 x [25 x double]]], ptr @A, i64 0, i64 %indvar, i64 %indvar44, i64 4
  %38 = load double, ptr %37, align 8, !tbaa !5
  %39 = getelementptr inbounds [25 x [25 x [25 x double]]], ptr @A, i64 0, i64 %indvar, i64 %indvar44, i64 5
  %40 = load double, ptr %39, align 8, !tbaa !5
  %41 = getelementptr inbounds [25 x [25 x [25 x double]]], ptr @A, i64 0, i64 %indvar, i64 %indvar44, i64 23
  %42 = load double, ptr %41, align 8, !tbaa !5
  %43 = getelementptr inbounds [25 x [25 x [25 x double]]], ptr @A, i64 0, i64 %indvar, i64 %indvar44, i64 24
  %44 = load double, ptr %43, align 8, !tbaa !5
  %broadcast.splatinsert = insertelement <2 x double> poison, double %30, i64 0
  %broadcast.splat = shufflevector <2 x double> %broadcast.splatinsert, <2 x double> poison, <2 x i32> zeroinitializer
  %broadcast.splatinsert88 = insertelement <2 x double> poison, double %32, i64 0
  %broadcast.splat89 = shufflevector <2 x double> %broadcast.splatinsert88, <2 x double> poison, <2 x i32> zeroinitializer
  %broadcast.splatinsert91 = insertelement <2 x double> poison, double %34, i64 0
  %broadcast.splat92 = shufflevector <2 x double> %broadcast.splatinsert91, <2 x double> poison, <2 x i32> zeroinitializer
  %broadcast.splatinsert94 = insertelement <2 x double> poison, double %36, i64 0
  %broadcast.splat95 = shufflevector <2 x double> %broadcast.splatinsert94, <2 x double> poison, <2 x i32> zeroinitializer
  %broadcast.splatinsert97 = insertelement <2 x double> poison, double %38, i64 0
  %broadcast.splat98 = shufflevector <2 x double> %broadcast.splatinsert97, <2 x double> poison, <2 x i32> zeroinitializer
  %broadcast.splatinsert100 = insertelement <2 x double> poison, double %40, i64 0
  %broadcast.splat101 = shufflevector <2 x double> %broadcast.splatinsert100, <2 x double> poison, <2 x i32> zeroinitializer
  %broadcast.splatinsert103 = insertelement <2 x double> poison, double %.pre, i64 0
  %broadcast.splat104 = shufflevector <2 x double> %broadcast.splatinsert103, <2 x double> poison, <2 x i32> zeroinitializer
  %broadcast.splatinsert106 = insertelement <2 x double> poison, double %.pre56, i64 0
  %broadcast.splat107 = shufflevector <2 x double> %broadcast.splatinsert106, <2 x double> poison, <2 x i32> zeroinitializer
  %broadcast.splatinsert109 = insertelement <2 x double> poison, double %.pre58, i64 0
  %broadcast.splat110 = shufflevector <2 x double> %broadcast.splatinsert109, <2 x double> poison, <2 x i32> zeroinitializer
  %broadcast.splatinsert112 = insertelement <2 x double> poison, double %.pre60, i64 0
  %broadcast.splat113 = shufflevector <2 x double> %broadcast.splatinsert112, <2 x double> poison, <2 x i32> zeroinitializer
  %broadcast.splatinsert115 = insertelement <2 x double> poison, double %.pre62, i64 0
  %broadcast.splat116 = shufflevector <2 x double> %broadcast.splatinsert115, <2 x double> poison, <2 x i32> zeroinitializer
  %broadcast.splatinsert118 = insertelement <2 x double> poison, double %.pre64, i64 0
  %broadcast.splat119 = shufflevector <2 x double> %broadcast.splatinsert118, <2 x double> poison, <2 x i32> zeroinitializer
  %broadcast.splatinsert121 = insertelement <2 x double> poison, double %.pre66, i64 0
  %broadcast.splat122 = shufflevector <2 x double> %broadcast.splatinsert121, <2 x double> poison, <2 x i32> zeroinitializer
  %broadcast.splatinsert124 = insertelement <2 x double> poison, double %.pre68, i64 0
  %broadcast.splat125 = shufflevector <2 x double> %broadcast.splatinsert124, <2 x double> poison, <2 x i32> zeroinitializer
  %broadcast.splatinsert127 = insertelement <2 x double> poison, double %.pre70, i64 0
  %broadcast.splat128 = shufflevector <2 x double> %broadcast.splatinsert127, <2 x double> poison, <2 x i32> zeroinitializer
  %broadcast.splatinsert130 = insertelement <2 x double> poison, double %.pre72, i64 0
  %broadcast.splat131 = shufflevector <2 x double> %broadcast.splatinsert130, <2 x double> poison, <2 x i32> zeroinitializer
  %broadcast.splatinsert133 = insertelement <2 x double> poison, double %.pre74, i64 0
  %broadcast.splat134 = shufflevector <2 x double> %broadcast.splatinsert133, <2 x double> poison, <2 x i32> zeroinitializer
  %broadcast.splatinsert136 = insertelement <2 x double> poison, double %.pre76, i64 0
  %broadcast.splat137 = shufflevector <2 x double> %broadcast.splatinsert136, <2 x double> poison, <2 x i32> zeroinitializer
  %broadcast.splatinsert139 = insertelement <2 x double> poison, double %.pre78, i64 0
  %broadcast.splat140 = shufflevector <2 x double> %broadcast.splatinsert139, <2 x double> poison, <2 x i32> zeroinitializer
  %broadcast.splatinsert142 = insertelement <2 x double> poison, double %.pre80, i64 0
  %broadcast.splat143 = shufflevector <2 x double> %broadcast.splatinsert142, <2 x double> poison, <2 x i32> zeroinitializer
  %broadcast.splatinsert145 = insertelement <2 x double> poison, double %.pre82, i64 0
  %broadcast.splat146 = shufflevector <2 x double> %broadcast.splatinsert145, <2 x double> poison, <2 x i32> zeroinitializer
  %broadcast.splatinsert148 = insertelement <2 x double> poison, double %.pre84, i64 0
  %broadcast.splat149 = shufflevector <2 x double> %broadcast.splatinsert148, <2 x double> poison, <2 x i32> zeroinitializer
  %broadcast.splatinsert151 = insertelement <2 x double> poison, double %.pre86, i64 0
  %broadcast.splat152 = shufflevector <2 x double> %broadcast.splatinsert151, <2 x double> poison, <2 x i32> zeroinitializer
  %broadcast.splatinsert154 = insertelement <2 x double> poison, double %42, i64 0
  %broadcast.splat155 = shufflevector <2 x double> %broadcast.splatinsert154, <2 x double> poison, <2 x i32> zeroinitializer
  %broadcast.splatinsert157 = insertelement <2 x double> poison, double %44, i64 0
  %broadcast.splat158 = shufflevector <2 x double> %broadcast.splatinsert157, <2 x double> poison, <2 x i32> zeroinitializer
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %.preheader33
  %index = phi i64 [ 0, %.preheader33 ], [ %index.next, %vector.body ]
  %45 = getelementptr inbounds [25 x [25 x [25 x double]]], ptr @sum, i64 0, i64 %indvar, i64 %indvar44, i64 %index
  %46 = getelementptr inbounds [25 x [25 x double]], ptr @C4, i64 0, i64 0, i64 %index
  %wide.load = load <2 x double>, ptr %46, align 16, !tbaa !5
  %47 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat, <2 x double> %wide.load, <2 x double> zeroinitializer)
  %48 = getelementptr inbounds [25 x [25 x double]], ptr @C4, i64 0, i64 1, i64 %index
  %wide.load87 = load <2 x double>, ptr %48, align 8, !tbaa !5
  %49 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat89, <2 x double> %wide.load87, <2 x double> %47)
  %50 = getelementptr inbounds [25 x [25 x double]], ptr @C4, i64 0, i64 2, i64 %index
  %wide.load90 = load <2 x double>, ptr %50, align 16, !tbaa !5
  %51 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat92, <2 x double> %wide.load90, <2 x double> %49)
  %52 = getelementptr inbounds [25 x [25 x double]], ptr @C4, i64 0, i64 3, i64 %index
  %wide.load93 = load <2 x double>, ptr %52, align 8, !tbaa !5
  %53 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat95, <2 x double> %wide.load93, <2 x double> %51)
  %54 = getelementptr inbounds [25 x [25 x double]], ptr @C4, i64 0, i64 4, i64 %index
  %wide.load96 = load <2 x double>, ptr %54, align 16, !tbaa !5
  %55 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat98, <2 x double> %wide.load96, <2 x double> %53)
  %56 = getelementptr inbounds [25 x [25 x double]], ptr @C4, i64 0, i64 5, i64 %index
  %wide.load99 = load <2 x double>, ptr %56, align 8, !tbaa !5
  %57 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat101, <2 x double> %wide.load99, <2 x double> %55)
  %58 = getelementptr inbounds [25 x [25 x double]], ptr @C4, i64 0, i64 6, i64 %index
  %wide.load102 = load <2 x double>, ptr %58, align 16, !tbaa !5
  %59 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat104, <2 x double> %wide.load102, <2 x double> %57)
  %60 = getelementptr inbounds [25 x [25 x double]], ptr @C4, i64 0, i64 7, i64 %index
  %wide.load105 = load <2 x double>, ptr %60, align 8, !tbaa !5
  %61 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat107, <2 x double> %wide.load105, <2 x double> %59)
  %62 = getelementptr inbounds [25 x [25 x double]], ptr @C4, i64 0, i64 8, i64 %index
  %wide.load108 = load <2 x double>, ptr %62, align 16, !tbaa !5
  %63 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat110, <2 x double> %wide.load108, <2 x double> %61)
  %64 = getelementptr inbounds [25 x [25 x double]], ptr @C4, i64 0, i64 9, i64 %index
  %wide.load111 = load <2 x double>, ptr %64, align 8, !tbaa !5
  %65 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat113, <2 x double> %wide.load111, <2 x double> %63)
  %66 = getelementptr inbounds [25 x [25 x double]], ptr @C4, i64 0, i64 10, i64 %index
  %wide.load114 = load <2 x double>, ptr %66, align 16, !tbaa !5
  %67 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat116, <2 x double> %wide.load114, <2 x double> %65)
  %68 = getelementptr inbounds [25 x [25 x double]], ptr @C4, i64 0, i64 11, i64 %index
  %wide.load117 = load <2 x double>, ptr %68, align 8, !tbaa !5
  %69 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat119, <2 x double> %wide.load117, <2 x double> %67)
  %70 = getelementptr inbounds [25 x [25 x double]], ptr @C4, i64 0, i64 12, i64 %index
  %wide.load120 = load <2 x double>, ptr %70, align 16, !tbaa !5
  %71 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat122, <2 x double> %wide.load120, <2 x double> %69)
  %72 = getelementptr inbounds [25 x [25 x double]], ptr @C4, i64 0, i64 13, i64 %index
  %wide.load123 = load <2 x double>, ptr %72, align 8, !tbaa !5
  %73 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat125, <2 x double> %wide.load123, <2 x double> %71)
  %74 = getelementptr inbounds [25 x [25 x double]], ptr @C4, i64 0, i64 14, i64 %index
  %wide.load126 = load <2 x double>, ptr %74, align 16, !tbaa !5
  %75 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat128, <2 x double> %wide.load126, <2 x double> %73)
  %76 = getelementptr inbounds [25 x [25 x double]], ptr @C4, i64 0, i64 15, i64 %index
  %wide.load129 = load <2 x double>, ptr %76, align 8, !tbaa !5
  %77 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat131, <2 x double> %wide.load129, <2 x double> %75)
  %78 = getelementptr inbounds [25 x [25 x double]], ptr @C4, i64 0, i64 16, i64 %index
  %wide.load132 = load <2 x double>, ptr %78, align 16, !tbaa !5
  %79 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat134, <2 x double> %wide.load132, <2 x double> %77)
  %80 = getelementptr inbounds [25 x [25 x double]], ptr @C4, i64 0, i64 17, i64 %index
  %wide.load135 = load <2 x double>, ptr %80, align 8, !tbaa !5
  %81 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat137, <2 x double> %wide.load135, <2 x double> %79)
  %82 = getelementptr inbounds [25 x [25 x double]], ptr @C4, i64 0, i64 18, i64 %index
  %wide.load138 = load <2 x double>, ptr %82, align 16, !tbaa !5
  %83 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat140, <2 x double> %wide.load138, <2 x double> %81)
  %84 = getelementptr inbounds [25 x [25 x double]], ptr @C4, i64 0, i64 19, i64 %index
  %wide.load141 = load <2 x double>, ptr %84, align 8, !tbaa !5
  %85 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat143, <2 x double> %wide.load141, <2 x double> %83)
  %86 = getelementptr inbounds [25 x [25 x double]], ptr @C4, i64 0, i64 20, i64 %index
  %wide.load144 = load <2 x double>, ptr %86, align 16, !tbaa !5
  %87 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat146, <2 x double> %wide.load144, <2 x double> %85)
  %88 = getelementptr inbounds [25 x [25 x double]], ptr @C4, i64 0, i64 21, i64 %index
  %wide.load147 = load <2 x double>, ptr %88, align 8, !tbaa !5
  %89 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat149, <2 x double> %wide.load147, <2 x double> %87)
  %90 = getelementptr inbounds [25 x [25 x double]], ptr @C4, i64 0, i64 22, i64 %index
  %wide.load150 = load <2 x double>, ptr %90, align 16, !tbaa !5
  %91 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat152, <2 x double> %wide.load150, <2 x double> %89)
  %92 = getelementptr inbounds [25 x [25 x double]], ptr @C4, i64 0, i64 23, i64 %index
  %wide.load153 = load <2 x double>, ptr %92, align 8, !tbaa !5
  %93 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat155, <2 x double> %wide.load153, <2 x double> %91)
  %94 = getelementptr inbounds [25 x [25 x double]], ptr @C4, i64 0, i64 24, i64 %index
  %wide.load156 = load <2 x double>, ptr %94, align 16, !tbaa !5
  %95 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat158, <2 x double> %wide.load156, <2 x double> %93)
  store <2 x double> %95, ptr %45, align 8, !tbaa !5
  %index.next = add nuw i64 %index, 2
  %96 = icmp eq i64 %index.next, 24
  br i1 %96, label %scalar.ph, label %vector.body, !llvm.loop !9

scalar.ph:                                        ; preds = %vector.body
  %97 = getelementptr inbounds [25 x [25 x [25 x double]]], ptr @sum, i64 0, i64 %indvar, i64 %indvar44, i64 24
  %98 = tail call double @llvm.fmuladd.f64(double %30, double %1, double 0.000000e+00)
  %99 = tail call double @llvm.fmuladd.f64(double %32, double %2, double %98)
  %100 = tail call double @llvm.fmuladd.f64(double %34, double %3, double %99)
  %101 = tail call double @llvm.fmuladd.f64(double %36, double %4, double %100)
  %102 = tail call double @llvm.fmuladd.f64(double %38, double %5, double %101)
  %103 = tail call double @llvm.fmuladd.f64(double %40, double %6, double %102)
  %104 = tail call double @llvm.fmuladd.f64(double %.pre, double %7, double %103)
  %105 = tail call double @llvm.fmuladd.f64(double %.pre56, double %8, double %104)
  %106 = tail call double @llvm.fmuladd.f64(double %.pre58, double %9, double %105)
  %107 = tail call double @llvm.fmuladd.f64(double %.pre60, double %10, double %106)
  %108 = tail call double @llvm.fmuladd.f64(double %.pre62, double %11, double %107)
  %109 = tail call double @llvm.fmuladd.f64(double %.pre64, double %12, double %108)
  %110 = tail call double @llvm.fmuladd.f64(double %.pre66, double %13, double %109)
  %111 = tail call double @llvm.fmuladd.f64(double %.pre68, double %14, double %110)
  %112 = tail call double @llvm.fmuladd.f64(double %.pre70, double %15, double %111)
  %113 = tail call double @llvm.fmuladd.f64(double %.pre72, double %16, double %112)
  %114 = tail call double @llvm.fmuladd.f64(double %.pre74, double %17, double %113)
  %115 = tail call double @llvm.fmuladd.f64(double %.pre76, double %18, double %114)
  %116 = tail call double @llvm.fmuladd.f64(double %.pre78, double %19, double %115)
  %117 = tail call double @llvm.fmuladd.f64(double %.pre80, double %20, double %116)
  %118 = tail call double @llvm.fmuladd.f64(double %.pre82, double %21, double %117)
  %119 = tail call double @llvm.fmuladd.f64(double %.pre84, double %22, double %118)
  %120 = tail call double @llvm.fmuladd.f64(double %.pre86, double %23, double %119)
  %121 = tail call double @llvm.fmuladd.f64(double %42, double %24, double %120)
  %122 = tail call double @llvm.fmuladd.f64(double %44, double %25, double %121)
  store double %122, ptr %97, align 8, !tbaa !5
  tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(200) %scevgep, ptr noundef nonnull align 8 dereferenceable(200) %scevgep46, i64 200, i1 false), !tbaa !5
  %indvar.next45 = add nuw nsw i64 %indvar44, 1
  %exitcond52.not = icmp eq i64 %indvar.next45, 25
  br i1 %exitcond52.not, label %123, label %.preheader33, !llvm.loop !13

123:                                              ; preds = %scalar.ph
  %indvar.next = add nuw nsw i64 %indvar, 1
  %exitcond54.not = icmp eq i64 %indvar.next, 25
  br i1 %exitcond54.not, label %124, label %.preheader34, !llvm.loop !14

124:                                              ; preds = %123
  ret i32 0
}

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #2

; 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>) #3

attributes #0 = { nofree norecurse nosync nounwind memory(readwrite, argmem: none, inaccessiblemem: none) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10, !11, !12}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!"llvm.loop.isvectorized", i32 1}
!12 = !{!"llvm.loop.unroll.runtime.disable"}
!13 = distinct !{!13, !10}
!14 = distinct !{!14, !10}


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