; LLVM IR from bondhugula/pluto :: test (heat-3d-imperfect)

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

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

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

; 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 @kernel(ptr noundef %0, ptr noundef %1) #2 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca i64, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  store i64 0, ptr %5, align 8, !tbaa !9
  br label %9

9:                                                ; preds = %179, %2
  %10 = load i64, ptr %5, align 8, !tbaa !9
  %11 = icmp slt i64 %10, 100
  br i1 %11, label %12, label %182

12:                                               ; preds = %9
  store i64 1, ptr %6, align 8, !tbaa !9
  br label %13

13:                                               ; preds = %136, %12
  %14 = load i64, ptr %6, align 8, !tbaa !9
  %15 = icmp slt i64 %14, 151
  br i1 %15, label %16, label %139

16:                                               ; preds = %13
  store i64 1, ptr %7, align 8, !tbaa !9
  br label %17

17:                                               ; preds = %132, %16
  %18 = load i64, ptr %7, align 8, !tbaa !9
  %19 = icmp slt i64 %18, 151
  br i1 %19, label %20, label %135

20:                                               ; preds = %17
  store i64 1, ptr %8, align 8, !tbaa !9
  br label %21

21:                                               ; preds = %128, %20
  %22 = load i64, ptr %8, align 8, !tbaa !9
  %23 = icmp slt i64 %22, 151
  br i1 %23, label %24, label %131

24:                                               ; preds = %21
  %25 = load ptr, ptr %3, align 8, !tbaa !5
  %26 = load i64, ptr %6, align 8, !tbaa !9
  %27 = add nsw i64 %26, 1
  %28 = getelementptr inbounds [152 x [152 x double]], ptr %25, i64 %27
  %29 = load i64, ptr %7, align 8, !tbaa !9
  %30 = getelementptr inbounds [152 x [152 x double]], ptr %28, i64 0, i64 %29
  %31 = load i64, ptr %8, align 8, !tbaa !9
  %32 = getelementptr inbounds [152 x double], ptr %30, i64 0, i64 %31
  %33 = load double, ptr %32, align 8, !tbaa !11
  %34 = load ptr, ptr %3, align 8, !tbaa !5
  %35 = load i64, ptr %6, align 8, !tbaa !9
  %36 = getelementptr inbounds [152 x [152 x double]], ptr %34, i64 %35
  %37 = load i64, ptr %7, align 8, !tbaa !9
  %38 = getelementptr inbounds [152 x [152 x double]], ptr %36, i64 0, i64 %37
  %39 = load i64, ptr %8, align 8, !tbaa !9
  %40 = getelementptr inbounds [152 x double], ptr %38, i64 0, i64 %39
  %41 = load double, ptr %40, align 8, !tbaa !11
  %42 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %41, double %33)
  %43 = load ptr, ptr %3, align 8, !tbaa !5
  %44 = load i64, ptr %6, align 8, !tbaa !9
  %45 = sub nsw i64 %44, 1
  %46 = getelementptr inbounds [152 x [152 x double]], ptr %43, i64 %45
  %47 = load i64, ptr %7, align 8, !tbaa !9
  %48 = getelementptr inbounds [152 x [152 x double]], ptr %46, i64 0, i64 %47
  %49 = load i64, ptr %8, align 8, !tbaa !9
  %50 = getelementptr inbounds [152 x double], ptr %48, i64 0, i64 %49
  %51 = load double, ptr %50, align 8, !tbaa !11
  %52 = fadd double %42, %51
  %53 = load ptr, ptr %3, align 8, !tbaa !5
  %54 = load i64, ptr %6, align 8, !tbaa !9
  %55 = getelementptr inbounds [152 x [152 x double]], ptr %53, i64 %54
  %56 = load i64, ptr %7, align 8, !tbaa !9
  %57 = add nsw i64 %56, 1
  %58 = getelementptr inbounds [152 x [152 x double]], ptr %55, i64 0, i64 %57
  %59 = load i64, ptr %8, align 8, !tbaa !9
  %60 = getelementptr inbounds [152 x double], ptr %58, i64 0, i64 %59
  %61 = load double, ptr %60, align 8, !tbaa !11
  %62 = load ptr, ptr %3, align 8, !tbaa !5
  %63 = load i64, ptr %6, align 8, !tbaa !9
  %64 = getelementptr inbounds [152 x [152 x double]], ptr %62, i64 %63
  %65 = load i64, ptr %7, align 8, !tbaa !9
  %66 = getelementptr inbounds [152 x [152 x double]], ptr %64, i64 0, i64 %65
  %67 = load i64, ptr %8, align 8, !tbaa !9
  %68 = getelementptr inbounds [152 x double], ptr %66, i64 0, i64 %67
  %69 = load double, ptr %68, align 8, !tbaa !11
  %70 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %69, double %61)
  %71 = load ptr, ptr %3, align 8, !tbaa !5
  %72 = load i64, ptr %6, align 8, !tbaa !9
  %73 = getelementptr inbounds [152 x [152 x double]], ptr %71, i64 %72
  %74 = load i64, ptr %7, align 8, !tbaa !9
  %75 = sub nsw i64 %74, 1
  %76 = getelementptr inbounds [152 x [152 x double]], ptr %73, i64 0, i64 %75
  %77 = load i64, ptr %8, align 8, !tbaa !9
  %78 = getelementptr inbounds [152 x double], ptr %76, i64 0, i64 %77
  %79 = load double, ptr %78, align 8, !tbaa !11
  %80 = fadd double %70, %79
  %81 = fmul double 1.250000e-01, %80
  %82 = call double @llvm.fmuladd.f64(double 1.250000e-01, double %52, double %81)
  %83 = load ptr, ptr %3, align 8, !tbaa !5
  %84 = load i64, ptr %6, align 8, !tbaa !9
  %85 = getelementptr inbounds [152 x [152 x double]], ptr %83, i64 %84
  %86 = load i64, ptr %7, align 8, !tbaa !9
  %87 = getelementptr inbounds [152 x [152 x double]], ptr %85, i64 0, i64 %86
  %88 = load i64, ptr %8, align 8, !tbaa !9
  %89 = sub nsw i64 %88, 1
  %90 = getelementptr inbounds [152 x double], ptr %87, i64 0, i64 %89
  %91 = load double, ptr %90, align 8, !tbaa !11
  %92 = load ptr, ptr %3, align 8, !tbaa !5
  %93 = load i64, ptr %6, align 8, !tbaa !9
  %94 = getelementptr inbounds [152 x [152 x double]], ptr %92, i64 %93
  %95 = load i64, ptr %7, align 8, !tbaa !9
  %96 = getelementptr inbounds [152 x [152 x double]], ptr %94, i64 0, i64 %95
  %97 = load i64, ptr %8, align 8, !tbaa !9
  %98 = getelementptr inbounds [152 x double], ptr %96, i64 0, i64 %97
  %99 = load double, ptr %98, align 8, !tbaa !11
  %100 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %99, double %91)
  %101 = load ptr, ptr %3, align 8, !tbaa !5
  %102 = load i64, ptr %6, align 8, !tbaa !9
  %103 = getelementptr inbounds [152 x [152 x double]], ptr %101, i64 %102
  %104 = load i64, ptr %7, align 8, !tbaa !9
  %105 = getelementptr inbounds [152 x [152 x double]], ptr %103, i64 0, i64 %104
  %106 = load i64, ptr %8, align 8, !tbaa !9
  %107 = add nsw i64 %106, 1
  %108 = getelementptr inbounds [152 x double], ptr %105, i64 0, i64 %107
  %109 = load double, ptr %108, align 8, !tbaa !11
  %110 = fadd double %100, %109
  %111 = call double @llvm.fmuladd.f64(double 1.250000e-01, double %110, double %82)
  %112 = load ptr, ptr %3, align 8, !tbaa !5
  %113 = load i64, ptr %6, align 8, !tbaa !9
  %114 = getelementptr inbounds [152 x [152 x double]], ptr %112, i64 %113
  %115 = load i64, ptr %7, align 8, !tbaa !9
  %116 = getelementptr inbounds [152 x [152 x double]], ptr %114, i64 0, i64 %115
  %117 = load i64, ptr %8, align 8, !tbaa !9
  %118 = getelementptr inbounds [152 x double], ptr %116, i64 0, i64 %117
  %119 = load double, ptr %118, align 8, !tbaa !11
  %120 = fadd double %111, %119
  %121 = load ptr, ptr %4, align 8, !tbaa !5
  %122 = load i64, ptr %6, align 8, !tbaa !9
  %123 = getelementptr inbounds [152 x [152 x double]], ptr %121, i64 %122
  %124 = load i64, ptr %7, align 8, !tbaa !9
  %125 = getelementptr inbounds [152 x [152 x double]], ptr %123, i64 0, i64 %124
  %126 = load i64, ptr %8, align 8, !tbaa !9
  %127 = getelementptr inbounds [152 x double], ptr %125, i64 0, i64 %126
  store double %120, ptr %127, align 8, !tbaa !11
  br label %128

128:                                              ; preds = %24
  %129 = load i64, ptr %8, align 8, !tbaa !9
  %130 = add nsw i64 %129, 1
  store i64 %130, ptr %8, align 8, !tbaa !9
  br label %21, !llvm.loop !13

131:                                              ; preds = %21
  br label %132

132:                                              ; preds = %131
  %133 = load i64, ptr %7, align 8, !tbaa !9
  %134 = add nsw i64 %133, 1
  store i64 %134, ptr %7, align 8, !tbaa !9
  br label %17, !llvm.loop !15

135:                                              ; preds = %17
  br label %136

136:                                              ; preds = %135
  %137 = load i64, ptr %6, align 8, !tbaa !9
  %138 = add nsw i64 %137, 1
  store i64 %138, ptr %6, align 8, !tbaa !9
  br label %13, !llvm.loop !16

139:                                              ; preds = %13
  store i64 1, ptr %6, align 8, !tbaa !9
  br label %140

140:                                              ; preds = %175, %139
  %141 = load i64, ptr %6, align 8, !tbaa !9
  %142 = icmp slt i64 %141, 151
  br i1 %142, label %143, label %178

143:                                              ; preds = %140
  store i64 1, ptr %7, align 8, !tbaa !9
  br label %144

144:                                              ; preds = %171, %143
  %145 = load i64, ptr %7, align 8, !tbaa !9
  %146 = icmp slt i64 %145, 151
  br i1 %146, label %147, label %174

147:                                              ; preds = %144
  store i64 1, ptr %8, align 8, !tbaa !9
  br label %148

148:                                              ; preds = %167, %147
  %149 = load i64, ptr %8, align 8, !tbaa !9
  %150 = icmp slt i64 %149, 151
  br i1 %150, label %151, label %170

151:                                              ; preds = %148
  %152 = load ptr, ptr %4, align 8, !tbaa !5
  %153 = load i64, ptr %6, align 8, !tbaa !9
  %154 = getelementptr inbounds [152 x [152 x double]], ptr %152, i64 %153
  %155 = load i64, ptr %7, align 8, !tbaa !9
  %156 = getelementptr inbounds [152 x [152 x double]], ptr %154, i64 0, i64 %155
  %157 = load i64, ptr %8, align 8, !tbaa !9
  %158 = getelementptr inbounds [152 x double], ptr %156, i64 0, i64 %157
  %159 = load double, ptr %158, align 8, !tbaa !11
  %160 = load ptr, ptr %3, align 8, !tbaa !5
  %161 = load i64, ptr %6, align 8, !tbaa !9
  %162 = getelementptr inbounds [152 x [152 x double]], ptr %160, i64 %161
  %163 = load i64, ptr %7, align 8, !tbaa !9
  %164 = getelementptr inbounds [152 x [152 x double]], ptr %162, i64 0, i64 %163
  %165 = load i64, ptr %8, align 8, !tbaa !9
  %166 = getelementptr inbounds [152 x double], ptr %164, i64 0, i64 %165
  store double %159, ptr %166, align 8, !tbaa !11
  br label %167

167:                                              ; preds = %151
  %168 = load i64, ptr %8, align 8, !tbaa !9
  %169 = add nsw i64 %168, 1
  store i64 %169, ptr %8, align 8, !tbaa !9
  br label %148, !llvm.loop !17

170:                                              ; preds = %148
  br label %171

171:                                              ; preds = %170
  %172 = load i64, ptr %7, align 8, !tbaa !9
  %173 = add nsw i64 %172, 1
  store i64 %173, ptr %7, align 8, !tbaa !9
  br label %144, !llvm.loop !18

174:                                              ; preds = %144
  br label %175

175:                                              ; preds = %174
  %176 = load i64, ptr %6, align 8, !tbaa !9
  %177 = add nsw i64 %176, 1
  store i64 %177, ptr %6, align 8, !tbaa !9
  br label %140, !llvm.loop !19

178:                                              ; preds = %140
  br label %179

179:                                              ; preds = %178
  %180 = load i64, ptr %5, align 8, !tbaa !9
  %181 = add nsw i64 %180, 1
  store i64 %181, ptr %5, align 8, !tbaa !9
  br label %9, !llvm.loop !20

182:                                              ; preds = %9
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { 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 }

!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 = !{!"long", !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}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !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"

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

; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable
define dso_local void @kernel(ptr nocapture noundef %0, ptr nocapture noundef %1) local_unnamed_addr #1 {
  %3 = ptrtoint ptr %1 to i64
  %4 = ptrtoint ptr %0 to i64
  %5 = sub i64 %4, %3
  %invariant.gep = getelementptr i8, ptr %1, i64 186056
  %invariant.gep113 = getelementptr i8, ptr %1, i64 368440
  %invariant.gep115 = getelementptr i8, ptr %0, i64 1224
  %invariant.gep117 = getelementptr i8, ptr %0, i64 553272
  %diff.check = icmp ugt i64 %5, 31
  br label %.preheader74

.preheader74:                                     ; preds = %2, %93
  %.06981 = phi i64 [ 0, %2 ], [ %94, %93 ]
  br label %.preheader72

.preheader72:                                     ; preds = %.preheader74, %59
  %indvar = phi i64 [ 0, %.preheader74 ], [ %indvar.next, %59 ]
  %.06777 = phi i64 [ 1, %.preheader74 ], [ %60, %59 ]
  %6 = mul nuw nsw i64 %indvar, 184832
  %gep = getelementptr i8, ptr %invariant.gep, i64 %6
  %gep114 = getelementptr i8, ptr %invariant.gep113, i64 %6
  %gep116 = getelementptr i8, ptr %invariant.gep115, i64 %6
  %gep118 = getelementptr i8, ptr %invariant.gep117, i64 %6
  %7 = getelementptr inbounds [152 x [152 x double]], ptr %0, i64 %.06777
  %8 = getelementptr inbounds i8, ptr %7, i64 184832
  %9 = getelementptr i8, ptr %7, i64 -184832
  %bound0 = icmp ult ptr %gep, %gep118
  %bound1 = icmp ult ptr %gep116, %gep114
  %found.conflict = and i1 %bound0, %bound1
  br label %.preheader70

.preheader70:                                     ; preds = %.preheader72, %middle.block96
  %.06576 = phi i64 [ 1, %.preheader72 ], [ %10, %middle.block96 ]
  %10 = add nuw nsw i64 %.06576, 1
  %11 = add nsw i64 %.06576, -1
  br i1 %found.conflict, label %scalar.ph97, label %vector.body100

vector.body100:                                   ; preds = %.preheader70, %vector.body100
  %index101 = phi i64 [ %index.next110, %vector.body100 ], [ 0, %.preheader70 ]
  %offset.idx102 = or disjoint i64 %index101, 1
  %12 = getelementptr inbounds [152 x [152 x double]], ptr %8, i64 0, i64 %.06576, i64 %offset.idx102
  %wide.load103 = load <2 x double>, ptr %12, align 8, !tbaa !5, !alias.scope !9
  %13 = getelementptr inbounds [152 x [152 x double]], ptr %0, i64 %.06777, i64 %.06576, i64 %offset.idx102
  %wide.load104 = load <2 x double>, ptr %13, align 8, !tbaa !5, !alias.scope !9
  %14 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %wide.load104, <2 x double> <double -2.000000e+00, double -2.000000e+00>, <2 x double> %wide.load103)
  %15 = getelementptr inbounds [152 x [152 x double]], ptr %9, i64 0, i64 %.06576, i64 %offset.idx102
  %wide.load105 = load <2 x double>, ptr %15, align 8, !tbaa !5, !alias.scope !9
  %16 = fadd <2 x double> %14, %wide.load105
  %17 = getelementptr inbounds [152 x [152 x double]], ptr %0, i64 %.06777, i64 %10, i64 %offset.idx102
  %wide.load106 = load <2 x double>, ptr %17, align 8, !tbaa !5, !alias.scope !9
  %18 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %wide.load104, <2 x double> <double -2.000000e+00, double -2.000000e+00>, <2 x double> %wide.load106)
  %19 = getelementptr inbounds [152 x [152 x double]], ptr %0, i64 %.06777, i64 %11, i64 %offset.idx102
  %wide.load107 = load <2 x double>, ptr %19, align 8, !tbaa !5, !alias.scope !9
  %20 = fadd <2 x double> %18, %wide.load107
  %21 = fmul <2 x double> %20, <double 1.250000e-01, double 1.250000e-01>
  %22 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %16, <2 x double> <double 1.250000e-01, double 1.250000e-01>, <2 x double> %21)
  %23 = getelementptr inbounds [152 x [152 x double]], ptr %0, i64 %.06777, i64 %.06576, i64 %index101
  %wide.load108 = load <2 x double>, ptr %23, align 8, !tbaa !5, !alias.scope !9
  %24 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %wide.load104, <2 x double> <double -2.000000e+00, double -2.000000e+00>, <2 x double> %wide.load108)
  %25 = add nuw nsw i64 %index101, 2
  %26 = getelementptr inbounds [152 x [152 x double]], ptr %0, i64 %.06777, i64 %.06576, i64 %25
  %wide.load109 = load <2 x double>, ptr %26, align 8, !tbaa !5, !alias.scope !9
  %27 = fadd <2 x double> %24, %wide.load109
  %28 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %27, <2 x double> <double 1.250000e-01, double 1.250000e-01>, <2 x double> %22)
  %29 = fadd <2 x double> %wide.load104, %28
  %30 = getelementptr inbounds [152 x [152 x double]], ptr %1, i64 %.06777, i64 %.06576, i64 %offset.idx102
  store <2 x double> %29, ptr %30, align 8, !tbaa !5, !alias.scope !12, !noalias !9
  %index.next110 = add nuw i64 %index101, 2
  %31 = icmp eq i64 %index.next110, 150
  br i1 %31, label %middle.block96, label %vector.body100, !llvm.loop !14

scalar.ph97:                                      ; preds = %.preheader70, %scalar.ph97
  %.075 = phi i64 [ %52, %scalar.ph97 ], [ 1, %.preheader70 ]
  %32 = getelementptr inbounds [152 x [152 x double]], ptr %8, i64 0, i64 %.06576, i64 %.075
  %33 = load double, ptr %32, align 8, !tbaa !5
  %34 = getelementptr inbounds [152 x [152 x double]], ptr %0, i64 %.06777, i64 %.06576, i64 %.075
  %35 = load double, ptr %34, align 8, !tbaa !5
  %36 = tail call double @llvm.fmuladd.f64(double %35, double -2.000000e+00, double %33)
  %37 = getelementptr inbounds [152 x [152 x double]], ptr %9, i64 0, i64 %.06576, i64 %.075
  %38 = load double, ptr %37, align 8, !tbaa !5
  %39 = fadd double %36, %38
  %40 = getelementptr inbounds [152 x [152 x double]], ptr %0, i64 %.06777, i64 %10, i64 %.075
  %41 = load double, ptr %40, align 8, !tbaa !5
  %42 = tail call double @llvm.fmuladd.f64(double %35, double -2.000000e+00, double %41)
  %43 = getelementptr inbounds [152 x [152 x double]], ptr %0, i64 %.06777, i64 %11, i64 %.075
  %44 = load double, ptr %43, align 8, !tbaa !5
  %45 = fadd double %42, %44
  %46 = fmul double %45, 1.250000e-01
  %47 = tail call double @llvm.fmuladd.f64(double %39, double 1.250000e-01, double %46)
  %48 = add nsw i64 %.075, -1
  %49 = getelementptr inbounds [152 x [152 x double]], ptr %0, i64 %.06777, i64 %.06576, i64 %48
  %50 = load double, ptr %49, align 8, !tbaa !5
  %51 = tail call double @llvm.fmuladd.f64(double %35, double -2.000000e+00, double %50)
  %52 = add nuw nsw i64 %.075, 1
  %53 = getelementptr inbounds [152 x [152 x double]], ptr %0, i64 %.06777, i64 %.06576, i64 %52
  %54 = load double, ptr %53, align 8, !tbaa !5
  %55 = fadd double %51, %54
  %56 = tail call double @llvm.fmuladd.f64(double %55, double 1.250000e-01, double %47)
  %57 = fadd double %35, %56
  %58 = getelementptr inbounds [152 x [152 x double]], ptr %1, i64 %.06777, i64 %.06576, i64 %.075
  store double %57, ptr %58, align 8, !tbaa !5
  %exitcond.not = icmp eq i64 %52, 151
  br i1 %exitcond.not, label %middle.block96, label %scalar.ph97, !llvm.loop !18

middle.block96:                                   ; preds = %vector.body100, %scalar.ph97
  %exitcond82.not = icmp eq i64 %10, 151
  br i1 %exitcond82.not, label %59, label %.preheader70, !llvm.loop !19

59:                                               ; preds = %middle.block96
  %60 = add nuw nsw i64 %.06777, 1
  %exitcond83.not = icmp eq i64 %60, 151
  %indvar.next = add i64 %indvar, 1
  br i1 %exitcond83.not, label %.preheader71, label %.preheader72, !llvm.loop !20

.preheader71:                                     ; preds = %59, %91
  %.16880 = phi i64 [ %92, %91 ], [ 1, %59 ]
  br label %vector.memcheck

vector.memcheck:                                  ; preds = %.loopexit, %.preheader71
  %.16679 = phi i64 [ 1, %.preheader71 ], [ %90, %.loopexit ]
  br i1 %diff.check, label %vector.body, label %scalar.ph.prol.preheader

vector.body:                                      ; preds = %vector.memcheck, %vector.body.1
  %index = phi i64 [ %index.next.1, %vector.body.1 ], [ 0, %vector.memcheck ]
  %offset.idx = or disjoint i64 %index, 1
  %61 = getelementptr inbounds [152 x [152 x double]], ptr %1, i64 %.16880, i64 %.16679, i64 %offset.idx
  %62 = getelementptr inbounds i8, ptr %61, i64 16
  %wide.load = load <2 x double>, ptr %61, align 8, !tbaa !5
  %wide.load91 = load <2 x double>, ptr %62, align 8, !tbaa !5
  %63 = getelementptr inbounds [152 x [152 x double]], ptr %0, i64 %.16880, i64 %.16679, i64 %offset.idx
  %64 = getelementptr inbounds i8, ptr %63, i64 16
  store <2 x double> %wide.load, ptr %63, align 8, !tbaa !5
  store <2 x double> %wide.load91, ptr %64, align 8, !tbaa !5
  %65 = icmp eq i64 %index, 144
  br i1 %65, label %scalar.ph.prol.preheader, label %vector.body.1, !llvm.loop !21

vector.body.1:                                    ; preds = %vector.body
  %offset.idx.1 = or disjoint i64 %index, 5
  %66 = getelementptr inbounds [152 x [152 x double]], ptr %1, i64 %.16880, i64 %.16679, i64 %offset.idx.1
  %67 = getelementptr inbounds i8, ptr %66, i64 16
  %wide.load.1 = load <2 x double>, ptr %66, align 8, !tbaa !5
  %wide.load91.1 = load <2 x double>, ptr %67, align 8, !tbaa !5
  %68 = getelementptr inbounds [152 x [152 x double]], ptr %0, i64 %.16880, i64 %.16679, i64 %offset.idx.1
  %69 = getelementptr inbounds i8, ptr %68, i64 16
  store <2 x double> %wide.load.1, ptr %68, align 8, !tbaa !5
  store <2 x double> %wide.load91.1, ptr %69, align 8, !tbaa !5
  %index.next.1 = add nuw nsw i64 %index, 8
  br label %vector.body

scalar.ph.prol.preheader:                         ; preds = %vector.memcheck, %vector.body
  %.178.ph = phi i64 [ 1, %vector.memcheck ], [ 149, %vector.body ]
  br label %scalar.ph.prol

scalar.ph.prol:                                   ; preds = %scalar.ph.prol, %scalar.ph.prol.preheader
  %.178.prol = phi i64 [ %73, %scalar.ph.prol ], [ %.178.ph, %scalar.ph.prol.preheader ]
  %prol.iter = phi i64 [ %prol.iter.next, %scalar.ph.prol ], [ 0, %scalar.ph.prol.preheader ]
  %70 = getelementptr inbounds [152 x [152 x double]], ptr %1, i64 %.16880, i64 %.16679, i64 %.178.prol
  %71 = load double, ptr %70, align 8, !tbaa !5
  %72 = getelementptr inbounds [152 x [152 x double]], ptr %0, i64 %.16880, i64 %.16679, i64 %.178.prol
  store double %71, ptr %72, align 8, !tbaa !5
  %73 = add nuw nsw i64 %.178.prol, 1
  %prol.iter.next = add i64 %prol.iter, 1
  %prol.iter.cmp.not = icmp eq i64 %prol.iter.next, 2
  br i1 %prol.iter.cmp.not, label %scalar.ph.prol.loopexit, label %scalar.ph.prol, !llvm.loop !22

scalar.ph.prol.loopexit:                          ; preds = %scalar.ph.prol
  br i1 %diff.check, label %.loopexit, label %scalar.ph

scalar.ph:                                        ; preds = %scalar.ph.prol.loopexit, %scalar.ph
  %.178 = phi i64 [ %89, %scalar.ph ], [ %73, %scalar.ph.prol.loopexit ]
  %74 = getelementptr inbounds [152 x [152 x double]], ptr %1, i64 %.16880, i64 %.16679, i64 %.178
  %75 = load double, ptr %74, align 8, !tbaa !5
  %76 = getelementptr inbounds [152 x [152 x double]], ptr %0, i64 %.16880, i64 %.16679, i64 %.178
  store double %75, ptr %76, align 8, !tbaa !5
  %77 = add nuw nsw i64 %.178, 1
  %78 = getelementptr inbounds [152 x [152 x double]], ptr %1, i64 %.16880, i64 %.16679, i64 %77
  %79 = load double, ptr %78, align 8, !tbaa !5
  %80 = getelementptr inbounds [152 x [152 x double]], ptr %0, i64 %.16880, i64 %.16679, i64 %77
  store double %79, ptr %80, align 8, !tbaa !5
  %81 = add nuw nsw i64 %.178, 2
  %82 = getelementptr inbounds [152 x [152 x double]], ptr %1, i64 %.16880, i64 %.16679, i64 %81
  %83 = load double, ptr %82, align 8, !tbaa !5
  %84 = getelementptr inbounds [152 x [152 x double]], ptr %0, i64 %.16880, i64 %.16679, i64 %81
  store double %83, ptr %84, align 8, !tbaa !5
  %85 = add nuw nsw i64 %.178, 3
  %86 = getelementptr inbounds [152 x [152 x double]], ptr %1, i64 %.16880, i64 %.16679, i64 %85
  %87 = load double, ptr %86, align 8, !tbaa !5
  %88 = getelementptr inbounds [152 x [152 x double]], ptr %0, i64 %.16880, i64 %.16679, i64 %85
  store double %87, ptr %88, align 8, !tbaa !5
  %89 = add nuw nsw i64 %.178, 4
  %exitcond87.not.3 = icmp eq i64 %89, 151
  br i1 %exitcond87.not.3, label %.loopexit, label %scalar.ph, !llvm.loop !24

.loopexit:                                        ; preds = %scalar.ph, %scalar.ph.prol.loopexit
  %90 = add nuw nsw i64 %.16679, 1
  %exitcond88.not = icmp eq i64 %90, 151
  br i1 %exitcond88.not, label %91, label %vector.memcheck, !llvm.loop !25

91:                                               ; preds = %.loopexit
  %92 = add nuw nsw i64 %.16880, 1
  %exitcond89.not = icmp eq i64 %92, 151
  br i1 %exitcond89.not, label %93, label %.preheader71, !llvm.loop !26

93:                                               ; preds = %91
  %94 = add nuw nsw i64 %.06981, 1
  %exitcond90.not = icmp eq i64 %94, 100
  br i1 %exitcond90.not, label %95, label %.preheader74, !llvm.loop !27

95:                                               ; preds = %93
  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>) #2

attributes #0 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #1 = { nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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 = !{!10}
!10 = distinct !{!10, !11}
!11 = distinct !{!11, !"LVerDomain"}
!12 = !{!13}
!13 = distinct !{!13, !11}
!14 = distinct !{!14, !15, !16, !17}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!"llvm.loop.isvectorized", i32 1}
!17 = !{!"llvm.loop.unroll.runtime.disable"}
!18 = distinct !{!18, !15, !16}
!19 = distinct !{!19, !15}
!20 = distinct !{!20, !15}
!21 = distinct !{!21, !15, !16, !17}
!22 = distinct !{!22, !23}
!23 = !{!"llvm.loop.unroll.disable"}
!24 = distinct !{!24, !15, !16}
!25 = distinct !{!25, !15}
!26 = distinct !{!26, !15}
!27 = distinct !{!27, !15}


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