; LLVM IR from venumb/ZSPACE :: cpp/depends/alglib/cpp/src/ap.ll (ZN11alglib_impl21_ialglib_rmatrixrank1EllPdlS0_S0_)

; 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 willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local noundef zeroext i1 @_ZN11alglib_impl21_ialglib_rmatrixrank1EllPdlS0_S0_(i64 noundef %0, i64 noundef %1, ptr noundef %2, i64 noundef %3, ptr noundef %4, ptr noundef %5) #2 {
  %7 = alloca i1, align 1
  %8 = alloca i64, align 8
  %9 = alloca i64, align 8
  %10 = alloca ptr, align 8
  %11 = alloca i64, align 8
  %12 = alloca ptr, align 8
  %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 i64, align 8
  %22 = alloca i64, align 8
  %23 = alloca i64, align 8
  %24 = alloca i64, align 8
  %25 = alloca i64, align 8
  %26 = alloca i64, align 8
  %27 = alloca i32, align 4
  store i64 %0, ptr %8, align 8, !tbaa !5
  store i64 %1, ptr %9, align 8, !tbaa !5
  store ptr %2, ptr %10, align 8, !tbaa !9
  store i64 %3, ptr %11, align 8, !tbaa !5
  store ptr %4, ptr %12, align 8, !tbaa !9
  store ptr %5, ptr %13, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #3
  %28 = load i64, ptr %8, align 8, !tbaa !5
  %29 = sdiv i64 %28, 2
  store i64 %29, ptr %21, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #3
  %30 = load i64, ptr %9, align 8, !tbaa !5
  %31 = sdiv i64 %30, 2
  store i64 %31, ptr %22, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #3
  %32 = load i64, ptr %11, align 8, !tbaa !5
  store i64 %32, ptr %23, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #3
  %33 = load i64, ptr %11, align 8, !tbaa !5
  %34 = mul nsw i64 2, %33
  store i64 %34, ptr %24, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #3
  %35 = load i64, ptr %8, align 8, !tbaa !5
  %36 = icmp sle i64 %35, 0
  br i1 %36, label %40, label %37

37:                                               ; preds = %6
  %38 = load i64, ptr %9, align 8, !tbaa !5
  %39 = icmp sle i64 %38, 0
  br i1 %39, label %40, label %41

40:                                               ; preds = %37, %6
  store i1 false, ptr %7, align 1
  store i32 1, ptr %27, align 4
  br label %203

41:                                               ; preds = %37
  %42 = load ptr, ptr %10, align 8, !tbaa !9
  store ptr %42, ptr %14, align 8, !tbaa !9
  %43 = load ptr, ptr %14, align 8, !tbaa !9
  %44 = load i64, ptr %23, align 8, !tbaa !5
  %45 = getelementptr inbounds double, ptr %43, i64 %44
  store ptr %45, ptr %15, align 8, !tbaa !9
  %46 = load ptr, ptr %12, align 8, !tbaa !9
  store ptr %46, ptr %16, align 8, !tbaa !9
  %47 = load ptr, ptr %13, align 8, !tbaa !9
  store ptr %47, ptr %18, align 8, !tbaa !9
  store i64 0, ptr %25, align 8, !tbaa !5
  br label %48

48:                                               ; preds = %136, %41
  %49 = load i64, ptr %25, align 8, !tbaa !5
  %50 = load i64, ptr %21, align 8, !tbaa !5
  %51 = icmp slt i64 %49, %50
  br i1 %51, label %52, label %147

52:                                               ; preds = %48
  store i64 0, ptr %26, align 8, !tbaa !5
  %53 = load ptr, ptr %18, align 8, !tbaa !9
  store ptr %53, ptr %17, align 8, !tbaa !9
  %54 = load ptr, ptr %14, align 8, !tbaa !9
  store ptr %54, ptr %19, align 8, !tbaa !9
  %55 = load ptr, ptr %15, align 8, !tbaa !9
  store ptr %55, ptr %20, align 8, !tbaa !9
  br label %56

56:                                               ; preds = %101, %52
  %57 = load i64, ptr %26, align 8, !tbaa !5
  %58 = load i64, ptr %22, align 8, !tbaa !5
  %59 = icmp slt i64 %57, %58
  br i1 %59, label %60, label %110

60:                                               ; preds = %56
  %61 = load ptr, ptr %16, align 8, !tbaa !9
  %62 = getelementptr inbounds double, ptr %61, i64 0
  %63 = load double, ptr %62, align 8, !tbaa !11
  %64 = load ptr, ptr %17, align 8, !tbaa !9
  %65 = getelementptr inbounds double, ptr %64, i64 0
  %66 = load double, ptr %65, align 8, !tbaa !11
  %67 = load ptr, ptr %19, align 8, !tbaa !9
  %68 = getelementptr inbounds double, ptr %67, i64 0
  %69 = load double, ptr %68, align 8, !tbaa !11
  %70 = call double @llvm.fmuladd.f64(double %63, double %66, double %69)
  store double %70, ptr %68, align 8, !tbaa !11
  %71 = load ptr, ptr %16, align 8, !tbaa !9
  %72 = getelementptr inbounds double, ptr %71, i64 0
  %73 = load double, ptr %72, align 8, !tbaa !11
  %74 = load ptr, ptr %17, align 8, !tbaa !9
  %75 = getelementptr inbounds double, ptr %74, i64 1
  %76 = load double, ptr %75, align 8, !tbaa !11
  %77 = load ptr, ptr %19, align 8, !tbaa !9
  %78 = getelementptr inbounds double, ptr %77, i64 1
  %79 = load double, ptr %78, align 8, !tbaa !11
  %80 = call double @llvm.fmuladd.f64(double %73, double %76, double %79)
  store double %80, ptr %78, align 8, !tbaa !11
  %81 = load ptr, ptr %16, align 8, !tbaa !9
  %82 = getelementptr inbounds double, ptr %81, i64 1
  %83 = load double, ptr %82, align 8, !tbaa !11
  %84 = load ptr, ptr %17, align 8, !tbaa !9
  %85 = getelementptr inbounds double, ptr %84, i64 0
  %86 = load double, ptr %85, align 8, !tbaa !11
  %87 = load ptr, ptr %20, align 8, !tbaa !9
  %88 = getelementptr inbounds double, ptr %87, i64 0
  %89 = load double, ptr %88, align 8, !tbaa !11
  %90 = call double @llvm.fmuladd.f64(double %83, double %86, double %89)
  store double %90, ptr %88, align 8, !tbaa !11
  %91 = load ptr, ptr %16, align 8, !tbaa !9
  %92 = getelementptr inbounds double, ptr %91, i64 1
  %93 = load double, ptr %92, align 8, !tbaa !11
  %94 = load ptr, ptr %17, align 8, !tbaa !9
  %95 = getelementptr inbounds double, ptr %94, i64 1
  %96 = load double, ptr %95, align 8, !tbaa !11
  %97 = load ptr, ptr %20, align 8, !tbaa !9
  %98 = getelementptr inbounds double, ptr %97, i64 1
  %99 = load double, ptr %98, align 8, !tbaa !11
  %100 = call double @llvm.fmuladd.f64(double %93, double %96, double %99)
  store double %100, ptr %98, align 8, !tbaa !11
  br label %101

101:                                              ; preds = %60
  %102 = load i64, ptr %26, align 8, !tbaa !5
  %103 = add nsw i64 %102, 1
  store i64 %103, ptr %26, align 8, !tbaa !5
  %104 = load ptr, ptr %19, align 8, !tbaa !9
  %105 = getelementptr inbounds double, ptr %104, i64 2
  store ptr %105, ptr %19, align 8, !tbaa !9
  %106 = load ptr, ptr %20, align 8, !tbaa !9
  %107 = getelementptr inbounds double, ptr %106, i64 2
  store ptr %107, ptr %20, align 8, !tbaa !9
  %108 = load ptr, ptr %17, align 8, !tbaa !9
  %109 = getelementptr inbounds double, ptr %108, i64 2
  store ptr %109, ptr %17, align 8, !tbaa !9
  br label %56, !llvm.loop !13

110:                                              ; preds = %56
  %111 = load i64, ptr %9, align 8, !tbaa !5
  %112 = srem i64 %111, 2
  %113 = icmp ne i64 %112, 0
  br i1 %113, label %114, label %135

114:                                              ; preds = %110
  %115 = load ptr, ptr %16, align 8, !tbaa !9
  %116 = getelementptr inbounds double, ptr %115, i64 0
  %117 = load double, ptr %116, align 8, !tbaa !11
  %118 = load ptr, ptr %17, align 8, !tbaa !9
  %119 = getelementptr inbounds double, ptr %118, i64 0
  %120 = load double, ptr %119, align 8, !tbaa !11
  %121 = load ptr, ptr %19, align 8, !tbaa !9
  %122 = getelementptr inbounds double, ptr %121, i64 0
  %123 = load double, ptr %122, align 8, !tbaa !11
  %124 = call double @llvm.fmuladd.f64(double %117, double %120, double %123)
  store double %124, ptr %122, align 8, !tbaa !11
  %125 = load ptr, ptr %16, align 8, !tbaa !9
  %126 = getelementptr inbounds double, ptr %125, i64 1
  %127 = load double, ptr %126, align 8, !tbaa !11
  %128 = load ptr, ptr %17, align 8, !tbaa !9
  %129 = getelementptr inbounds double, ptr %128, i64 0
  %130 = load double, ptr %129, align 8, !tbaa !11
  %131 = load ptr, ptr %20, align 8, !tbaa !9
  %132 = getelementptr inbounds double, ptr %131, i64 0
  %133 = load double, ptr %132, align 8, !tbaa !11
  %134 = call double @llvm.fmuladd.f64(double %127, double %130, double %133)
  store double %134, ptr %132, align 8, !tbaa !11
  br label %135

135:                                              ; preds = %114, %110
  br label %136

136:                                              ; preds = %135
  %137 = load i64, ptr %25, align 8, !tbaa !5
  %138 = add nsw i64 %137, 1
  store i64 %138, ptr %25, align 8, !tbaa !5
  %139 = load i64, ptr %24, align 8, !tbaa !5
  %140 = load ptr, ptr %14, align 8, !tbaa !9
  %141 = getelementptr inbounds double, ptr %140, i64 %139
  store ptr %141, ptr %14, align 8, !tbaa !9
  %142 = load i64, ptr %24, align 8, !tbaa !5
  %143 = load ptr, ptr %15, align 8, !tbaa !9
  %144 = getelementptr inbounds double, ptr %143, i64 %142
  store ptr %144, ptr %15, align 8, !tbaa !9
  %145 = load ptr, ptr %16, align 8, !tbaa !9
  %146 = getelementptr inbounds double, ptr %145, i64 2
  store ptr %146, ptr %16, align 8, !tbaa !9
  br label %48, !llvm.loop !15

147:                                              ; preds = %48
  %148 = load i64, ptr %8, align 8, !tbaa !5
  %149 = srem i64 %148, 2
  %150 = icmp ne i64 %149, 0
  br i1 %150, label %151, label %202

151:                                              ; preds = %147
  store i64 0, ptr %26, align 8, !tbaa !5
  %152 = load ptr, ptr %18, align 8, !tbaa !9
  store ptr %152, ptr %17, align 8, !tbaa !9
  %153 = load ptr, ptr %14, align 8, !tbaa !9
  store ptr %153, ptr %19, align 8, !tbaa !9
  br label %154

154:                                              ; preds = %179, %151
  %155 = load i64, ptr %26, align 8, !tbaa !5
  %156 = load i64, ptr %22, align 8, !tbaa !5
  %157 = icmp slt i64 %155, %156
  br i1 %157, label %158, label %186

158:                                              ; preds = %154
  %159 = load ptr, ptr %16, align 8, !tbaa !9
  %160 = getelementptr inbounds double, ptr %159, i64 0
  %161 = load double, ptr %160, align 8, !tbaa !11
  %162 = load ptr, ptr %17, align 8, !tbaa !9
  %163 = getelementptr inbounds double, ptr %162, i64 0
  %164 = load double, ptr %163, align 8, !tbaa !11
  %165 = load ptr, ptr %19, align 8, !tbaa !9
  %166 = getelementptr inbounds double, ptr %165, i64 0
  %167 = load double, ptr %166, align 8, !tbaa !11
  %168 = call double @llvm.fmuladd.f64(double %161, double %164, double %167)
  store double %168, ptr %166, align 8, !tbaa !11
  %169 = load ptr, ptr %16, align 8, !tbaa !9
  %170 = getelementptr inbounds double, ptr %169, i64 0
  %171 = load double, ptr %170, align 8, !tbaa !11
  %172 = load ptr, ptr %17, align 8, !tbaa !9
  %173 = getelementptr inbounds double, ptr %172, i64 1
  %174 = load double, ptr %173, align 8, !tbaa !11
  %175 = load ptr, ptr %19, align 8, !tbaa !9
  %176 = getelementptr inbounds double, ptr %175, i64 1
  %177 = load double, ptr %176, align 8, !tbaa !11
  %178 = call double @llvm.fmuladd.f64(double %171, double %174, double %177)
  store double %178, ptr %176, align 8, !tbaa !11
  br label %179

179:                                              ; preds = %158
  %180 = load i64, ptr %26, align 8, !tbaa !5
  %181 = add nsw i64 %180, 1
  store i64 %181, ptr %26, align 8, !tbaa !5
  %182 = load ptr, ptr %19, align 8, !tbaa !9
  %183 = getelementptr inbounds double, ptr %182, i64 2
  store ptr %183, ptr %19, align 8, !tbaa !9
  %184 = load ptr, ptr %17, align 8, !tbaa !9
  %185 = getelementptr inbounds double, ptr %184, i64 2
  store ptr %185, ptr %17, align 8, !tbaa !9
  br label %154, !llvm.loop !16

186:                                              ; preds = %154
  %187 = load i64, ptr %9, align 8, !tbaa !5
  %188 = srem i64 %187, 2
  %189 = icmp ne i64 %188, 0
  br i1 %189, label %190, label %201

190:                                              ; preds = %186
  %191 = load ptr, ptr %16, align 8, !tbaa !9
  %192 = getelementptr inbounds double, ptr %191, i64 0
  %193 = load double, ptr %192, align 8, !tbaa !11
  %194 = load ptr, ptr %17, align 8, !tbaa !9
  %195 = getelementptr inbounds double, ptr %194, i64 0
  %196 = load double, ptr %195, align 8, !tbaa !11
  %197 = load ptr, ptr %19, align 8, !tbaa !9
  %198 = getelementptr inbounds double, ptr %197, i64 0
  %199 = load double, ptr %198, align 8, !tbaa !11
  %200 = call double @llvm.fmuladd.f64(double %193, double %196, double %199)
  store double %200, ptr %198, align 8, !tbaa !11
  br label %201

201:                                              ; preds = %190, %186
  br label %202

202:                                              ; preds = %201, %147
  store i1 true, ptr %7, align 1
  store i32 1, ptr %27, align 4
  br label %203

203:                                              ; preds = %202, %40
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #3
  %204 = load i1, ptr %7, align 1
  ret i1 %204
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #2 = { mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !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"

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

; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable
define dso_local noundef zeroext i1 @_ZN11alglib_impl21_ialglib_rmatrixrank1EllPdlS0_S0_(i64 noundef %0, i64 noundef %1, ptr nocapture noundef %2, i64 noundef %3, ptr nocapture noundef readonly %4, ptr nocapture noundef readonly %5) local_unnamed_addr #1 {
  %7 = sdiv i64 %0, 2
  %8 = sdiv i64 %1, 2
  %9 = shl nsw i64 %3, 1
  %10 = icmp sgt i64 %0, 0
  %11 = icmp sgt i64 %1, 0
  %or.cond.not = and i1 %10, %11
  br i1 %or.cond.not, label %12, label %180

12:                                               ; preds = %6
  %13 = getelementptr double, ptr %2, i64 %3
  %14 = icmp ugt i64 %0, 1
  br i1 %14, label %.preheader82.lr.ph, label %.preheader

.preheader82.lr.ph:                               ; preds = %12
  %15 = icmp ugt i64 %1, 1
  %16 = and i64 %1, 1
  %.not79 = icmp eq i64 %16, 0
  br i1 %15, label %.preheader82.us.preheader, label %.preheader82.lr.ph.split

.preheader82.us.preheader:                        ; preds = %.preheader82.lr.ph
  %17 = add nuw nsw i64 %7, 1152921504606846975
  %18 = mul i64 %17, %3
  %19 = shl i64 %8, 4
  %20 = add i64 %18, %8
  %21 = shl i64 %20, 4
  %22 = getelementptr i8, ptr %2, i64 %21
  %scevgep149 = getelementptr i8, ptr %22, i64 -8
  %23 = shl i64 %3, 4
  %scevgep150 = getelementptr i8, ptr %2, i64 8
  %scevgep151 = getelementptr i8, ptr %2, i64 %21
  %24 = shl i64 %7, 4
  %25 = add i64 %24, -8
  %26 = mul i64 %25, %3
  %27 = add i64 %26, %19
  %28 = getelementptr i8, ptr %2, i64 %27
  %scevgep152 = getelementptr i8, ptr %28, i64 -8
  %29 = shl i64 %3, 3
  %30 = getelementptr i8, ptr %2, i64 %29
  %scevgep153 = getelementptr i8, ptr %30, i64 8
  %scevgep154 = getelementptr i8, ptr %2, i64 %27
  %scevgep155 = getelementptr i8, ptr %4, i64 %25
  %31 = getelementptr i8, ptr %5, i64 %19
  %scevgep156 = getelementptr i8, ptr %31, i64 -8
  %scevgep157 = getelementptr i8, ptr %5, i64 8
  %scevgep158 = getelementptr i8, ptr %5, i64 %19
  %scevgep159 = getelementptr i8, ptr %4, i64 8
  %scevgep160 = getelementptr i8, ptr %4, i64 %24
  %min.iters.check = icmp ult i64 %8, 20
  %bound0 = icmp ugt ptr %scevgep151, %2
  %bound1 = icmp ult ptr %scevgep150, %scevgep149
  %found.conflict = and i1 %bound0, %bound1
  %bound0162 = icmp ugt ptr %scevgep152, %2
  %bound1163 = icmp ult ptr %13, %scevgep149
  %found.conflict164 = and i1 %bound0162, %bound1163
  %stride.check165 = icmp slt i64 %23, 0
  %32 = or i1 %found.conflict164, %stride.check165
  %conflict.rdx = or i1 %found.conflict, %32
  %bound0167 = icmp ugt ptr %scevgep154, %2
  %bound1168 = icmp ult ptr %scevgep153, %scevgep149
  %found.conflict169 = and i1 %bound0167, %bound1168
  %conflict.rdx172 = or i1 %found.conflict169, %conflict.rdx
  %bound0173 = icmp ugt ptr %scevgep155, %2
  %bound1174 = icmp ugt ptr %scevgep149, %4
  %found.conflict175 = and i1 %bound0173, %bound1174
  %conflict.rdx177 = or i1 %found.conflict175, %conflict.rdx172
  %bound0178 = icmp ugt ptr %scevgep156, %2
  %bound1179 = icmp ugt ptr %scevgep149, %5
  %found.conflict180 = and i1 %bound0178, %bound1179
  %conflict.rdx182 = or i1 %found.conflict180, %conflict.rdx177
  %bound0183 = icmp ugt ptr %scevgep158, %2
  %bound1184 = icmp ult ptr %scevgep157, %scevgep149
  %found.conflict185 = and i1 %bound0183, %bound1184
  %conflict.rdx187 = or i1 %found.conflict185, %conflict.rdx182
  %bound0188 = icmp ugt ptr %scevgep160, %2
  %bound1189 = icmp ult ptr %scevgep159, %scevgep149
  %found.conflict190 = and i1 %bound0188, %bound1189
  %conflict.rdx192 = or i1 %found.conflict190, %conflict.rdx187
  %bound0193 = icmp ult ptr %scevgep150, %scevgep152
  %bound1194 = icmp ult ptr %13, %scevgep151
  %found.conflict195 = and i1 %bound0193, %bound1194
  %conflict.rdx198 = or i1 %found.conflict195, %conflict.rdx192
  %bound0199 = icmp ult ptr %scevgep150, %scevgep154
  %bound1200 = icmp ult ptr %scevgep153, %scevgep151
  %found.conflict201 = and i1 %bound0199, %bound1200
  %conflict.rdx204 = or i1 %found.conflict201, %conflict.rdx198
  %bound0205 = icmp ult ptr %scevgep150, %scevgep155
  %bound1206 = icmp ugt ptr %scevgep151, %4
  %found.conflict207 = and i1 %bound0205, %bound1206
  %stride.check208 = icmp slt i64 %23, 0
  %33 = or i1 %found.conflict207, %stride.check208
  %conflict.rdx209 = or i1 %conflict.rdx204, %33
  %bound0210 = icmp ult ptr %scevgep150, %scevgep156
  %bound1211 = icmp ugt ptr %scevgep151, %5
  %found.conflict212 = and i1 %bound0210, %bound1211
  %conflict.rdx214 = or i1 %found.conflict212, %conflict.rdx209
  %bound0215 = icmp ult ptr %scevgep150, %scevgep158
  %bound1216 = icmp ult ptr %scevgep157, %scevgep151
  %found.conflict217 = and i1 %bound0215, %bound1216
  %conflict.rdx219 = or i1 %found.conflict217, %conflict.rdx214
  %bound0220 = icmp ult ptr %scevgep150, %scevgep160
  %bound1221 = icmp ult ptr %scevgep159, %scevgep151
  %found.conflict222 = and i1 %bound0220, %bound1221
  %conflict.rdx224 = or i1 %found.conflict222, %conflict.rdx219
  %bound0225 = icmp ult ptr %13, %scevgep154
  %bound1226 = icmp ult ptr %scevgep153, %scevgep152
  %found.conflict227 = and i1 %bound0225, %bound1226
  %conflict.rdx230 = or i1 %found.conflict227, %conflict.rdx224
  %bound0231 = icmp ult ptr %13, %scevgep155
  %bound1232 = icmp ugt ptr %scevgep152, %4
  %found.conflict233 = and i1 %bound0231, %bound1232
  %conflict.rdx235 = or i1 %found.conflict233, %conflict.rdx230
  %bound0236 = icmp ult ptr %13, %scevgep156
  %bound1237 = icmp ugt ptr %scevgep152, %5
  %found.conflict238 = and i1 %bound0236, %bound1237
  %conflict.rdx240 = or i1 %found.conflict238, %conflict.rdx235
  %bound0241 = icmp ult ptr %13, %scevgep158
  %bound1242 = icmp ult ptr %scevgep157, %scevgep152
  %found.conflict243 = and i1 %bound0241, %bound1242
  %conflict.rdx245 = or i1 %found.conflict243, %conflict.rdx240
  %bound0246 = icmp ult ptr %13, %scevgep160
  %bound1247 = icmp ult ptr %scevgep159, %scevgep152
  %found.conflict248 = and i1 %bound0246, %bound1247
  %stride.check249 = icmp slt i64 %23, 0
  %34 = or i1 %found.conflict248, %stride.check249
  %conflict.rdx250 = or i1 %conflict.rdx245, %34
  %bound0251 = icmp ult ptr %scevgep153, %scevgep155
  %bound1252 = icmp ugt ptr %scevgep154, %4
  %found.conflict253 = and i1 %bound0251, %bound1252
  %conflict.rdx255 = or i1 %found.conflict253, %conflict.rdx250
  %bound0256 = icmp ult ptr %scevgep153, %scevgep156
  %bound1257 = icmp ugt ptr %scevgep154, %5
  %found.conflict258 = and i1 %bound0256, %bound1257
  %conflict.rdx260 = or i1 %found.conflict258, %conflict.rdx255
  %bound0261 = icmp ult ptr %scevgep153, %scevgep158
  %bound1262 = icmp ult ptr %scevgep157, %scevgep154
  %found.conflict263 = and i1 %bound0261, %bound1262
  %conflict.rdx265 = or i1 %found.conflict263, %conflict.rdx260
  %bound0266 = icmp ult ptr %scevgep153, %scevgep160
  %bound1267 = icmp ult ptr %scevgep159, %scevgep154
  %found.conflict268 = and i1 %bound0266, %bound1267
  %conflict.rdx270 = or i1 %found.conflict268, %conflict.rdx265
  %n.vec = and i64 %8, 4611686018427387902
  %35 = shl i64 %n.vec, 4
  %36 = shl i64 %n.vec, 4
  %37 = shl i64 %n.vec, 4
  %ind.end274 = getelementptr i8, ptr %5, i64 %37
  %cmp.n = icmp eq i64 %8, %n.vec
  br label %.preheader82.us

.preheader82.us:                                  ; preds = %.preheader82.us.preheader, %57
  %.06692.us = phi i64 [ %58, %57 ], [ 0, %.preheader82.us.preheader ]
  %.06891.us = phi ptr [ %59, %57 ], [ %2, %.preheader82.us.preheader ]
  %.06990.us = phi ptr [ %60, %57 ], [ %13, %.preheader82.us.preheader ]
  %.07089.us = phi ptr [ %61, %57 ], [ %4, %.preheader82.us.preheader ]
  %38 = getelementptr inbounds i8, ptr %.07089.us, i64 8
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.memcheck

scalar.ph.preheader:                              ; preds = %middle.block, %vector.memcheck, %.preheader82.us
  %.086.us.ph = phi i64 [ 0, %vector.memcheck ], [ 0, %.preheader82.us ], [ %n.vec, %middle.block ]
  %.07185.us.ph = phi ptr [ %.06990.us, %vector.memcheck ], [ %.06990.us, %.preheader82.us ], [ %ind.end, %middle.block ]
  %.07284.us.ph = phi ptr [ %.06891.us, %vector.memcheck ], [ %.06891.us, %.preheader82.us ], [ %ind.end272, %middle.block ]
  %.07483.us.ph = phi ptr [ %5, %vector.memcheck ], [ %5, %.preheader82.us ], [ %ind.end274, %middle.block ]
  br label %scalar.ph

vector.memcheck:                                  ; preds = %.preheader82.us
  br i1 %conflict.rdx270, label %scalar.ph.preheader, label %vector.ph

vector.ph:                                        ; preds = %vector.memcheck
  %ind.end = getelementptr i8, ptr %.06990.us, i64 %35
  %ind.end272 = getelementptr i8, ptr %.06891.us, i64 %36
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %offset.idx = shl i64 %index, 4
  %next.gep = getelementptr i8, ptr %.06990.us, i64 %offset.idx
  %offset.idx276 = shl i64 %index, 4
  %next.gep277 = getelementptr i8, ptr %.06891.us, i64 %offset.idx276
  %offset.idx278 = shl i64 %index, 4
  %next.gep279 = getelementptr i8, ptr %5, i64 %offset.idx278
  %39 = load double, ptr %.07089.us, align 8, !tbaa !5, !alias.scope !9
  %broadcast.splatinsert = insertelement <2 x double> poison, double %39, i64 0
  %broadcast.splat = shufflevector <2 x double> %broadcast.splatinsert, <2 x double> poison, <2 x i32> zeroinitializer
  %wide.vec = load <4 x double>, ptr %next.gep279, align 8, !tbaa !5
  %strided.vec = shufflevector <4 x double> %wide.vec, <4 x double> poison, <2 x i32> <i32 0, i32 2>
  %strided.vec280 = shufflevector <4 x double> %wide.vec, <4 x double> poison, <2 x i32> <i32 1, i32 3>
  %wide.vec281 = load <4 x double>, ptr %next.gep277, align 8, !tbaa !5
  %strided.vec282 = shufflevector <4 x double> %wide.vec281, <4 x double> poison, <2 x i32> <i32 0, i32 2>
  %strided.vec283 = shufflevector <4 x double> %wide.vec281, <4 x double> poison, <2 x i32> <i32 1, i32 3>
  %40 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat, <2 x double> %strided.vec, <2 x double> %strided.vec282)
  %41 = load double, ptr %.07089.us, align 8, !tbaa !5, !alias.scope !9
  %broadcast.splatinsert284 = insertelement <2 x double> poison, double %41, i64 0
  %broadcast.splat285 = shufflevector <2 x double> %broadcast.splatinsert284, <2 x double> poison, <2 x i32> zeroinitializer
  %42 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat285, <2 x double> %strided.vec280, <2 x double> %strided.vec283)
  %interleaved.vec = shufflevector <2 x double> %40, <2 x double> %42, <4 x i32> <i32 0, i32 2, i32 1, i32 3>
  store <4 x double> %interleaved.vec, ptr %next.gep277, align 8, !tbaa !5
  %43 = load double, ptr %38, align 8, !tbaa !5, !alias.scope !12
  %broadcast.splatinsert292 = insertelement <2 x double> poison, double %43, i64 0
  %broadcast.splat293 = shufflevector <2 x double> %broadcast.splatinsert292, <2 x double> poison, <2 x i32> zeroinitializer
  %wide.vec286 = load <4 x double>, ptr %next.gep279, align 8, !tbaa !5
  %strided.vec287 = shufflevector <4 x double> %wide.vec286, <4 x double> poison, <2 x i32> <i32 0, i32 2>
  %strided.vec288 = shufflevector <4 x double> %wide.vec286, <4 x double> poison, <2 x i32> <i32 1, i32 3>
  %wide.vec289 = load <4 x double>, ptr %next.gep, align 8, !tbaa !5
  %strided.vec290 = shufflevector <4 x double> %wide.vec289, <4 x double> poison, <2 x i32> <i32 0, i32 2>
  %strided.vec291 = shufflevector <4 x double> %wide.vec289, <4 x double> poison, <2 x i32> <i32 1, i32 3>
  %44 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat293, <2 x double> %strided.vec287, <2 x double> %strided.vec290)
  %45 = load double, ptr %38, align 8, !tbaa !5, !alias.scope !12
  %broadcast.splatinsert294 = insertelement <2 x double> poison, double %45, i64 0
  %broadcast.splat295 = shufflevector <2 x double> %broadcast.splatinsert294, <2 x double> poison, <2 x i32> zeroinitializer
  %46 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat295, <2 x double> %strided.vec288, <2 x double> %strided.vec291)
  %interleaved.vec296 = shufflevector <2 x double> %44, <2 x double> %46, <4 x i32> <i32 0, i32 2, i32 1, i32 3>
  store <4 x double> %interleaved.vec296, ptr %next.gep, align 8, !tbaa !5
  %index.next = add nuw i64 %index, 2
  %47 = icmp eq i64 %index.next, %n.vec
  br i1 %47, label %middle.block, label %vector.body, !llvm.loop !14

middle.block:                                     ; preds = %vector.body
  br i1 %cmp.n, label %._crit_edge.us, label %scalar.ph.preheader

48:                                               ; preds = %._crit_edge.us
  %49 = load double, ptr %.07089.us, align 8, !tbaa !5
  %50 = load double, ptr %.lcssa142, align 8, !tbaa !5
  %51 = load double, ptr %.lcssa144, align 8, !tbaa !5
  %52 = tail call double @llvm.fmuladd.f64(double %49, double %50, double %51)
  store double %52, ptr %.lcssa144, align 8, !tbaa !5
  %53 = load double, ptr %38, align 8, !tbaa !5
  %54 = load double, ptr %.lcssa142, align 8, !tbaa !5
  %55 = load double, ptr %.lcssa143, align 8, !tbaa !5
  %56 = tail call double @llvm.fmuladd.f64(double %53, double %54, double %55)
  store double %56, ptr %.lcssa143, align 8, !tbaa !5
  br label %57

57:                                               ; preds = %48, %._crit_edge.us
  %58 = add nuw nsw i64 %.06692.us, 1
  %59 = getelementptr inbounds double, ptr %.06891.us, i64 %9
  %60 = getelementptr inbounds double, ptr %.06990.us, i64 %9
  %61 = getelementptr inbounds i8, ptr %.07089.us, i64 16
  %exitcond124.not = icmp eq i64 %58, %7
  br i1 %exitcond124.not, label %._crit_edge93, label %.preheader82.us, !llvm.loop !18

scalar.ph:                                        ; preds = %scalar.ph.preheader, %scalar.ph
  %.086.us = phi i64 [ %81, %scalar.ph ], [ %.086.us.ph, %scalar.ph.preheader ]
  %.07185.us = phi ptr [ %83, %scalar.ph ], [ %.07185.us.ph, %scalar.ph.preheader ]
  %.07284.us = phi ptr [ %82, %scalar.ph ], [ %.07284.us.ph, %scalar.ph.preheader ]
  %.07483.us = phi ptr [ %84, %scalar.ph ], [ %.07483.us.ph, %scalar.ph.preheader ]
  %62 = load double, ptr %.07089.us, align 8, !tbaa !5
  %63 = load double, ptr %.07483.us, align 8, !tbaa !5
  %64 = load double, ptr %.07284.us, align 8, !tbaa !5
  %65 = tail call double @llvm.fmuladd.f64(double %62, double %63, double %64)
  store double %65, ptr %.07284.us, align 8, !tbaa !5
  %66 = load double, ptr %.07089.us, align 8, !tbaa !5
  %67 = getelementptr inbounds i8, ptr %.07483.us, i64 8
  %68 = load double, ptr %67, align 8, !tbaa !5
  %69 = getelementptr inbounds i8, ptr %.07284.us, i64 8
  %70 = load double, ptr %69, align 8, !tbaa !5
  %71 = tail call double @llvm.fmuladd.f64(double %66, double %68, double %70)
  store double %71, ptr %69, align 8, !tbaa !5
  %72 = load double, ptr %38, align 8, !tbaa !5
  %73 = load double, ptr %.07483.us, align 8, !tbaa !5
  %74 = load double, ptr %.07185.us, align 8, !tbaa !5
  %75 = tail call double @llvm.fmuladd.f64(double %72, double %73, double %74)
  store double %75, ptr %.07185.us, align 8, !tbaa !5
  %76 = load double, ptr %38, align 8, !tbaa !5
  %77 = load double, ptr %67, align 8, !tbaa !5
  %78 = getelementptr inbounds i8, ptr %.07185.us, i64 8
  %79 = load double, ptr %78, align 8, !tbaa !5
  %80 = tail call double @llvm.fmuladd.f64(double %76, double %77, double %79)
  store double %80, ptr %78, align 8, !tbaa !5
  %81 = add nuw nsw i64 %.086.us, 1
  %82 = getelementptr inbounds i8, ptr %.07284.us, i64 16
  %83 = getelementptr inbounds i8, ptr %.07185.us, i64 16
  %84 = getelementptr inbounds i8, ptr %.07483.us, i64 16
  %exitcond123.not = icmp eq i64 %81, %8
  br i1 %exitcond123.not, label %._crit_edge.us, label %scalar.ph, !llvm.loop !19

._crit_edge.us:                                   ; preds = %scalar.ph, %middle.block
  %.lcssa144 = phi ptr [ %ind.end272, %middle.block ], [ %82, %scalar.ph ]
  %.lcssa143 = phi ptr [ %ind.end, %middle.block ], [ %83, %scalar.ph ]
  %.lcssa142 = phi ptr [ %ind.end274, %middle.block ], [ %84, %scalar.ph ]
  br i1 %.not79, label %57, label %48

.preheader82.lr.ph.split:                         ; preds = %.preheader82.lr.ph
  br i1 %.not79, label %.preheader82.us97.preheader, label %.preheader82.preheader

.preheader82.preheader:                           ; preds = %.preheader82.lr.ph.split
  %xtraiter = and i64 %7, 1
  %85 = and i64 %0, 9223372036854775806
  %86 = icmp eq i64 %85, 2
  br i1 %86, label %._crit_edge93.loopexit345.unr-lcssa, label %.preheader82.preheader.new

.preheader82.preheader.new:                       ; preds = %.preheader82.preheader
  %unroll_iter = and i64 %7, 4611686018427387902
  br label %.preheader82

.preheader82.us97.preheader:                      ; preds = %.preheader82.lr.ph.split
  %87 = mul i64 %7, %3
  %88 = shl i64 %87, 4
  %89 = shl i64 %7, 4
  %scevgep = getelementptr i8, ptr %2, i64 %88
  %scevgep122 = getelementptr i8, ptr %4, i64 %89
  br label %._crit_edge93

.preheader82:                                     ; preds = %.preheader82, %.preheader82.preheader.new
  %.06891 = phi ptr [ %2, %.preheader82.preheader.new ], [ %111, %.preheader82 ]
  %.06990 = phi ptr [ %13, %.preheader82.preheader.new ], [ %112, %.preheader82 ]
  %.07089 = phi ptr [ %4, %.preheader82.preheader.new ], [ %113, %.preheader82 ]
  %niter = phi i64 [ 0, %.preheader82.preheader.new ], [ %niter.next.1, %.preheader82 ]
  %90 = load double, ptr %.07089, align 8, !tbaa !5
  %91 = load double, ptr %5, align 8, !tbaa !5
  %92 = load double, ptr %.06891, align 8, !tbaa !5
  %93 = tail call double @llvm.fmuladd.f64(double %90, double %91, double %92)
  store double %93, ptr %.06891, align 8, !tbaa !5
  %94 = getelementptr inbounds i8, ptr %.07089, i64 8
  %95 = load double, ptr %94, align 8, !tbaa !5
  %96 = load double, ptr %5, align 8, !tbaa !5
  %97 = load double, ptr %.06990, align 8, !tbaa !5
  %98 = tail call double @llvm.fmuladd.f64(double %95, double %96, double %97)
  store double %98, ptr %.06990, align 8, !tbaa !5
  %99 = getelementptr inbounds double, ptr %.06891, i64 %9
  %100 = getelementptr inbounds double, ptr %.06990, i64 %9
  %101 = getelementptr inbounds i8, ptr %.07089, i64 16
  %102 = load double, ptr %101, align 8, !tbaa !5
  %103 = load double, ptr %5, align 8, !tbaa !5
  %104 = load double, ptr %99, align 8, !tbaa !5
  %105 = tail call double @llvm.fmuladd.f64(double %102, double %103, double %104)
  store double %105, ptr %99, align 8, !tbaa !5
  %106 = getelementptr inbounds i8, ptr %.07089, i64 24
  %107 = load double, ptr %106, align 8, !tbaa !5
  %108 = load double, ptr %5, align 8, !tbaa !5
  %109 = load double, ptr %100, align 8, !tbaa !5
  %110 = tail call double @llvm.fmuladd.f64(double %107, double %108, double %109)
  store double %110, ptr %100, align 8, !tbaa !5
  %111 = getelementptr inbounds double, ptr %99, i64 %9
  %112 = getelementptr inbounds double, ptr %100, i64 %9
  %113 = getelementptr inbounds i8, ptr %.07089, i64 32
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %._crit_edge93.loopexit345.unr-lcssa, label %.preheader82, !llvm.loop !18

._crit_edge93.loopexit345.unr-lcssa:              ; preds = %.preheader82, %.preheader82.preheader
  %.lcssa347.ph = phi ptr [ poison, %.preheader82.preheader ], [ %111, %.preheader82 ]
  %.lcssa346.ph = phi ptr [ poison, %.preheader82.preheader ], [ %113, %.preheader82 ]
  %.06891.unr = phi ptr [ %2, %.preheader82.preheader ], [ %111, %.preheader82 ]
  %.06990.unr = phi ptr [ %13, %.preheader82.preheader ], [ %112, %.preheader82 ]
  %.07089.unr = phi ptr [ %4, %.preheader82.preheader ], [ %113, %.preheader82 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge93, label %.preheader82.epil

.preheader82.epil:                                ; preds = %._crit_edge93.loopexit345.unr-lcssa
  %114 = load double, ptr %.07089.unr, align 8, !tbaa !5
  %115 = load double, ptr %5, align 8, !tbaa !5
  %116 = load double, ptr %.06891.unr, align 8, !tbaa !5
  %117 = tail call double @llvm.fmuladd.f64(double %114, double %115, double %116)
  store double %117, ptr %.06891.unr, align 8, !tbaa !5
  %118 = getelementptr inbounds i8, ptr %.07089.unr, i64 8
  %119 = load double, ptr %118, align 8, !tbaa !5
  %120 = load double, ptr %5, align 8, !tbaa !5
  %121 = load double, ptr %.06990.unr, align 8, !tbaa !5
  %122 = tail call double @llvm.fmuladd.f64(double %119, double %120, double %121)
  store double %122, ptr %.06990.unr, align 8, !tbaa !5
  %123 = getelementptr inbounds double, ptr %.06891.unr, i64 %9
  %124 = getelementptr inbounds i8, ptr %.07089.unr, i64 16
  br label %._crit_edge93

._crit_edge93:                                    ; preds = %.preheader82.epil, %._crit_edge93.loopexit345.unr-lcssa, %57, %.preheader82.us97.preheader
  %.070.lcssa = phi ptr [ %scevgep122, %.preheader82.us97.preheader ], [ %61, %57 ], [ %.lcssa346.ph, %._crit_edge93.loopexit345.unr-lcssa ], [ %124, %.preheader82.epil ]
  %.068.lcssa = phi ptr [ %scevgep, %.preheader82.us97.preheader ], [ %59, %57 ], [ %.lcssa347.ph, %._crit_edge93.loopexit345.unr-lcssa ], [ %123, %.preheader82.epil ]
  %125 = and i64 %0, 1
  %.not = icmp eq i64 %125, 0
  br i1 %.not, label %180, label %.preheader

.preheader:                                       ; preds = %12, %._crit_edge93
  %.068.lcssa130 = phi ptr [ %.068.lcssa, %._crit_edge93 ], [ %2, %12 ]
  %.070.lcssa129 = phi ptr [ %.070.lcssa, %._crit_edge93 ], [ %4, %12 ]
  %126 = icmp sgt i64 %1, 1
  br i1 %126, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %.preheader
  %min.iters.check310 = icmp ult i64 %8, 6
  br i1 %min.iters.check310, label %.lr.ph.preheader338, label %vector.memcheck297

vector.memcheck297:                               ; preds = %.lr.ph.preheader
  %127 = shl i64 %8, 4
  %scevgep298 = getelementptr i8, ptr %.068.lcssa130, i64 %127
  %scevgep299 = getelementptr i8, ptr %.070.lcssa129, i64 8
  %scevgep300 = getelementptr i8, ptr %5, i64 %127
  %bound0301 = icmp ult ptr %.068.lcssa130, %scevgep299
  %bound1302 = icmp ult ptr %.070.lcssa129, %scevgep298
  %found.conflict303 = and i1 %bound0301, %bound1302
  %bound0304 = icmp ult ptr %.068.lcssa130, %scevgep300
  %bound1305 = icmp ugt ptr %scevgep298, %5
  %found.conflict306 = and i1 %bound0304, %bound1305
  %conflict.rdx307 = or i1 %found.conflict303, %found.conflict306
  br i1 %conflict.rdx307, label %.lr.ph.preheader338, label %vector.ph311

vector.ph311:                                     ; preds = %vector.memcheck297
  %n.vec313 = and i64 %8, 4611686018427387902
  %128 = shl i64 %n.vec313, 4
  %ind.end315 = getelementptr i8, ptr %.068.lcssa130, i64 %128
  %129 = shl i64 %n.vec313, 4
  %ind.end317 = getelementptr i8, ptr %5, i64 %129
  br label %vector.body319

vector.body319:                                   ; preds = %vector.body319, %vector.ph311
  %index320 = phi i64 [ 0, %vector.ph311 ], [ %index.next336, %vector.body319 ]
  %offset.idx321 = shl i64 %index320, 4
  %next.gep322 = getelementptr i8, ptr %.068.lcssa130, i64 %offset.idx321
  %offset.idx323 = shl i64 %index320, 4
  %next.gep324 = getelementptr i8, ptr %5, i64 %offset.idx323
  %130 = load double, ptr %.070.lcssa129, align 8, !tbaa !5, !alias.scope !20
  %broadcast.splatinsert331 = insertelement <2 x double> poison, double %130, i64 0
  %broadcast.splat332 = shufflevector <2 x double> %broadcast.splatinsert331, <2 x double> poison, <2 x i32> zeroinitializer
  %wide.vec325 = load <4 x double>, ptr %next.gep324, align 8, !tbaa !5
  %strided.vec326 = shufflevector <4 x double> %wide.vec325, <4 x double> poison, <2 x i32> <i32 0, i32 2>
  %strided.vec327 = shufflevector <4 x double> %wide.vec325, <4 x double> poison, <2 x i32> <i32 1, i32 3>
  %wide.vec328 = load <4 x double>, ptr %next.gep322, align 8, !tbaa !5
  %strided.vec329 = shufflevector <4 x double> %wide.vec328, <4 x double> poison, <2 x i32> <i32 0, i32 2>
  %strided.vec330 = shufflevector <4 x double> %wide.vec328, <4 x double> poison, <2 x i32> <i32 1, i32 3>
  %131 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat332, <2 x double> %strided.vec326, <2 x double> %strided.vec329)
  %132 = load double, ptr %.070.lcssa129, align 8, !tbaa !5, !alias.scope !20
  %broadcast.splatinsert333 = insertelement <2 x double> poison, double %132, i64 0
  %broadcast.splat334 = shufflevector <2 x double> %broadcast.splatinsert333, <2 x double> poison, <2 x i32> zeroinitializer
  %133 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %broadcast.splat334, <2 x double> %strided.vec327, <2 x double> %strided.vec330)
  %interleaved.vec335 = shufflevector <2 x double> %131, <2 x double> %133, <4 x i32> <i32 0, i32 2, i32 1, i32 3>
  store <4 x double> %interleaved.vec335, ptr %next.gep322, align 8, !tbaa !5
  %index.next336 = add nuw i64 %index320, 2
  %134 = icmp eq i64 %index.next336, %n.vec313
  br i1 %134, label %middle.block308, label %vector.body319, !llvm.loop !23

middle.block308:                                  ; preds = %vector.body319
  %cmp.n337 = icmp eq i64 %8, %n.vec313
  br i1 %cmp.n337, label %._crit_edge, label %.lr.ph.preheader338

.lr.ph.preheader338:                              ; preds = %middle.block308, %vector.memcheck297, %.lr.ph.preheader
  %.1108.ph = phi i64 [ 0, %vector.memcheck297 ], [ 0, %.lr.ph.preheader ], [ %n.vec313, %middle.block308 ]
  %.173107.ph = phi ptr [ %.068.lcssa130, %vector.memcheck297 ], [ %.068.lcssa130, %.lr.ph.preheader ], [ %ind.end315, %middle.block308 ]
  %.175106.ph = phi ptr [ %5, %vector.memcheck297 ], [ %5, %.lr.ph.preheader ], [ %ind.end317, %middle.block308 ]
  %.neg = or disjoint i64 %.1108.ph, 1
  %xtraiter350 = and i64 %8, 1
  %lcmp.mod351.not = icmp eq i64 %xtraiter350, 0
  br i1 %lcmp.mod351.not, label %.lr.ph.prol.loopexit, label %.lr.ph.prol

.lr.ph.prol:                                      ; preds = %.lr.ph.preheader338
  %135 = load double, ptr %.070.lcssa129, align 8, !tbaa !5
  %136 = load double, ptr %.175106.ph, align 8, !tbaa !5
  %137 = load double, ptr %.173107.ph, align 8, !tbaa !5
  %138 = tail call double @llvm.fmuladd.f64(double %135, double %136, double %137)
  store double %138, ptr %.173107.ph, align 8, !tbaa !5
  %139 = load double, ptr %.070.lcssa129, align 8, !tbaa !5
  %140 = getelementptr inbounds i8, ptr %.175106.ph, i64 8
  %141 = load double, ptr %140, align 8, !tbaa !5
  %142 = getelementptr inbounds i8, ptr %.173107.ph, i64 8
  %143 = load double, ptr %142, align 8, !tbaa !5
  %144 = tail call double @llvm.fmuladd.f64(double %139, double %141, double %143)
  store double %144, ptr %142, align 8, !tbaa !5
  %145 = or disjoint i64 %.1108.ph, 1
  %146 = getelementptr inbounds i8, ptr %.173107.ph, i64 16
  %147 = getelementptr inbounds i8, ptr %.175106.ph, i64 16
  br label %.lr.ph.prol.loopexit

.lr.ph.prol.loopexit:                             ; preds = %.lr.ph.prol, %.lr.ph.preheader338
  %.lcssa339.unr = phi ptr [ poison, %.lr.ph.preheader338 ], [ %146, %.lr.ph.prol ]
  %.lcssa.unr = phi ptr [ poison, %.lr.ph.preheader338 ], [ %147, %.lr.ph.prol ]
  %.1108.unr = phi i64 [ %.1108.ph, %.lr.ph.preheader338 ], [ %145, %.lr.ph.prol ]
  %.173107.unr = phi ptr [ %.173107.ph, %.lr.ph.preheader338 ], [ %146, %.lr.ph.prol ]
  %.175106.unr = phi ptr [ %.175106.ph, %.lr.ph.preheader338 ], [ %147, %.lr.ph.prol ]
  %148 = icmp eq i64 %8, %.neg
  br i1 %148, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.prol.loopexit, %.lr.ph
  %.1108 = phi i64 [ %171, %.lr.ph ], [ %.1108.unr, %.lr.ph.prol.loopexit ]
  %.173107 = phi ptr [ %172, %.lr.ph ], [ %.173107.unr, %.lr.ph.prol.loopexit ]
  %.175106 = phi ptr [ %173, %.lr.ph ], [ %.175106.unr, %.lr.ph.prol.loopexit ]
  %149 = load double, ptr %.070.lcssa129, align 8, !tbaa !5
  %150 = load double, ptr %.175106, align 8, !tbaa !5
  %151 = load double, ptr %.173107, align 8, !tbaa !5
  %152 = tail call double @llvm.fmuladd.f64(double %149, double %150, double %151)
  store double %152, ptr %.173107, align 8, !tbaa !5
  %153 = load double, ptr %.070.lcssa129, align 8, !tbaa !5
  %154 = getelementptr inbounds i8, ptr %.175106, i64 8
  %155 = load double, ptr %154, align 8, !tbaa !5
  %156 = getelementptr inbounds i8, ptr %.173107, i64 8
  %157 = load double, ptr %156, align 8, !tbaa !5
  %158 = tail call double @llvm.fmuladd.f64(double %153, double %155, double %157)
  store double %158, ptr %156, align 8, !tbaa !5
  %159 = getelementptr inbounds i8, ptr %.173107, i64 16
  %160 = getelementptr inbounds i8, ptr %.175106, i64 16
  %161 = load double, ptr %.070.lcssa129, align 8, !tbaa !5
  %162 = load double, ptr %160, align 8, !tbaa !5
  %163 = load double, ptr %159, align 8, !tbaa !5
  %164 = tail call double @llvm.fmuladd.f64(double %161, double %162, double %163)
  store double %164, ptr %159, align 8, !tbaa !5
  %165 = load double, ptr %.070.lcssa129, align 8, !tbaa !5
  %166 = getelementptr inbounds i8, ptr %.175106, i64 24
  %167 = load double, ptr %166, align 8, !tbaa !5
  %168 = getelementptr inbounds i8, ptr %.173107, i64 24
  %169 = load double, ptr %168, align 8, !tbaa !5
  %170 = tail call double @llvm.fmuladd.f64(double %165, double %167, double %169)
  store double %170, ptr %168, align 8, !tbaa !5
  %171 = add nuw nsw i64 %.1108, 2
  %172 = getelementptr inbounds i8, ptr %.173107, i64 32
  %173 = getelementptr inbounds i8, ptr %.175106, i64 32
  %exitcond125.not.1 = icmp eq i64 %171, %8
  br i1 %exitcond125.not.1, label %._crit_edge, label %.lr.ph, !llvm.loop !24

._crit_edge:                                      ; preds = %.lr.ph.prol.loopexit, %.lr.ph, %middle.block308, %.preheader
  %.175.lcssa = phi ptr [ %5, %.preheader ], [ %ind.end317, %middle.block308 ], [ %.lcssa.unr, %.lr.ph.prol.loopexit ], [ %173, %.lr.ph ]
  %.173.lcssa = phi ptr [ %.068.lcssa130, %.preheader ], [ %ind.end315, %middle.block308 ], [ %.lcssa339.unr, %.lr.ph.prol.loopexit ], [ %172, %.lr.ph ]
  %174 = and i64 %1, 1
  %.not78 = icmp eq i64 %174, 0
  br i1 %.not78, label %180, label %175

175:                                              ; preds = %._crit_edge
  %176 = load double, ptr %.070.lcssa129, align 8, !tbaa !5
  %177 = load double, ptr %.175.lcssa, align 8, !tbaa !5
  %178 = load double, ptr %.173.lcssa, align 8, !tbaa !5
  %179 = tail call double @llvm.fmuladd.f64(double %176, double %177, double %178)
  store double %179, ptr %.173.lcssa, align 8, !tbaa !5
  br label %180

180:                                              ; preds = %._crit_edge93, %175, %._crit_edge, %6
  ret i1 %or.cond.not
}

; 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 = { mustprogress nofree norecurse nosync nounwind memory(readwrite, 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 #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++ 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}
!19 = distinct !{!19, !15, !16}
!20 = !{!21}
!21 = distinct !{!21, !22}
!22 = distinct !{!22, !"LVerDomain"}
!23 = distinct !{!23, !15, !16, !17}
!24 = distinct !{!24, !15, !16}


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