; LLVM IR from jgaeddert/liquid-dsp :: src/dotprod/src/dotprod_crcf.sse (dotprod_crcf_create_opt)

; 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.dotprod_crcf_s = type { i32, 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: nounwind uwtable
define dso_local ptr @dotprod_crcf_create_opt(ptr noundef %0, i32 noundef %1, i32 noundef %2) #1 {
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !9
  store i32 %2, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  %10 = call noalias ptr @malloc(i64 noundef 16) #5
  store ptr %10, ptr %7, align 8, !tbaa !5
  %11 = load i32, ptr %5, align 4, !tbaa !9
  %12 = load ptr, ptr %7, align 8, !tbaa !5
  %13 = getelementptr inbounds %struct.dotprod_crcf_s, ptr %12, i32 0, i32 0
  store i32 %11, ptr %13, align 8, !tbaa !11
  %14 = load ptr, ptr %7, align 8, !tbaa !5
  %15 = getelementptr inbounds %struct.dotprod_crcf_s, ptr %14, i32 0, i32 0
  %16 = load i32, ptr %15, align 8, !tbaa !11
  %17 = mul i32 2, %16
  %18 = zext i32 %17 to i64
  %19 = mul i64 %18, 4
  %20 = call noalias align 16 ptr @_mm_malloc(i64 noundef %19, i64 noundef 16) #6
  %21 = load ptr, ptr %7, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.dotprod_crcf_s, ptr %21, i32 0, i32 1
  store ptr %20, ptr %22, align 8, !tbaa !13
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  store i32 0, ptr %8, align 4, !tbaa !9
  br label %23

23:                                               ; preds = %69, %3
  %24 = load i32, ptr %8, align 4, !tbaa !9
  %25 = load ptr, ptr %7, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.dotprod_crcf_s, ptr %25, i32 0, i32 0
  %27 = load i32, ptr %26, align 8, !tbaa !11
  %28 = icmp ult i32 %24, %27
  br i1 %28, label %29, label %72

29:                                               ; preds = %23
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  %30 = load i32, ptr %6, align 4, !tbaa !9
  %31 = icmp ne i32 %30, 0
  br i1 %31, label %32, label %39

32:                                               ; preds = %29
  %33 = load ptr, ptr %7, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.dotprod_crcf_s, ptr %33, i32 0, i32 0
  %35 = load i32, ptr %34, align 8, !tbaa !11
  %36 = load i32, ptr %8, align 4, !tbaa !9
  %37 = sub i32 %35, %36
  %38 = sub i32 %37, 1
  br label %41

39:                                               ; preds = %29
  %40 = load i32, ptr %8, align 4, !tbaa !9
  br label %41

41:                                               ; preds = %39, %32
  %42 = phi i32 [ %38, %32 ], [ %40, %39 ]
  store i32 %42, ptr %9, align 4, !tbaa !9
  %43 = load ptr, ptr %4, align 8, !tbaa !5
  %44 = load i32, ptr %9, align 4, !tbaa !9
  %45 = zext i32 %44 to i64
  %46 = getelementptr inbounds float, ptr %43, i64 %45
  %47 = load float, ptr %46, align 4, !tbaa !14
  %48 = load ptr, ptr %7, align 8, !tbaa !5
  %49 = getelementptr inbounds %struct.dotprod_crcf_s, ptr %48, i32 0, i32 1
  %50 = load ptr, ptr %49, align 8, !tbaa !13
  %51 = load i32, ptr %8, align 4, !tbaa !9
  %52 = mul i32 2, %51
  %53 = add i32 %52, 0
  %54 = zext i32 %53 to i64
  %55 = getelementptr inbounds float, ptr %50, i64 %54
  store float %47, ptr %55, align 4, !tbaa !14
  %56 = load ptr, ptr %4, align 8, !tbaa !5
  %57 = load i32, ptr %9, align 4, !tbaa !9
  %58 = zext i32 %57 to i64
  %59 = getelementptr inbounds float, ptr %56, i64 %58
  %60 = load float, ptr %59, align 4, !tbaa !14
  %61 = load ptr, ptr %7, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.dotprod_crcf_s, ptr %61, i32 0, i32 1
  %63 = load ptr, ptr %62, align 8, !tbaa !13
  %64 = load i32, ptr %8, align 4, !tbaa !9
  %65 = mul i32 2, %64
  %66 = add i32 %65, 1
  %67 = zext i32 %66 to i64
  %68 = getelementptr inbounds float, ptr %63, i64 %67
  store float %60, ptr %68, align 4, !tbaa !14
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  br label %69

69:                                               ; preds = %41
  %70 = load i32, ptr %8, align 4, !tbaa !9
  %71 = add i32 %70, 1
  store i32 %71, ptr %8, align 4, !tbaa !9
  br label %23, !llvm.loop !16

72:                                               ; preds = %23
  %73 = load ptr, ptr %7, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  ret ptr %73
}

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #2

; Function Attrs: alwaysinline nounwind allocsize(0) uwtable
declare hidden noalias ptr @_mm_malloc(i64 noundef, i64 noundef) #3

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

!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, !10, i64 0}
!12 = !{!"dotprod_crcf_s", !10, i64 0, !6, i64 8}
!13 = !{!12, !6, i64 8}
!14 = !{!15, !15, i64 0}
!15 = !{!"float", !7, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}


; 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: nounwind uwtable
define dso_local noalias noundef ptr @dotprod_crcf_create_opt(ptr nocapture noundef readonly %0, i32 noundef %1, i32 noundef %2) local_unnamed_addr #0 {
  %4 = tail call noalias dereferenceable_or_null(16) ptr @malloc(i64 noundef 16) #3
  store i32 %1, ptr %4, align 8, !tbaa !5
  %5 = shl i32 %1, 1
  %6 = zext i32 %5 to i64
  %7 = shl nuw nsw i64 %6, 2
  %8 = tail call noalias align 16 ptr @_mm_malloc(i64 noundef %7, i64 noundef 16) #4
  %9 = getelementptr inbounds i8, ptr %4, i64 8
  store ptr %8, ptr %9, align 8, !tbaa !11
  %.not21 = icmp eq i32 %1, 0
  br i1 %.not21, label %._crit_edge, label %.lr.ph

.lr.ph:                                           ; preds = %3
  %.not = icmp eq i32 %2, 0
  %wide.trip.count27 = zext i32 %1 to i64
  br i1 %.not, label %.lr.ph.split.us.preheader, label %.lr.ph.split.preheader

.lr.ph.split.preheader:                           ; preds = %.lr.ph
  %min.iters.check = icmp ult i32 %1, 26
  br i1 %min.iters.check, label %.lr.ph.split.preheader64, label %vector.scevcheck

.lr.ph.split.preheader64:                         ; preds = %middle.block, %vector.scevcheck, %.lr.ph.split.preheader
  %indvars.iv.ph = phi i64 [ 0, %vector.scevcheck ], [ 0, %.lr.ph.split.preheader ], [ %n.vec, %middle.block ]
  %xtraiter = and i64 %wide.trip.count27, 1
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %.lr.ph.split.prol.loopexit, label %.lr.ph.split.prol

.lr.ph.split.prol:                                ; preds = %.lr.ph.split.preheader64
  %10 = trunc nuw i64 %indvars.iv.ph to i32
  %11 = xor i32 %10, -1
  %12 = add i32 %11, %1
  %13 = zext i32 %12 to i64
  %14 = getelementptr inbounds float, ptr %0, i64 %13
  %15 = load float, ptr %14, align 4, !tbaa !12
  %16 = shl i32 %10, 1
  %17 = zext i32 %16 to i64
  %18 = getelementptr inbounds float, ptr %8, i64 %17
  store float %15, ptr %18, align 16, !tbaa !12
  %19 = or disjoint i32 %16, 1
  %20 = zext i32 %19 to i64
  %21 = getelementptr inbounds float, ptr %8, i64 %20
  store float %15, ptr %21, align 4, !tbaa !12
  %indvars.iv.next.prol = or disjoint i64 %indvars.iv.ph, 1
  br label %.lr.ph.split.prol.loopexit

.lr.ph.split.prol.loopexit:                       ; preds = %.lr.ph.split.prol, %.lr.ph.split.preheader64
  %indvars.iv.unr = phi i64 [ %indvars.iv.ph, %.lr.ph.split.preheader64 ], [ %indvars.iv.next.prol, %.lr.ph.split.prol ]
  %22 = add nsw i64 %wide.trip.count27, -1
  %23 = icmp eq i64 %indvars.iv.ph, %22
  br i1 %23, label %._crit_edge, label %.lr.ph.split

vector.scevcheck:                                 ; preds = %.lr.ph.split.preheader
  %24 = add nsw i64 %wide.trip.count27, -1
  %25 = icmp ugt i64 %24, 4294967295
  %mul.result = shl nsw i64 %24, 3
  %26 = getelementptr i8, ptr %8, i64 %mul.result
  %27 = icmp ult ptr %26, %8
  %scevgep = getelementptr i8, ptr %8, i64 4
  %mul.result32 = shl nsw i64 %24, 3
  %28 = getelementptr i8, ptr %scevgep, i64 %mul.result32
  %29 = icmp ult ptr %28, %scevgep
  %30 = add i32 %1, -1
  %31 = trunc i64 %24 to i32
  %32 = icmp ult i32 %30, %31
  %33 = or i1 %27, %25
  %34 = or i1 %29, %33
  %35 = or i1 %32, %34
  br i1 %35, label %.lr.ph.split.preheader64, label %vector.ph

vector.ph:                                        ; preds = %vector.scevcheck
  %n.vec = and i64 %wide.trip.count27, 4294967292
  %invariant.gep = getelementptr i8, ptr %8, i64 -4
  %invariant.gep68 = getelementptr i8, ptr %8, i64 -4
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %36 = trunc i64 %index to i32
  %37 = xor i32 %36, -1
  %38 = add i32 %37, %1
  %39 = zext i32 %38 to i64
  %40 = getelementptr inbounds float, ptr %0, i64 %39
  %41 = getelementptr inbounds i8, ptr %40, i64 -4
  %42 = getelementptr inbounds i8, ptr %40, i64 -12
  %wide.load = load <2 x float>, ptr %41, align 4, !tbaa !12
  %reverse = shufflevector <2 x float> %wide.load, <2 x float> poison, <2 x i32> <i32 1, i32 0>
  %wide.load37 = load <2 x float>, ptr %42, align 4, !tbaa !12
  %reverse38 = shufflevector <2 x float> %wide.load37, <2 x float> poison, <2 x i32> <i32 1, i32 0>
  %43 = shl i64 %index, 1
  %44 = shl i64 %index, 1
  %45 = and i64 %43, 4294967288
  %46 = or disjoint i64 %45, 1
  %47 = and i64 %44, 4294967288
  %48 = or disjoint i64 %47, 5
  %gep = getelementptr float, ptr %invariant.gep, i64 %46
  %gep69 = getelementptr float, ptr %invariant.gep68, i64 %48
  %49 = shufflevector <2 x float> %reverse, <2 x float> poison, <4 x i32> <i32 0, i32 1, i32 0, i32 1>
  %interleaved.vec = shufflevector <4 x float> %49, <4 x float> poison, <4 x i32> <i32 0, i32 2, i32 1, i32 3>
  store <4 x float> %interleaved.vec, ptr %gep, align 16, !tbaa !12
  %50 = shufflevector <2 x float> %reverse38, <2 x float> poison, <4 x i32> <i32 0, i32 1, i32 0, i32 1>
  %interleaved.vec39 = shufflevector <4 x float> %50, <4 x float> poison, <4 x i32> <i32 0, i32 2, i32 1, i32 3>
  store <4 x float> %interleaved.vec39, ptr %gep69, align 16, !tbaa !12
  %index.next = add nuw i64 %index, 4
  %51 = icmp eq i64 %index.next, %n.vec
  br i1 %51, label %middle.block, label %vector.body, !llvm.loop !14

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count27
  br i1 %cmp.n, label %._crit_edge, label %.lr.ph.split.preheader64

.lr.ph.split.us.preheader:                        ; preds = %.lr.ph
  %min.iters.check50 = icmp ult i32 %1, 20
  br i1 %min.iters.check50, label %.lr.ph.split.us.preheader63, label %vector.scevcheck40

vector.scevcheck40:                               ; preds = %.lr.ph.split.us.preheader
  %52 = add nsw i64 %wide.trip.count27, -1
  %53 = icmp ugt i64 %52, 4294967295
  %mul.result42 = shl nsw i64 %52, 3
  %54 = getelementptr i8, ptr %8, i64 %mul.result42
  %55 = icmp ult ptr %54, %8
  %scevgep44 = getelementptr i8, ptr %8, i64 4
  %mul.result46 = shl nsw i64 %52, 3
  %56 = getelementptr i8, ptr %scevgep44, i64 %mul.result46
  %57 = icmp ult ptr %56, %scevgep44
  %58 = or i1 %55, %53
  %59 = or i1 %57, %58
  br i1 %59, label %.lr.ph.split.us.preheader63, label %vector.ph51

vector.ph51:                                      ; preds = %vector.scevcheck40
  %n.vec53 = and i64 %wide.trip.count27, 4294967292
  %invariant.gep70 = getelementptr i8, ptr %8, i64 -4
  %invariant.gep72 = getelementptr i8, ptr %8, i64 -4
  br label %vector.body55

vector.body55:                                    ; preds = %vector.body55, %vector.ph51
  %index56 = phi i64 [ 0, %vector.ph51 ], [ %index.next61, %vector.body55 ]
  %60 = getelementptr inbounds float, ptr %0, i64 %index56
  %61 = getelementptr inbounds i8, ptr %60, i64 8
  %wide.load57 = load <2 x float>, ptr %60, align 4, !tbaa !12
  %wide.load58 = load <2 x float>, ptr %61, align 4, !tbaa !12
  %62 = shl i64 %index56, 1
  %63 = shl i64 %index56, 1
  %64 = and i64 %62, 4294967288
  %65 = or disjoint i64 %64, 1
  %66 = and i64 %63, 4294967288
  %67 = or disjoint i64 %66, 5
  %gep71 = getelementptr float, ptr %invariant.gep70, i64 %65
  %gep73 = getelementptr float, ptr %invariant.gep72, i64 %67
  %68 = shufflevector <2 x float> %wide.load57, <2 x float> poison, <4 x i32> <i32 0, i32 1, i32 0, i32 1>
  %interleaved.vec59 = shufflevector <4 x float> %68, <4 x float> poison, <4 x i32> <i32 0, i32 2, i32 1, i32 3>
  store <4 x float> %interleaved.vec59, ptr %gep71, align 16, !tbaa !12
  %69 = shufflevector <2 x float> %wide.load58, <2 x float> poison, <4 x i32> <i32 0, i32 1, i32 0, i32 1>
  %interleaved.vec60 = shufflevector <4 x float> %69, <4 x float> poison, <4 x i32> <i32 0, i32 2, i32 1, i32 3>
  store <4 x float> %interleaved.vec60, ptr %gep73, align 16, !tbaa !12
  %index.next61 = add nuw i64 %index56, 4
  %70 = icmp eq i64 %index.next61, %n.vec53
  br i1 %70, label %middle.block48, label %vector.body55, !llvm.loop !18

middle.block48:                                   ; preds = %vector.body55
  %cmp.n62 = icmp eq i64 %n.vec53, %wide.trip.count27
  br i1 %cmp.n62, label %._crit_edge, label %.lr.ph.split.us.preheader63

.lr.ph.split.us.preheader63:                      ; preds = %middle.block48, %vector.scevcheck40, %.lr.ph.split.us.preheader
  %indvars.iv24.ph = phi i64 [ 0, %vector.scevcheck40 ], [ 0, %.lr.ph.split.us.preheader ], [ %n.vec53, %middle.block48 ]
  %xtraiter66 = and i64 %wide.trip.count27, 1
  %lcmp.mod67.not = icmp eq i64 %xtraiter66, 0
  br i1 %lcmp.mod67.not, label %.lr.ph.split.us.prol.loopexit, label %.lr.ph.split.us.prol

.lr.ph.split.us.prol:                             ; preds = %.lr.ph.split.us.preheader63
  %71 = getelementptr inbounds float, ptr %0, i64 %indvars.iv24.ph
  %72 = load float, ptr %71, align 4, !tbaa !12
  %73 = trunc nuw i64 %indvars.iv24.ph to i32
  %74 = shl i32 %73, 1
  %75 = zext i32 %74 to i64
  %76 = getelementptr inbounds float, ptr %8, i64 %75
  store float %72, ptr %76, align 16, !tbaa !12
  %77 = or disjoint i32 %74, 1
  %78 = zext i32 %77 to i64
  %79 = getelementptr inbounds float, ptr %8, i64 %78
  store float %72, ptr %79, align 4, !tbaa !12
  %indvars.iv.next25.prol = or disjoint i64 %indvars.iv24.ph, 1
  br label %.lr.ph.split.us.prol.loopexit

.lr.ph.split.us.prol.loopexit:                    ; preds = %.lr.ph.split.us.prol, %.lr.ph.split.us.preheader63
  %indvars.iv24.unr = phi i64 [ %indvars.iv24.ph, %.lr.ph.split.us.preheader63 ], [ %indvars.iv.next25.prol, %.lr.ph.split.us.prol ]
  %80 = add nsw i64 %wide.trip.count27, -1
  %81 = icmp eq i64 %indvars.iv24.ph, %80
  br i1 %81, label %._crit_edge, label %.lr.ph.split.us

.lr.ph.split.us:                                  ; preds = %.lr.ph.split.us.prol.loopexit, %.lr.ph.split.us
  %indvars.iv24 = phi i64 [ %indvars.iv.next25.1, %.lr.ph.split.us ], [ %indvars.iv24.unr, %.lr.ph.split.us.prol.loopexit ]
  %82 = getelementptr inbounds float, ptr %0, i64 %indvars.iv24
  %83 = load float, ptr %82, align 4, !tbaa !12
  %84 = trunc nuw i64 %indvars.iv24 to i32
  %85 = shl i32 %84, 1
  %86 = zext i32 %85 to i64
  %87 = getelementptr inbounds float, ptr %8, i64 %86
  store float %83, ptr %87, align 8, !tbaa !12
  %88 = or disjoint i32 %85, 1
  %89 = zext i32 %88 to i64
  %90 = getelementptr inbounds float, ptr %8, i64 %89
  store float %83, ptr %90, align 4, !tbaa !12
  %indvars.iv.next25 = add nuw nsw i64 %indvars.iv24, 1
  %91 = getelementptr inbounds float, ptr %0, i64 %indvars.iv.next25
  %92 = load float, ptr %91, align 4, !tbaa !12
  %93 = trunc nuw i64 %indvars.iv.next25 to i32
  %94 = shl i32 %93, 1
  %95 = zext i32 %94 to i64
  %96 = getelementptr inbounds float, ptr %8, i64 %95
  store float %92, ptr %96, align 8, !tbaa !12
  %97 = or disjoint i32 %94, 1
  %98 = zext i32 %97 to i64
  %99 = getelementptr inbounds float, ptr %8, i64 %98
  store float %92, ptr %99, align 4, !tbaa !12
  %indvars.iv.next25.1 = add nuw nsw i64 %indvars.iv24, 2
  %exitcond28.not.1 = icmp eq i64 %indvars.iv.next25.1, %wide.trip.count27
  br i1 %exitcond28.not.1, label %._crit_edge, label %.lr.ph.split.us, !llvm.loop !19

.lr.ph.split:                                     ; preds = %.lr.ph.split.prol.loopexit, %.lr.ph.split
  %indvars.iv = phi i64 [ %indvars.iv.next.1, %.lr.ph.split ], [ %indvars.iv.unr, %.lr.ph.split.prol.loopexit ]
  %100 = trunc nuw i64 %indvars.iv to i32
  %101 = xor i32 %100, -1
  %102 = add i32 %101, %1
  %103 = zext i32 %102 to i64
  %104 = getelementptr inbounds float, ptr %0, i64 %103
  %105 = load float, ptr %104, align 4, !tbaa !12
  %106 = shl i32 %100, 1
  %107 = zext i32 %106 to i64
  %108 = getelementptr inbounds float, ptr %8, i64 %107
  store float %105, ptr %108, align 8, !tbaa !12
  %109 = or disjoint i32 %106, 1
  %110 = zext i32 %109 to i64
  %111 = getelementptr inbounds float, ptr %8, i64 %110
  store float %105, ptr %111, align 4, !tbaa !12
  %112 = trunc i64 %indvars.iv to i32
  %reass.sub = sub i32 %1, %112
  %113 = add i32 %reass.sub, -2
  %114 = zext i32 %113 to i64
  %115 = getelementptr inbounds float, ptr %0, i64 %114
  %116 = load float, ptr %115, align 4, !tbaa !12
  %117 = shl i32 %112, 1
  %118 = add i32 %117, 2
  %119 = zext i32 %118 to i64
  %120 = getelementptr inbounds float, ptr %8, i64 %119
  store float %116, ptr %120, align 8, !tbaa !12
  %121 = or disjoint i32 %118, 1
  %122 = zext i32 %121 to i64
  %123 = getelementptr inbounds float, ptr %8, i64 %122
  store float %116, ptr %123, align 4, !tbaa !12
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %exitcond.not.1 = icmp eq i64 %indvars.iv.next.1, %wide.trip.count27
  br i1 %exitcond.not.1, label %._crit_edge, label %.lr.ph.split, !llvm.loop !20

._crit_edge:                                      ; preds = %.lr.ph.split.prol.loopexit, %.lr.ph.split, %.lr.ph.split.us.prol.loopexit, %.lr.ph.split.us, %middle.block, %middle.block48, %3
  ret ptr %4
}

; Function Attrs: mustprogress nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @malloc(i64 noundef) local_unnamed_addr #1

; Function Attrs: alwaysinline nounwind allocsize(0) uwtable
declare hidden noalias ptr @_mm_malloc(i64 noundef, i64 noundef) local_unnamed_addr #2

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 nofree nounwind willreturn allockind("alloc,uninitialized") allocsize(0) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" "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 = { alwaysinline nounwind allocsize(0) 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 allocsize(0) }
attributes #4 = { allocsize(0) }

!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 0}
!6 = !{!"dotprod_crcf_s", !7, i64 0, !10, i64 8}
!7 = !{!"int", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !10, i64 8}
!12 = !{!13, !13, i64 0}
!13 = !{!"float", !8, i64 0}
!14 = distinct !{!14, !15, !16, !17}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!"llvm.loop.isvectorized", i32 1}
!17 = !{!"llvm.loop.unroll.runtime.disable"}
!18 = distinct !{!18, !15, !16, !17}
!19 = distinct !{!19, !15, !16}
!20 = distinct !{!20, !15, !16}


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