; LLVM IR from atlantis13579/Riemann :: Src/Destruction/GraphPartition.ll (ZN5metis23ComputeLoadImbalanceVecEPNS_7graph_tEiPfS2_)

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

%"struct.metis::graph_t" = type { i32, i32, i32, %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.7", %"class.std::vector", %"class.std::vector", i32, i32, %"class.std::vector", %"class.std::vector", i32, %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector", %"class.std::vector.12", %"class.std::vector.17", %"class.std::vector.22", i32, ptr, ptr }
%"class.std::vector.7" = type { %"struct.std::_Vector_base.8" }
%"struct.std::_Vector_base.8" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl" = type { %"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" }
%"struct.std::_Vector_base<float, std::allocator<float>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector" = type { %"struct.std::_Vector_base" }
%"struct.std::_Vector_base" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl" = type { %"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" }
%"struct.std::_Vector_base<int, std::allocator<int>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.12" = type { %"struct.std::_Vector_base.13" }
%"struct.std::_Vector_base.13" = type { %"struct.std::_Vector_base<metis::ckrinfo_t, std::allocator<metis::ckrinfo_t>>::_Vector_impl" }
%"struct.std::_Vector_base<metis::ckrinfo_t, std::allocator<metis::ckrinfo_t>>::_Vector_impl" = type { %"struct.std::_Vector_base<metis::ckrinfo_t, std::allocator<metis::ckrinfo_t>>::_Vector_impl_data" }
%"struct.std::_Vector_base<metis::ckrinfo_t, std::allocator<metis::ckrinfo_t>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.17" = type { %"struct.std::_Vector_base.18" }
%"struct.std::_Vector_base.18" = type { %"struct.std::_Vector_base<metis::vkrinfo_t, std::allocator<metis::vkrinfo_t>>::_Vector_impl" }
%"struct.std::_Vector_base<metis::vkrinfo_t, std::allocator<metis::vkrinfo_t>>::_Vector_impl" = type { %"struct.std::_Vector_base<metis::vkrinfo_t, std::allocator<metis::vkrinfo_t>>::_Vector_impl_data" }
%"struct.std::_Vector_base<metis::vkrinfo_t, std::allocator<metis::vkrinfo_t>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::vector.22" = type { %"struct.std::_Vector_base.23" }
%"struct.std::_Vector_base.23" = type { %"struct.std::_Vector_base<metis::nrinfo_t, std::allocator<metis::nrinfo_t>>::_Vector_impl" }
%"struct.std::_Vector_base<metis::nrinfo_t, std::allocator<metis::nrinfo_t>>::_Vector_impl" = type { %"struct.std::_Vector_base<metis::nrinfo_t, std::allocator<metis::nrinfo_t>>::_Vector_impl_data" }
%"struct.std::_Vector_base<metis::nrinfo_t, std::allocator<metis::nrinfo_t>>::_Vector_impl_data" = type { ptr, ptr, ptr }

; 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: mustprogress nounwind uwtable
declare dso_local noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24)) #1 align 2

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN5metis23ComputeLoadImbalanceVecEPNS_7graph_tEiPfS2_(ptr noundef %0, i32 noundef %1, ptr noundef %2, ptr noundef %3) #1 {
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca float, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store i32 %1, ptr %6, align 4, !tbaa !9
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #2
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #2
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #2
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #2
  %14 = load ptr, ptr %5, align 8, !tbaa !5
  %15 = getelementptr inbounds %"struct.metis::graph_t", ptr %14, i32 0, i32 2
  %16 = load i32, ptr %15, align 8, !tbaa !11
  store i32 %16, ptr %11, align 4, !tbaa !9
  %17 = load ptr, ptr %5, align 8, !tbaa !5
  %18 = getelementptr inbounds %"struct.metis::graph_t", ptr %17, i32 0, i32 15
  %19 = call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %18) #2
  store ptr %19, ptr %12, align 8, !tbaa !5
  store i32 0, ptr %9, align 4, !tbaa !9
  br label %20

20:                                               ; preds = %84, %4
  %21 = load i32, ptr %9, align 4, !tbaa !9
  %22 = load i32, ptr %11, align 4, !tbaa !9
  %23 = icmp slt i32 %21, %22
  br i1 %23, label %24, label %87

24:                                               ; preds = %20
  %25 = load ptr, ptr %12, align 8, !tbaa !5
  %26 = load i32, ptr %9, align 4, !tbaa !9
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds i32, ptr %25, i64 %27
  %29 = load i32, ptr %28, align 4, !tbaa !9
  %30 = sitofp i32 %29 to float
  %31 = load ptr, ptr %7, align 8, !tbaa !5
  %32 = load i32, ptr %9, align 4, !tbaa !9
  %33 = sext i32 %32 to i64
  %34 = getelementptr inbounds float, ptr %31, i64 %33
  %35 = load float, ptr %34, align 4, !tbaa !33
  %36 = fmul float %30, %35
  %37 = load ptr, ptr %8, align 8, !tbaa !5
  %38 = load i32, ptr %9, align 4, !tbaa !9
  %39 = sext i32 %38 to i64
  %40 = getelementptr inbounds float, ptr %37, i64 %39
  store float %36, ptr %40, align 4, !tbaa !33
  store i32 1, ptr %10, align 4, !tbaa !9
  br label %41

41:                                               ; preds = %80, %24
  %42 = load i32, ptr %10, align 4, !tbaa !9
  %43 = load i32, ptr %6, align 4, !tbaa !9
  %44 = icmp slt i32 %42, %43
  br i1 %44, label %45, label %83

45:                                               ; preds = %41
  %46 = load ptr, ptr %12, align 8, !tbaa !5
  %47 = load i32, ptr %10, align 4, !tbaa !9
  %48 = load i32, ptr %11, align 4, !tbaa !9
  %49 = mul nsw i32 %47, %48
  %50 = load i32, ptr %9, align 4, !tbaa !9
  %51 = add nsw i32 %49, %50
  %52 = sext i32 %51 to i64
  %53 = getelementptr inbounds i32, ptr %46, i64 %52
  %54 = load i32, ptr %53, align 4, !tbaa !9
  %55 = sitofp i32 %54 to float
  %56 = load ptr, ptr %7, align 8, !tbaa !5
  %57 = load i32, ptr %10, align 4, !tbaa !9
  %58 = load i32, ptr %11, align 4, !tbaa !9
  %59 = mul nsw i32 %57, %58
  %60 = load i32, ptr %9, align 4, !tbaa !9
  %61 = add nsw i32 %59, %60
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds float, ptr %56, i64 %62
  %64 = load float, ptr %63, align 4, !tbaa !33
  %65 = fmul float %55, %64
  store float %65, ptr %13, align 4, !tbaa !33
  %66 = load float, ptr %13, align 4, !tbaa !33
  %67 = load ptr, ptr %8, align 8, !tbaa !5
  %68 = load i32, ptr %9, align 4, !tbaa !9
  %69 = sext i32 %68 to i64
  %70 = getelementptr inbounds float, ptr %67, i64 %69
  %71 = load float, ptr %70, align 4, !tbaa !33
  %72 = fcmp ogt float %66, %71
  br i1 %72, label %73, label %79

73:                                               ; preds = %45
  %74 = load float, ptr %13, align 4, !tbaa !33
  %75 = load ptr, ptr %8, align 8, !tbaa !5
  %76 = load i32, ptr %9, align 4, !tbaa !9
  %77 = sext i32 %76 to i64
  %78 = getelementptr inbounds float, ptr %75, i64 %77
  store float %74, ptr %78, align 4, !tbaa !33
  br label %79

79:                                               ; preds = %73, %45
  br label %80

80:                                               ; preds = %79
  %81 = load i32, ptr %10, align 4, !tbaa !9
  %82 = add nsw i32 %81, 1
  store i32 %82, ptr %10, align 4, !tbaa !9
  br label %41, !llvm.loop !35

83:                                               ; preds = %41
  br label %84

84:                                               ; preds = %83
  %85 = load i32, ptr %9, align 4, !tbaa !9
  %86 = add nsw i32 %85, 1
  store i32 %86, ptr %9, align 4, !tbaa !9
  br label %20, !llvm.loop !37

87:                                               ; preds = %20
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #2
  ret void
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !10, i64 8}
!12 = !{!"_ZTSN5metis7graph_tE", !10, i64 0, !10, i64 4, !10, i64 8, !13, i64 16, !13, i64 40, !13, i64 64, !13, i64 88, !13, i64 112, !13, i64 136, !17, i64 160, !13, i64 184, !13, i64 208, !10, i64 232, !10, i64 236, !13, i64 240, !13, i64 264, !10, i64 288, !13, i64 296, !13, i64 320, !13, i64 344, !13, i64 368, !21, i64 392, !25, i64 416, !29, i64 440, !10, i64 464, !6, i64 472, !6, i64 480}
!13 = !{!"_ZTSSt6vectorIiSaIiEE", !14, i64 0}
!14 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !15, i64 0}
!15 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !16, i64 0}
!16 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!17 = !{!"_ZTSSt6vectorIfSaIfEE", !18, i64 0}
!18 = !{!"_ZTSSt12_Vector_baseIfSaIfEE", !19, i64 0}
!19 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE12_Vector_implE", !20, i64 0}
!20 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!21 = !{!"_ZTSSt6vectorIN5metis9ckrinfo_tESaIS1_EE", !22, i64 0}
!22 = !{!"_ZTSSt12_Vector_baseIN5metis9ckrinfo_tESaIS1_EE", !23, i64 0}
!23 = !{!"_ZTSNSt12_Vector_baseIN5metis9ckrinfo_tESaIS1_EE12_Vector_implE", !24, i64 0}
!24 = !{!"_ZTSNSt12_Vector_baseIN5metis9ckrinfo_tESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!25 = !{!"_ZTSSt6vectorIN5metis9vkrinfo_tESaIS1_EE", !26, i64 0}
!26 = !{!"_ZTSSt12_Vector_baseIN5metis9vkrinfo_tESaIS1_EE", !27, i64 0}
!27 = !{!"_ZTSNSt12_Vector_baseIN5metis9vkrinfo_tESaIS1_EE12_Vector_implE", !28, i64 0}
!28 = !{!"_ZTSNSt12_Vector_baseIN5metis9vkrinfo_tESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!29 = !{!"_ZTSSt6vectorIN5metis8nrinfo_tESaIS1_EE", !30, i64 0}
!30 = !{!"_ZTSSt12_Vector_baseIN5metis8nrinfo_tESaIS1_EE", !31, i64 0}
!31 = !{!"_ZTSNSt12_Vector_baseIN5metis8nrinfo_tESaIS1_EE12_Vector_implE", !32, i64 0}
!32 = !{!"_ZTSNSt12_Vector_baseIN5metis8nrinfo_tESaIS1_EE17_Vector_impl_dataE", !6, i64 0, !6, i64 8, !6, i64 16}
!33 = !{!34, !34, i64 0}
!34 = !{!"float", !7, i64 0}
!35 = distinct !{!35, !36}
!36 = !{!"llvm.loop.mustprogress"}
!37 = distinct !{!37, !36}


; 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 nounwind uwtable
declare dso_local noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #0 align 2

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @_ZN5metis23ComputeLoadImbalanceVecEPNS_7graph_tEiPfS2_(ptr noundef %0, i32 noundef %1, ptr nocapture noundef readonly %2, ptr nocapture noundef writeonly %3) local_unnamed_addr #0 {
  %5 = ptrtoint ptr %2 to i64
  %6 = ptrtoint ptr %3 to i64
  %7 = getelementptr inbounds i8, ptr %0, i64 8
  %8 = load i32, ptr %7, align 8, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %0, i64 264
  %10 = tail call noundef ptr @_ZNSt6vectorIiSaIiEE4dataEv(ptr noundef nonnull align 8 dereferenceable(24) %9) #1
  %11 = icmp sgt i32 %8, 0
  br i1 %11, label %.lr.ph33, label %._crit_edge34

.lr.ph33:                                         ; preds = %4
  %12 = icmp sgt i32 %1, 1
  %13 = zext nneg i32 %8 to i64
  br i1 %12, label %.lr.ph.us.preheader, label %.lr.ph33.split.preheader

.lr.ph33.split.preheader:                         ; preds = %.lr.ph33
  %min.iters.check = icmp ult i32 %8, 8
  %14 = sub i64 %6, %5
  %diff.check = icmp ult i64 %14, 32
  %or.cond = or i1 %min.iters.check, %diff.check
  br i1 %or.cond, label %.lr.ph33.split.preheader52, label %vector.ph

.lr.ph33.split.preheader52:                       ; preds = %middle.block, %.lr.ph33.split.preheader
  %indvars.iv.ph = phi i64 [ 0, %.lr.ph33.split.preheader ], [ %n.vec, %middle.block ]
  %xtraiter = and i64 %13, 1
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.lr.ph33.split.prol.loopexit, label %.lr.ph33.split.prol

.lr.ph33.split.prol:                              ; preds = %.lr.ph33.split.preheader52
  %15 = getelementptr inbounds i32, ptr %10, i64 %indvars.iv.ph
  %16 = load i32, ptr %15, align 4, !tbaa !31
  %17 = sitofp i32 %16 to float
  %18 = getelementptr inbounds float, ptr %2, i64 %indvars.iv.ph
  %19 = load float, ptr %18, align 4, !tbaa !32
  %20 = fmul float %19, %17
  %21 = getelementptr inbounds float, ptr %3, i64 %indvars.iv.ph
  store float %20, ptr %21, align 4, !tbaa !32
  %indvars.iv.next.prol = or disjoint i64 %indvars.iv.ph, 1
  br label %.lr.ph33.split.prol.loopexit

.lr.ph33.split.prol.loopexit:                     ; preds = %.lr.ph33.split.prol, %.lr.ph33.split.preheader52
  %indvars.iv.unr = phi i64 [ %indvars.iv.ph, %.lr.ph33.split.preheader52 ], [ %indvars.iv.next.prol, %.lr.ph33.split.prol ]
  %22 = add nsw i64 %13, -1
  %23 = icmp eq i64 %indvars.iv.ph, %22
  br i1 %23, label %._crit_edge34, label %.lr.ph33.split

vector.ph:                                        ; preds = %.lr.ph33.split.preheader
  %n.vec = and i64 %13, 2147483640
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %24 = getelementptr inbounds i32, ptr %10, i64 %index
  %25 = getelementptr inbounds i8, ptr %24, i64 16
  %wide.load = load <4 x i32>, ptr %24, align 4, !tbaa !31
  %wide.load49 = load <4 x i32>, ptr %25, align 4, !tbaa !31
  %26 = sitofp <4 x i32> %wide.load to <4 x float>
  %27 = sitofp <4 x i32> %wide.load49 to <4 x float>
  %28 = getelementptr inbounds float, ptr %2, i64 %index
  %29 = getelementptr inbounds i8, ptr %28, i64 16
  %wide.load50 = load <4 x float>, ptr %28, align 4, !tbaa !32
  %wide.load51 = load <4 x float>, ptr %29, align 4, !tbaa !32
  %30 = fmul <4 x float> %wide.load50, %26
  %31 = fmul <4 x float> %wide.load51, %27
  %32 = getelementptr inbounds float, ptr %3, i64 %index
  %33 = getelementptr inbounds i8, ptr %32, i64 16
  store <4 x float> %30, ptr %32, align 4, !tbaa !32
  store <4 x float> %31, ptr %33, align 4, !tbaa !32
  %index.next = add nuw i64 %index, 8
  %34 = icmp eq i64 %index.next, %n.vec
  br i1 %34, label %middle.block, label %vector.body, !llvm.loop !34

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %13
  br i1 %cmp.n, label %._crit_edge34, label %.lr.ph33.split.preheader52

.lr.ph.us.preheader:                              ; preds = %.lr.ph33
  %wide.trip.count40 = zext nneg i32 %1 to i64
  %35 = add nsw i64 %wide.trip.count40, -1
  %xtraiter54 = and i64 %35, 1
  %36 = icmp eq i32 %1, 2
  %unroll_iter = and i64 %35, -2
  %lcmp.mod55.not = icmp eq i64 %xtraiter54, 0
  br label %.lr.ph.us

.lr.ph.us:                                        ; preds = %.lr.ph.us.preheader, %._crit_edge.us
  %indvars.iv42 = phi i64 [ 0, %.lr.ph.us.preheader ], [ %indvars.iv.next43, %._crit_edge.us ]
  %37 = getelementptr inbounds i32, ptr %10, i64 %indvars.iv42
  %38 = load i32, ptr %37, align 4, !tbaa !31
  %39 = sitofp i32 %38 to float
  %40 = getelementptr inbounds float, ptr %2, i64 %indvars.iv42
  %41 = load float, ptr %40, align 4, !tbaa !32
  %42 = fmul float %41, %39
  %43 = getelementptr inbounds float, ptr %3, i64 %indvars.iv42
  store float %42, ptr %43, align 4, !tbaa !32
  br i1 %36, label %._crit_edge.us.unr-lcssa, label %.lr.ph.us.new

.lr.ph.us.new:                                    ; preds = %.lr.ph.us, %67
  %indvars.iv37 = phi i64 [ %indvars.iv.next38.1, %67 ], [ 1, %.lr.ph.us ]
  %44 = phi float [ %68, %67 ], [ %42, %.lr.ph.us ]
  %niter = phi i64 [ %niter.next.1, %67 ], [ 0, %.lr.ph.us ]
  %45 = mul nuw nsw i64 %indvars.iv37, %13
  %46 = add nuw nsw i64 %45, %indvars.iv42
  %47 = getelementptr inbounds i32, ptr %10, i64 %46
  %48 = load i32, ptr %47, align 4, !tbaa !31
  %49 = sitofp i32 %48 to float
  %50 = getelementptr inbounds float, ptr %2, i64 %46
  %51 = load float, ptr %50, align 4, !tbaa !32
  %52 = fmul float %51, %49
  %53 = fcmp ogt float %52, %44
  br i1 %53, label %54, label %55

54:                                               ; preds = %.lr.ph.us.new
  store float %52, ptr %43, align 4, !tbaa !32
  br label %55

55:                                               ; preds = %54, %.lr.ph.us.new
  %56 = phi float [ %44, %.lr.ph.us.new ], [ %52, %54 ]
  %indvars.iv.next38 = add nuw nsw i64 %indvars.iv37, 1
  %57 = mul nuw nsw i64 %indvars.iv.next38, %13
  %58 = add nuw nsw i64 %57, %indvars.iv42
  %59 = getelementptr inbounds i32, ptr %10, i64 %58
  %60 = load i32, ptr %59, align 4, !tbaa !31
  %61 = sitofp i32 %60 to float
  %62 = getelementptr inbounds float, ptr %2, i64 %58
  %63 = load float, ptr %62, align 4, !tbaa !32
  %64 = fmul float %63, %61
  %65 = fcmp ogt float %64, %56
  br i1 %65, label %66, label %67

66:                                               ; preds = %55
  store float %64, ptr %43, align 4, !tbaa !32
  br label %67

67:                                               ; preds = %66, %55
  %68 = phi float [ %56, %55 ], [ %64, %66 ]
  %indvars.iv.next38.1 = add nuw nsw i64 %indvars.iv37, 2
  %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_edge.us.unr-lcssa, label %.lr.ph.us.new, !llvm.loop !38

._crit_edge.us.unr-lcssa:                         ; preds = %67, %.lr.ph.us
  %indvars.iv37.unr = phi i64 [ 1, %.lr.ph.us ], [ %indvars.iv.next38.1, %67 ]
  %.unr = phi float [ %42, %.lr.ph.us ], [ %68, %67 ]
  br i1 %lcmp.mod55.not, label %._crit_edge.us, label %.epil.preheader

.epil.preheader:                                  ; preds = %._crit_edge.us.unr-lcssa
  %69 = mul nuw nsw i64 %indvars.iv37.unr, %13
  %70 = add nuw nsw i64 %69, %indvars.iv42
  %71 = getelementptr inbounds i32, ptr %10, i64 %70
  %72 = load i32, ptr %71, align 4, !tbaa !31
  %73 = sitofp i32 %72 to float
  %74 = getelementptr inbounds float, ptr %2, i64 %70
  %75 = load float, ptr %74, align 4, !tbaa !32
  %76 = fmul float %75, %73
  %77 = fcmp ogt float %76, %.unr
  br i1 %77, label %78, label %._crit_edge.us

78:                                               ; preds = %.epil.preheader
  store float %76, ptr %43, align 4, !tbaa !32
  br label %._crit_edge.us

._crit_edge.us:                                   ; preds = %.epil.preheader, %78, %._crit_edge.us.unr-lcssa
  %indvars.iv.next43 = add nuw nsw i64 %indvars.iv42, 1
  %exitcond46.not = icmp eq i64 %indvars.iv.next43, %13
  br i1 %exitcond46.not, label %._crit_edge34, label %.lr.ph.us, !llvm.loop !39

.lr.ph33.split:                                   ; preds = %.lr.ph33.split.prol.loopexit, %.lr.ph33.split
  %indvars.iv = phi i64 [ %indvars.iv.next.1, %.lr.ph33.split ], [ %indvars.iv.unr, %.lr.ph33.split.prol.loopexit ]
  %79 = getelementptr inbounds i32, ptr %10, i64 %indvars.iv
  %80 = load i32, ptr %79, align 4, !tbaa !31
  %81 = sitofp i32 %80 to float
  %82 = getelementptr inbounds float, ptr %2, i64 %indvars.iv
  %83 = load float, ptr %82, align 4, !tbaa !32
  %84 = fmul float %83, %81
  %85 = getelementptr inbounds float, ptr %3, i64 %indvars.iv
  store float %84, ptr %85, align 4, !tbaa !32
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %86 = getelementptr inbounds i32, ptr %10, i64 %indvars.iv.next
  %87 = load i32, ptr %86, align 4, !tbaa !31
  %88 = sitofp i32 %87 to float
  %89 = getelementptr inbounds float, ptr %2, i64 %indvars.iv.next
  %90 = load float, ptr %89, align 4, !tbaa !32
  %91 = fmul float %90, %88
  %92 = getelementptr inbounds float, ptr %3, i64 %indvars.iv.next
  store float %91, ptr %92, align 4, !tbaa !32
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %exitcond.not.1 = icmp eq i64 %indvars.iv.next.1, %13
  br i1 %exitcond.not.1, label %._crit_edge34, label %.lr.ph33.split, !llvm.loop !40

._crit_edge34:                                    ; preds = %.lr.ph33.split.prol.loopexit, %.lr.ph33.split, %._crit_edge.us, %middle.block, %4
  ret void
}

attributes #0 = { 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 #1 = { 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, !7, i64 8}
!6 = !{!"_ZTSN5metis7graph_tE", !7, i64 0, !7, i64 4, !7, i64 8, !10, i64 16, !10, i64 40, !10, i64 64, !10, i64 88, !10, i64 112, !10, i64 136, !15, i64 160, !10, i64 184, !10, i64 208, !7, i64 232, !7, i64 236, !10, i64 240, !10, i64 264, !7, i64 288, !10, i64 296, !10, i64 320, !10, i64 344, !10, i64 368, !19, i64 392, !23, i64 416, !27, i64 440, !7, i64 464, !14, i64 472, !14, i64 480}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"_ZTSSt6vectorIiSaIiEE", !11, i64 0}
!11 = !{!"_ZTSSt12_Vector_baseIiSaIiEE", !12, i64 0}
!12 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE12_Vector_implE", !13, i64 0}
!13 = !{!"_ZTSNSt12_Vector_baseIiSaIiEE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!14 = !{!"any pointer", !8, i64 0}
!15 = !{!"_ZTSSt6vectorIfSaIfEE", !16, i64 0}
!16 = !{!"_ZTSSt12_Vector_baseIfSaIfEE", !17, i64 0}
!17 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE12_Vector_implE", !18, i64 0}
!18 = !{!"_ZTSNSt12_Vector_baseIfSaIfEE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!19 = !{!"_ZTSSt6vectorIN5metis9ckrinfo_tESaIS1_EE", !20, i64 0}
!20 = !{!"_ZTSSt12_Vector_baseIN5metis9ckrinfo_tESaIS1_EE", !21, i64 0}
!21 = !{!"_ZTSNSt12_Vector_baseIN5metis9ckrinfo_tESaIS1_EE12_Vector_implE", !22, i64 0}
!22 = !{!"_ZTSNSt12_Vector_baseIN5metis9ckrinfo_tESaIS1_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!23 = !{!"_ZTSSt6vectorIN5metis9vkrinfo_tESaIS1_EE", !24, i64 0}
!24 = !{!"_ZTSSt12_Vector_baseIN5metis9vkrinfo_tESaIS1_EE", !25, i64 0}
!25 = !{!"_ZTSNSt12_Vector_baseIN5metis9vkrinfo_tESaIS1_EE12_Vector_implE", !26, i64 0}
!26 = !{!"_ZTSNSt12_Vector_baseIN5metis9vkrinfo_tESaIS1_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!27 = !{!"_ZTSSt6vectorIN5metis8nrinfo_tESaIS1_EE", !28, i64 0}
!28 = !{!"_ZTSSt12_Vector_baseIN5metis8nrinfo_tESaIS1_EE", !29, i64 0}
!29 = !{!"_ZTSNSt12_Vector_baseIN5metis8nrinfo_tESaIS1_EE12_Vector_implE", !30, i64 0}
!30 = !{!"_ZTSNSt12_Vector_baseIN5metis8nrinfo_tESaIS1_EE17_Vector_impl_dataE", !14, i64 0, !14, i64 8, !14, i64 16}
!31 = !{!7, !7, i64 0}
!32 = !{!33, !33, i64 0}
!33 = !{!"float", !8, i64 0}
!34 = distinct !{!34, !35, !36, !37}
!35 = !{!"llvm.loop.mustprogress"}
!36 = !{!"llvm.loop.isvectorized", i32 1}
!37 = !{!"llvm.loop.unroll.runtime.disable"}
!38 = distinct !{!38, !35}
!39 = distinct !{!39, !35}
!40 = distinct !{!40, !35, !36}


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