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

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@.str = external hidden unnamed_addr constant [14 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [85 x i8], align 1
@__PRETTY_FUNCTION__.stream_vector_copy_ = external hidden unnamed_addr constant [64 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @stream_vector_copy_(ptr noundef %0, ptr noundef %1, ptr noundef %2) #0 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  store i32 0, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  store i32 0, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  store i32 0, ptr %9, align 4, !tbaa !9
  %10 = load ptr, ptr %6, align 8, !tbaa !5
  %11 = icmp ne ptr null, %10
  br i1 %11, label %12, label %13

12:                                               ; preds = %3
  br label %14

13:                                               ; preds = %3
  call void @__assert_fail(ptr noundef @.str, ptr noundef @.str.1, i32 noundef 42, ptr noundef @__PRETTY_FUNCTION__.stream_vector_copy_) #5
  unreachable

14:                                               ; preds = %12
  %15 = load ptr, ptr %6, align 8, !tbaa !5
  %16 = load i32, ptr %15, align 4, !tbaa !9
  %17 = load ptr, ptr %5, align 8, !tbaa !5
  %18 = ptrtoint ptr %17 to i64
  call void @stream_init(i32 noundef %16, i64 noundef %18, ptr noundef %8, ptr noundef %9)
  br label %19

19:                                               ; preds = %33, %14
  %20 = load i32, ptr %7, align 4, !tbaa !9
  %21 = load i32, ptr %8, align 4, !tbaa !9
  %22 = icmp slt i32 %20, %21
  br i1 %22, label %23, label %36

23:                                               ; preds = %19
  %24 = load ptr, ptr %4, align 8, !tbaa !5
  %25 = load i32, ptr %7, align 4, !tbaa !9
  %26 = sext i32 %25 to i64
  %27 = getelementptr inbounds double, ptr %24, i64 %26
  %28 = load double, ptr %27, align 8, !tbaa !11
  %29 = load ptr, ptr %5, align 8, !tbaa !5
  %30 = load i32, ptr %7, align 4, !tbaa !9
  %31 = sext i32 %30 to i64
  %32 = getelementptr inbounds double, ptr %29, i64 %31
  store double %28, ptr %32, align 8, !tbaa !11
  br label %33

33:                                               ; preds = %23
  %34 = load i32, ptr %7, align 4, !tbaa !9
  %35 = add nsw i32 %34, 1
  store i32 %35, ptr %7, align 4, !tbaa !9
  br label %19, !llvm.loop !13

36:                                               ; preds = %19
  br label %37

37:                                               ; preds = %51, %36
  %38 = load i32, ptr %7, align 4, !tbaa !9
  %39 = load i32, ptr %9, align 4, !tbaa !9
  %40 = icmp slt i32 %38, %39
  br i1 %40, label %41, label %54

41:                                               ; preds = %37
  %42 = load ptr, ptr %4, align 8, !tbaa !5
  %43 = load i32, ptr %7, align 4, !tbaa !9
  %44 = sext i32 %43 to i64
  %45 = getelementptr inbounds double, ptr %42, i64 %44
  %46 = load double, ptr %45, align 8, !tbaa !11
  %47 = load ptr, ptr %5, align 8, !tbaa !5
  %48 = load i32, ptr %7, align 4, !tbaa !9
  %49 = sext i32 %48 to i64
  %50 = getelementptr inbounds double, ptr %47, i64 %49
  store double %46, ptr %50, align 8, !tbaa !11
  br label %51

51:                                               ; preds = %41
  %52 = load i32, ptr %7, align 4, !tbaa !9
  %53 = add nsw i32 %52, 1
  store i32 %53, ptr %7, align 4, !tbaa !9
  br label %37, !llvm.loop !15

54:                                               ; preds = %37
  br label %55

55:                                               ; preds = %70, %54
  %56 = load i32, ptr %7, align 4, !tbaa !9
  %57 = load ptr, ptr %6, align 8, !tbaa !5
  %58 = load i32, ptr %57, align 4, !tbaa !9
  %59 = icmp slt i32 %56, %58
  br i1 %59, label %60, label %73

60:                                               ; preds = %55
  %61 = load ptr, ptr %4, align 8, !tbaa !5
  %62 = load i32, ptr %7, align 4, !tbaa !9
  %63 = sext i32 %62 to i64
  %64 = getelementptr inbounds double, ptr %61, i64 %63
  %65 = load double, ptr %64, align 8, !tbaa !11
  %66 = load ptr, ptr %5, align 8, !tbaa !5
  %67 = load i32, ptr %7, align 4, !tbaa !9
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds double, ptr %66, i64 %68
  store double %65, ptr %69, align 8, !tbaa !11
  br label %70

70:                                               ; preds = %60
  %71 = load i32, ptr %7, align 4, !tbaa !9
  %72 = add nsw i32 %71, 1
  store i32 %72, ptr %7, align 4, !tbaa !9
  br label %55, !llvm.loop !16

73:                                               ; preds = %55
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  ret void
}

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

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

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

; 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 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }
attributes #5 = { noreturn nounwind }

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

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


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

@.str = external hidden unnamed_addr constant [14 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [85 x i8], align 1
@__PRETTY_FUNCTION__.stream_vector_copy_ = external hidden unnamed_addr constant [64 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @stream_vector_copy_(ptr nocapture noundef readonly %0, ptr noundef %1, ptr noundef readonly %2) local_unnamed_addr #0 {
  %4 = ptrtoint ptr %0 to i64
  %5 = ptrtoint ptr %1 to i64
  %6 = ptrtoint ptr %0 to i64
  %7 = ptrtoint ptr %1 to i64
  %8 = ptrtoint ptr %0 to i64
  %9 = ptrtoint ptr %1 to i64
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #4
  store i32 0, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %11) #4
  store i32 0, ptr %11, align 4, !tbaa !5
  %.not = icmp eq ptr %2, null
  br i1 %.not, label %12, label %13

12:                                               ; preds = %3
  tail call void @__assert_fail(ptr noundef nonnull @.str, ptr noundef nonnull @.str.1, i32 noundef 42, ptr noundef nonnull @__PRETTY_FUNCTION__.stream_vector_copy_) #5
  unreachable

13:                                               ; preds = %3
  %14 = load i32, ptr %2, align 4, !tbaa !5
  %15 = ptrtoint ptr %1 to i64
  call void @stream_init(i32 noundef %14, i64 noundef %15, ptr noundef nonnull %10, ptr noundef nonnull %11)
  %16 = load i32, ptr %10, align 4, !tbaa !5
  %17 = icmp sgt i32 %16, 0
  br i1 %17, label %.lr.ph.preheader, label %.preheader22

.lr.ph.preheader:                                 ; preds = %13
  %wide.trip.count = zext nneg i32 %16 to i64
  %min.iters.check = icmp ult i32 %16, 6
  %18 = sub i64 %9, %8
  %diff.check = icmp ult i64 %18, 32
  %or.cond = or i1 %min.iters.check, %diff.check
  br i1 %or.cond, label %.lr.ph.preheader78, label %vector.ph

.lr.ph.preheader78:                               ; preds = %middle.block, %.lr.ph.preheader
  %indvars.iv.ph = phi i64 [ 0, %.lr.ph.preheader ], [ %n.vec, %middle.block ]
  %xtraiter = and i64 %wide.trip.count, 3
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.lr.ph.prol.loopexit, label %.lr.ph.prol

.lr.ph.prol:                                      ; preds = %.lr.ph.preheader78, %.lr.ph.prol
  %indvars.iv.prol = phi i64 [ %indvars.iv.next.prol, %.lr.ph.prol ], [ %indvars.iv.ph, %.lr.ph.preheader78 ]
  %prol.iter = phi i64 [ %prol.iter.next, %.lr.ph.prol ], [ 0, %.lr.ph.preheader78 ]
  %19 = getelementptr inbounds double, ptr %0, i64 %indvars.iv.prol
  %20 = load double, ptr %19, align 8, !tbaa !9
  %21 = getelementptr inbounds double, ptr %1, i64 %indvars.iv.prol
  store double %20, ptr %21, align 8, !tbaa !9
  %indvars.iv.next.prol = add nuw nsw i64 %indvars.iv.prol, 1
  %prol.iter.next = add i64 %prol.iter, 1
  %prol.iter.cmp.not = icmp eq i64 %prol.iter.next, %xtraiter
  br i1 %prol.iter.cmp.not, label %.lr.ph.prol.loopexit, label %.lr.ph.prol, !llvm.loop !11

.lr.ph.prol.loopexit:                             ; preds = %.lr.ph.prol, %.lr.ph.preheader78
  %indvars.iv.unr = phi i64 [ %indvars.iv.ph, %.lr.ph.preheader78 ], [ %indvars.iv.next.prol, %.lr.ph.prol ]
  %22 = sub nsw i64 %indvars.iv.ph, %wide.trip.count
  %23 = icmp ugt i64 %22, -4
  br i1 %23, label %.preheader22, label %.lr.ph

vector.ph:                                        ; preds = %.lr.ph.preheader
  %n.vec = and i64 %wide.trip.count, 2147483644
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %24 = getelementptr inbounds double, ptr %0, i64 %index
  %25 = getelementptr inbounds i8, ptr %24, i64 16
  %wide.load = load <2 x double>, ptr %24, align 8, !tbaa !9
  %wide.load41 = load <2 x double>, ptr %25, align 8, !tbaa !9
  %26 = getelementptr inbounds double, ptr %1, i64 %index
  %27 = getelementptr inbounds i8, ptr %26, i64 16
  store <2 x double> %wide.load, ptr %26, align 8, !tbaa !9
  store <2 x double> %wide.load41, ptr %27, align 8, !tbaa !9
  %index.next = add nuw i64 %index, 4
  %28 = icmp eq i64 %index.next, %n.vec
  br i1 %28, label %middle.block, label %vector.body, !llvm.loop !13

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

.preheader22:                                     ; preds = %.lr.ph.prol.loopexit, %.lr.ph, %middle.block, %13
  %.0.lcssa = phi i32 [ 0, %13 ], [ %16, %middle.block ], [ %16, %.lr.ph ], [ %16, %.lr.ph.prol.loopexit ]
  %29 = load i32, ptr %11, align 4, !tbaa !5
  %30 = icmp slt i32 %.0.lcssa, %29
  br i1 %30, label %.lr.ph25.preheader, label %.preheader

.lr.ph25.preheader:                               ; preds = %.preheader22
  %31 = zext nneg i32 %.0.lcssa to i64
  %wide.trip.count35 = zext i32 %29 to i64
  %32 = sub nsw i64 %wide.trip.count35, %31
  %min.iters.check46 = icmp ult i64 %32, 6
  %33 = sub i64 %7, %6
  %diff.check43 = icmp ult i64 %33, 32
  %or.cond74 = or i1 %min.iters.check46, %diff.check43
  br i1 %or.cond74, label %.lr.ph25.preheader77, label %vector.ph47

.lr.ph25.preheader77:                             ; preds = %middle.block44, %.lr.ph25.preheader
  %indvars.iv32.ph = phi i64 [ %31, %.lr.ph25.preheader ], [ %ind.end, %middle.block44 ]
  %34 = sub nsw i64 %wide.trip.count35, %indvars.iv32.ph
  %xtraiter79 = and i64 %34, 3
  %lcmp.mod80.not = icmp eq i64 %xtraiter79, 0
  br i1 %lcmp.mod80.not, label %.lr.ph25.prol.loopexit, label %.lr.ph25.prol

.lr.ph25.prol:                                    ; preds = %.lr.ph25.preheader77, %.lr.ph25.prol
  %indvars.iv32.prol = phi i64 [ %indvars.iv.next33.prol, %.lr.ph25.prol ], [ %indvars.iv32.ph, %.lr.ph25.preheader77 ]
  %prol.iter81 = phi i64 [ %prol.iter81.next, %.lr.ph25.prol ], [ 0, %.lr.ph25.preheader77 ]
  %35 = getelementptr inbounds double, ptr %0, i64 %indvars.iv32.prol
  %36 = load double, ptr %35, align 8, !tbaa !9
  %37 = getelementptr inbounds double, ptr %1, i64 %indvars.iv32.prol
  store double %36, ptr %37, align 8, !tbaa !9
  %indvars.iv.next33.prol = add nuw nsw i64 %indvars.iv32.prol, 1
  %prol.iter81.next = add i64 %prol.iter81, 1
  %prol.iter81.cmp.not = icmp eq i64 %prol.iter81.next, %xtraiter79
  br i1 %prol.iter81.cmp.not, label %.lr.ph25.prol.loopexit, label %.lr.ph25.prol, !llvm.loop !17

.lr.ph25.prol.loopexit:                           ; preds = %.lr.ph25.prol, %.lr.ph25.preheader77
  %indvars.iv32.unr = phi i64 [ %indvars.iv32.ph, %.lr.ph25.preheader77 ], [ %indvars.iv.next33.prol, %.lr.ph25.prol ]
  %38 = sub nsw i64 %indvars.iv32.ph, %wide.trip.count35
  %39 = icmp ugt i64 %38, -4
  br i1 %39, label %.preheader, label %.lr.ph25

vector.ph47:                                      ; preds = %.lr.ph25.preheader
  %n.vec49 = and i64 %32, -4
  %ind.end = add nsw i64 %n.vec49, %31
  br label %vector.body51

vector.body51:                                    ; preds = %vector.body51, %vector.ph47
  %index52 = phi i64 [ 0, %vector.ph47 ], [ %index.next55, %vector.body51 ]
  %offset.idx = add i64 %index52, %31
  %40 = getelementptr inbounds double, ptr %0, i64 %offset.idx
  %41 = getelementptr inbounds i8, ptr %40, i64 16
  %wide.load53 = load <2 x double>, ptr %40, align 8, !tbaa !9
  %wide.load54 = load <2 x double>, ptr %41, align 8, !tbaa !9
  %42 = getelementptr inbounds double, ptr %1, i64 %offset.idx
  %43 = getelementptr inbounds i8, ptr %42, i64 16
  store <2 x double> %wide.load53, ptr %42, align 8, !tbaa !9
  store <2 x double> %wide.load54, ptr %43, align 8, !tbaa !9
  %index.next55 = add nuw i64 %index52, 4
  %44 = icmp eq i64 %index.next55, %n.vec49
  br i1 %44, label %middle.block44, label %vector.body51, !llvm.loop !18

middle.block44:                                   ; preds = %vector.body51
  %cmp.n56 = icmp eq i64 %32, %n.vec49
  br i1 %cmp.n56, label %.preheader, label %.lr.ph25.preheader77

.lr.ph:                                           ; preds = %.lr.ph.prol.loopexit, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next.3, %.lr.ph ], [ %indvars.iv.unr, %.lr.ph.prol.loopexit ]
  %45 = getelementptr inbounds double, ptr %0, i64 %indvars.iv
  %46 = load double, ptr %45, align 8, !tbaa !9
  %47 = getelementptr inbounds double, ptr %1, i64 %indvars.iv
  store double %46, ptr %47, align 8, !tbaa !9
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %48 = getelementptr inbounds double, ptr %0, i64 %indvars.iv.next
  %49 = load double, ptr %48, align 8, !tbaa !9
  %50 = getelementptr inbounds double, ptr %1, i64 %indvars.iv.next
  store double %49, ptr %50, align 8, !tbaa !9
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %51 = getelementptr inbounds double, ptr %0, i64 %indvars.iv.next.1
  %52 = load double, ptr %51, align 8, !tbaa !9
  %53 = getelementptr inbounds double, ptr %1, i64 %indvars.iv.next.1
  store double %52, ptr %53, align 8, !tbaa !9
  %indvars.iv.next.2 = add nuw nsw i64 %indvars.iv, 3
  %54 = getelementptr inbounds double, ptr %0, i64 %indvars.iv.next.2
  %55 = load double, ptr %54, align 8, !tbaa !9
  %56 = getelementptr inbounds double, ptr %1, i64 %indvars.iv.next.2
  store double %55, ptr %56, align 8, !tbaa !9
  %indvars.iv.next.3 = add nuw nsw i64 %indvars.iv, 4
  %exitcond.not.3 = icmp eq i64 %indvars.iv.next.3, %wide.trip.count
  br i1 %exitcond.not.3, label %.preheader22, label %.lr.ph, !llvm.loop !19

.preheader:                                       ; preds = %.lr.ph25.prol.loopexit, %.lr.ph25, %middle.block44, %.preheader22
  %.1.lcssa = phi i32 [ %.0.lcssa, %.preheader22 ], [ %29, %middle.block44 ], [ %29, %.lr.ph25 ], [ %29, %.lr.ph25.prol.loopexit ]
  %57 = load i32, ptr %2, align 4, !tbaa !5
  %58 = icmp slt i32 %.1.lcssa, %57
  br i1 %58, label %.lr.ph28.preheader, label %._crit_edge

.lr.ph28.preheader:                               ; preds = %.preheader
  %59 = zext i32 %.1.lcssa to i64
  %60 = xor i32 %.1.lcssa, -1
  %61 = add i32 %57, %60
  %62 = zext i32 %61 to i64
  %63 = add nuw nsw i64 %62, 1
  %min.iters.check61 = icmp ult i32 %61, 5
  %64 = sub i64 %5, %4
  %diff.check58 = icmp ult i64 %64, 32
  %or.cond75 = or i1 %min.iters.check61, %diff.check58
  br i1 %or.cond75, label %.lr.ph28.preheader76, label %vector.ph62

.lr.ph28.preheader76:                             ; preds = %middle.block59, %.lr.ph28.preheader
  %indvars.iv38.ph = phi i64 [ %59, %.lr.ph28.preheader ], [ %ind.end65, %middle.block59 ]
  br label %.lr.ph28

vector.ph62:                                      ; preds = %.lr.ph28.preheader
  %n.vec64 = and i64 %63, 8589934588
  %ind.end65 = add nuw nsw i64 %n.vec64, %59
  br label %vector.body67

vector.body67:                                    ; preds = %vector.body67, %vector.ph62
  %index68 = phi i64 [ 0, %vector.ph62 ], [ %index.next72, %vector.body67 ]
  %offset.idx69 = add i64 %index68, %59
  %65 = getelementptr inbounds double, ptr %0, i64 %offset.idx69
  %66 = getelementptr inbounds i8, ptr %65, i64 16
  %wide.load70 = load <2 x double>, ptr %65, align 8, !tbaa !9
  %wide.load71 = load <2 x double>, ptr %66, align 8, !tbaa !9
  %67 = getelementptr inbounds double, ptr %1, i64 %offset.idx69
  %68 = getelementptr inbounds i8, ptr %67, i64 16
  store <2 x double> %wide.load70, ptr %67, align 8, !tbaa !9
  store <2 x double> %wide.load71, ptr %68, align 8, !tbaa !9
  %index.next72 = add nuw i64 %index68, 4
  %69 = icmp eq i64 %index.next72, %n.vec64
  br i1 %69, label %middle.block59, label %vector.body67, !llvm.loop !20

middle.block59:                                   ; preds = %vector.body67
  %cmp.n73 = icmp eq i64 %63, %n.vec64
  br i1 %cmp.n73, label %._crit_edge, label %.lr.ph28.preheader76

.lr.ph25:                                         ; preds = %.lr.ph25.prol.loopexit, %.lr.ph25
  %indvars.iv32 = phi i64 [ %indvars.iv.next33.3, %.lr.ph25 ], [ %indvars.iv32.unr, %.lr.ph25.prol.loopexit ]
  %70 = getelementptr inbounds double, ptr %0, i64 %indvars.iv32
  %71 = load double, ptr %70, align 8, !tbaa !9
  %72 = getelementptr inbounds double, ptr %1, i64 %indvars.iv32
  store double %71, ptr %72, align 8, !tbaa !9
  %indvars.iv.next33 = add nuw nsw i64 %indvars.iv32, 1
  %73 = getelementptr inbounds double, ptr %0, i64 %indvars.iv.next33
  %74 = load double, ptr %73, align 8, !tbaa !9
  %75 = getelementptr inbounds double, ptr %1, i64 %indvars.iv.next33
  store double %74, ptr %75, align 8, !tbaa !9
  %indvars.iv.next33.1 = add nuw nsw i64 %indvars.iv32, 2
  %76 = getelementptr inbounds double, ptr %0, i64 %indvars.iv.next33.1
  %77 = load double, ptr %76, align 8, !tbaa !9
  %78 = getelementptr inbounds double, ptr %1, i64 %indvars.iv.next33.1
  store double %77, ptr %78, align 8, !tbaa !9
  %indvars.iv.next33.2 = add nuw nsw i64 %indvars.iv32, 3
  %79 = getelementptr inbounds double, ptr %0, i64 %indvars.iv.next33.2
  %80 = load double, ptr %79, align 8, !tbaa !9
  %81 = getelementptr inbounds double, ptr %1, i64 %indvars.iv.next33.2
  store double %80, ptr %81, align 8, !tbaa !9
  %indvars.iv.next33.3 = add nuw nsw i64 %indvars.iv32, 4
  %exitcond36.not.3 = icmp eq i64 %indvars.iv.next33.3, %wide.trip.count35
  br i1 %exitcond36.not.3, label %.preheader, label %.lr.ph25, !llvm.loop !21

.lr.ph28:                                         ; preds = %.lr.ph28.preheader76, %.lr.ph28
  %indvars.iv38 = phi i64 [ %indvars.iv.next39, %.lr.ph28 ], [ %indvars.iv38.ph, %.lr.ph28.preheader76 ]
  %82 = getelementptr inbounds double, ptr %0, i64 %indvars.iv38
  %83 = load double, ptr %82, align 8, !tbaa !9
  %84 = getelementptr inbounds double, ptr %1, i64 %indvars.iv38
  store double %83, ptr %84, align 8, !tbaa !9
  %indvars.iv.next39 = add nuw nsw i64 %indvars.iv38, 1
  %85 = trunc nuw i64 %indvars.iv.next39 to i32
  %86 = icmp sgt i32 %57, %85
  br i1 %86, label %.lr.ph28, label %._crit_edge, !llvm.loop !22

._crit_edge:                                      ; preds = %.lr.ph28, %middle.block59, %.preheader
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #4
  ret void
}

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

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

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

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

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

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


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