; LLVM IR from jgaeddert/liquid-dsp :: src/filter/src (filter_crcf)

; 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.2 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.75 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [75 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [78 x i8], align 1

declare ptr @liquid_error_config_fl(ptr noundef, i32 noundef, ptr noundef, ...) #0

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

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

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #2

; Function Attrs: nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #2

declare i32 @liquid_firdes_prototype(i32 noundef, i32 noundef, i32 noundef, float noundef, float noundef, ptr noundef) #0

; Function Attrs: nounwind uwtable
declare dso_local ptr @firpfb_crcf_create(i32 noundef, ptr noundef, i32 noundef) #3

; Function Attrs: nounwind uwtable
define dso_local ptr @firpfb_crcf_create_drnyquist(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, float noundef %4) #3 {
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca float, align 4
  %12 = alloca i32, align 4
  %13 = alloca ptr, align 8
  %14 = alloca i64, align 8
  %15 = alloca i64, align 8
  %16 = alloca float, align 4
  %17 = alloca i32, align 4
  %18 = alloca i64, align 8
  store i32 %0, ptr %7, align 4, !tbaa !5
  store i32 %1, ptr %8, align 4, !tbaa !5
  store i32 %2, ptr %9, align 4, !tbaa !5
  store i32 %3, ptr %10, align 4, !tbaa !5
  store float %4, ptr %11, align 4, !tbaa !9
  %19 = load i32, ptr %8, align 4, !tbaa !5
  %20 = icmp eq i32 %19, 0
  br i1 %20, label %21, label %23

21:                                               ; preds = %5
  %22 = call ptr (ptr, i32, ptr, ...) @liquid_error_config_fl(ptr noundef @.str.64, i32 noundef 187, ptr noundef @.str.75, ptr noundef @.str.2)
  store ptr %22, ptr %6, align 8
  br label %173

23:                                               ; preds = %5
  %24 = load i32, ptr %9, align 4, !tbaa !5
  %25 = icmp ult i32 %24, 2
  br i1 %25, label %26, label %28

26:                                               ; preds = %23
  %27 = call ptr (ptr, i32, ptr, ...) @liquid_error_config_fl(ptr noundef @.str.64, i32 noundef 189, ptr noundef @.str.76, ptr noundef @.str.2)
  store ptr %27, ptr %6, align 8
  br label %173

28:                                               ; preds = %23
  %29 = load i32, ptr %10, align 4, !tbaa !5
  %30 = icmp eq i32 %29, 0
  br i1 %30, label %31, label %33

31:                                               ; preds = %28
  %32 = call ptr (ptr, i32, ptr, ...) @liquid_error_config_fl(ptr noundef @.str.64, i32 noundef 191, ptr noundef @.str.77, ptr noundef @.str.2)
  store ptr %32, ptr %6, align 8
  br label %173

33:                                               ; preds = %28
  %34 = load float, ptr %11, align 4, !tbaa !9
  %35 = fcmp olt float %34, 0.000000e+00
  br i1 %35, label %39, label %36

36:                                               ; preds = %33
  %37 = load float, ptr %11, align 4, !tbaa !9
  %38 = fcmp ogt float %37, 1.000000e+00
  br i1 %38, label %39, label %41

39:                                               ; preds = %36, %33
  %40 = call ptr (ptr, i32, ptr, ...) @liquid_error_config_fl(ptr noundef @.str.64, i32 noundef 193, ptr noundef @.str.78, ptr noundef @.str.2)
  store ptr %40, ptr %6, align 8
  br label %173

41:                                               ; preds = %36
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  %42 = load i32, ptr %8, align 4, !tbaa !5
  %43 = mul i32 2, %42
  %44 = load i32, ptr %9, align 4, !tbaa !5
  %45 = mul i32 %43, %44
  %46 = load i32, ptr %10, align 4, !tbaa !5
  %47 = mul i32 %45, %46
  %48 = add i32 %47, 1
  store i32 %48, ptr %12, align 4, !tbaa !5
  %49 = load i32, ptr %12, align 4, !tbaa !5
  %50 = zext i32 %49 to i64
  %51 = call ptr @llvm.stacksave.p0()
  store ptr %51, ptr %13, align 8
  %52 = alloca float, i64 %50, align 16
  store i64 %50, ptr %14, align 8
  %53 = load i32, ptr %7, align 4, !tbaa !5
  %54 = load i32, ptr %8, align 4, !tbaa !5
  %55 = load i32, ptr %9, align 4, !tbaa !5
  %56 = mul i32 %54, %55
  %57 = load i32, ptr %10, align 4, !tbaa !5
  %58 = load float, ptr %11, align 4, !tbaa !9
  %59 = call i32 @liquid_firdes_prototype(i32 noundef %53, i32 noundef %56, i32 noundef %57, float noundef %58, float noundef 0.000000e+00, ptr noundef %52)
  %60 = load i32, ptr %12, align 4, !tbaa !5
  %61 = zext i32 %60 to i64
  %62 = alloca float, i64 %61, align 16
  store i64 %61, ptr %15, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  store float 0.000000e+00, ptr %16, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  store i32 0, ptr %17, align 4, !tbaa !5
  br label %63

63:                                               ; preds = %143, %41
  %64 = load i32, ptr %17, align 4, !tbaa !5
  %65 = load i32, ptr %12, align 4, !tbaa !5
  %66 = icmp ult i32 %64, %65
  br i1 %66, label %67, label %146

67:                                               ; preds = %63
  %68 = load i32, ptr %17, align 4, !tbaa !5
  %69 = icmp eq i32 %68, 0
  br i1 %69, label %70, label %85

70:                                               ; preds = %67
  %71 = load i32, ptr %17, align 4, !tbaa !5
  %72 = add i32 %71, 1
  %73 = zext i32 %72 to i64
  %74 = getelementptr inbounds float, ptr %52, i64 %73
  %75 = load float, ptr %74, align 4, !tbaa !9
  %76 = load i32, ptr %12, align 4, !tbaa !5
  %77 = sub i32 %76, 1
  %78 = zext i32 %77 to i64
  %79 = getelementptr inbounds float, ptr %52, i64 %78
  %80 = load float, ptr %79, align 4, !tbaa !9
  %81 = fsub float %75, %80
  %82 = load i32, ptr %17, align 4, !tbaa !5
  %83 = zext i32 %82 to i64
  %84 = getelementptr inbounds float, ptr %62, i64 %83
  store float %81, ptr %84, align 4, !tbaa !9
  br label %118

85:                                               ; preds = %67
  %86 = load i32, ptr %17, align 4, !tbaa !5
  %87 = load i32, ptr %12, align 4, !tbaa !5
  %88 = sub i32 %87, 1
  %89 = icmp eq i32 %86, %88
  br i1 %89, label %90, label %102

90:                                               ; preds = %85
  %91 = getelementptr inbounds float, ptr %52, i64 0
  %92 = load float, ptr %91, align 16, !tbaa !9
  %93 = load i32, ptr %17, align 4, !tbaa !5
  %94 = sub i32 %93, 1
  %95 = zext i32 %94 to i64
  %96 = getelementptr inbounds float, ptr %52, i64 %95
  %97 = load float, ptr %96, align 4, !tbaa !9
  %98 = fsub float %92, %97
  %99 = load i32, ptr %17, align 4, !tbaa !5
  %100 = zext i32 %99 to i64
  %101 = getelementptr inbounds float, ptr %62, i64 %100
  store float %98, ptr %101, align 4, !tbaa !9
  br label %117

102:                                              ; preds = %85
  %103 = load i32, ptr %17, align 4, !tbaa !5
  %104 = add i32 %103, 1
  %105 = zext i32 %104 to i64
  %106 = getelementptr inbounds float, ptr %52, i64 %105
  %107 = load float, ptr %106, align 4, !tbaa !9
  %108 = load i32, ptr %17, align 4, !tbaa !5
  %109 = sub i32 %108, 1
  %110 = zext i32 %109 to i64
  %111 = getelementptr inbounds float, ptr %52, i64 %110
  %112 = load float, ptr %111, align 4, !tbaa !9
  %113 = fsub float %107, %112
  %114 = load i32, ptr %17, align 4, !tbaa !5
  %115 = zext i32 %114 to i64
  %116 = getelementptr inbounds float, ptr %62, i64 %115
  store float %113, ptr %116, align 4, !tbaa !9
  br label %117

117:                                              ; preds = %102, %90
  br label %118

118:                                              ; preds = %117, %70
  %119 = load i32, ptr %17, align 4, !tbaa !5
  %120 = zext i32 %119 to i64
  %121 = getelementptr inbounds float, ptr %52, i64 %120
  %122 = load float, ptr %121, align 4, !tbaa !9
  %123 = load i32, ptr %17, align 4, !tbaa !5
  %124 = zext i32 %123 to i64
  %125 = getelementptr inbounds float, ptr %62, i64 %124
  %126 = load float, ptr %125, align 4, !tbaa !9
  %127 = fmul float %122, %126
  %128 = call float @llvm.fabs.f32(float %127)
  %129 = load float, ptr %16, align 4, !tbaa !9
  %130 = fcmp ogt float %128, %129
  br i1 %130, label %131, label %142

131:                                              ; preds = %118
  %132 = load i32, ptr %17, align 4, !tbaa !5
  %133 = zext i32 %132 to i64
  %134 = getelementptr inbounds float, ptr %52, i64 %133
  %135 = load float, ptr %134, align 4, !tbaa !9
  %136 = load i32, ptr %17, align 4, !tbaa !5
  %137 = zext i32 %136 to i64
  %138 = getelementptr inbounds float, ptr %62, i64 %137
  %139 = load float, ptr %138, align 4, !tbaa !9
  %140 = fmul float %135, %139
  %141 = call float @llvm.fabs.f32(float %140)
  store float %141, ptr %16, align 4, !tbaa !9
  br label %142

142:                                              ; preds = %131, %118
  br label %143

143:                                              ; preds = %142
  %144 = load i32, ptr %17, align 4, !tbaa !5
  %145 = add i32 %144, 1
  store i32 %145, ptr %17, align 4, !tbaa !5
  br label %63, !llvm.loop !11

146:                                              ; preds = %63
  %147 = load i32, ptr %12, align 4, !tbaa !5
  %148 = zext i32 %147 to i64
  %149 = alloca float, i64 %148, align 16
  store i64 %148, ptr %18, align 8
  store i32 0, ptr %17, align 4, !tbaa !5
  br label %150

150:                                              ; preds = %165, %146
  %151 = load i32, ptr %17, align 4, !tbaa !5
  %152 = load i32, ptr %12, align 4, !tbaa !5
  %153 = icmp ult i32 %151, %152
  br i1 %153, label %154, label %168

154:                                              ; preds = %150
  %155 = load i32, ptr %17, align 4, !tbaa !5
  %156 = zext i32 %155 to i64
  %157 = getelementptr inbounds float, ptr %62, i64 %156
  %158 = load float, ptr %157, align 4, !tbaa !9
  %159 = fmul float %158, 0x3FAEB851E0000000
  %160 = load float, ptr %16, align 4, !tbaa !9
  %161 = fdiv float %159, %160
  %162 = load i32, ptr %17, align 4, !tbaa !5
  %163 = zext i32 %162 to i64
  %164 = getelementptr inbounds float, ptr %149, i64 %163
  store float %161, ptr %164, align 4, !tbaa !9
  br label %165

165:                                              ; preds = %154
  %166 = load i32, ptr %17, align 4, !tbaa !5
  %167 = add i32 %166, 1
  store i32 %167, ptr %17, align 4, !tbaa !5
  br label %150, !llvm.loop !13

168:                                              ; preds = %150
  %169 = load i32, ptr %8, align 4, !tbaa !5
  %170 = load i32, ptr %12, align 4, !tbaa !5
  %171 = call ptr @firpfb_crcf_create(i32 noundef %169, ptr noundef %149, i32 noundef %170)
  store ptr %171, ptr %6, align 8
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  %172 = load ptr, ptr %13, align 8
  call void @llvm.stackrestore.p0(ptr %172)
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br label %173

173:                                              ; preds = %168, %39, %31, %26, %21
  %174 = load ptr, ptr %6, align 8
  ret ptr %174
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fabs.f32(float) #4

attributes #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 = { nocallback nofree nosync nounwind willreturn }
attributes #3 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { 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 = !{!"float", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}


; 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.2 = external hidden unnamed_addr constant [5 x i8], align 1
@.str.64 = external hidden unnamed_addr constant [84 x i8], align 1
@.str.75 = external hidden unnamed_addr constant [74 x i8], align 1
@.str.76 = external hidden unnamed_addr constant [75 x i8], align 1
@.str.77 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.78 = external hidden unnamed_addr constant [78 x i8], align 1

declare ptr @liquid_error_config_fl(ptr noundef, i32 noundef, ptr noundef, ...) local_unnamed_addr #0

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare ptr @llvm.stacksave.p0() #1

; Function Attrs: mustprogress nocallback nofree nosync nounwind willreturn
declare void @llvm.stackrestore.p0(ptr) #1

declare i32 @liquid_firdes_prototype(i32 noundef, i32 noundef, i32 noundef, float noundef, float noundef, ptr noundef) local_unnamed_addr #0

; Function Attrs: nounwind uwtable
declare dso_local ptr @firpfb_crcf_create(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local ptr @firpfb_crcf_create_drnyquist(i32 noundef %0, i32 noundef %1, i32 noundef %2, i32 noundef %3, float noundef %4) local_unnamed_addr #2 {
  %6 = icmp eq i32 %1, 0
  br i1 %6, label %7, label %9

7:                                                ; preds = %5
  %8 = tail call ptr (ptr, i32, ptr, ...) @liquid_error_config_fl(ptr noundef nonnull @.str.64, i32 noundef 187, ptr noundef nonnull @.str.75, ptr noundef nonnull @.str.2) #4
  br label %78

9:                                                ; preds = %5
  %10 = icmp ult i32 %2, 2
  br i1 %10, label %11, label %13

11:                                               ; preds = %9
  %12 = tail call ptr (ptr, i32, ptr, ...) @liquid_error_config_fl(ptr noundef nonnull @.str.64, i32 noundef 189, ptr noundef nonnull @.str.76, ptr noundef nonnull @.str.2) #4
  br label %78

13:                                               ; preds = %9
  %14 = icmp eq i32 %3, 0
  br i1 %14, label %15, label %17

15:                                               ; preds = %13
  %16 = tail call ptr (ptr, i32, ptr, ...) @liquid_error_config_fl(ptr noundef nonnull @.str.64, i32 noundef 191, ptr noundef nonnull @.str.77, ptr noundef nonnull @.str.2) #4
  br label %78

17:                                               ; preds = %13
  %18 = fcmp olt float %4, 0.000000e+00
  %19 = fcmp ogt float %4, 1.000000e+00
  %or.cond = or i1 %18, %19
  br i1 %or.cond, label %20, label %22

20:                                               ; preds = %17
  %21 = tail call ptr (ptr, i32, ptr, ...) @liquid_error_config_fl(ptr noundef nonnull @.str.64, i32 noundef 193, ptr noundef nonnull @.str.78, ptr noundef nonnull @.str.2) #4
  br label %78

22:                                               ; preds = %17
  %23 = shl i32 %1, 1
  %24 = mul i32 %23, %2
  %25 = mul i32 %24, %3
  %26 = or disjoint i32 %25, 1
  %27 = zext i32 %26 to i64
  %28 = tail call ptr @llvm.stacksave.p0()
  %29 = alloca float, i64 %27, align 16
  %30 = mul i32 %2, %1
  %31 = call i32 @liquid_firdes_prototype(i32 noundef %0, i32 noundef %30, i32 noundef %3, float noundef %4, float noundef 0.000000e+00, ptr noundef nonnull %29) #4
  %32 = alloca float, i64 %27, align 16
  %33 = zext i32 %25 to i64
  %34 = or disjoint i32 %25, 1
  %wide.trip.count = zext i32 %34 to i64
  %35 = getelementptr inbounds float, ptr %29, i64 %33
  %36 = getelementptr inbounds i8, ptr %29, i64 4
  %37 = load float, ptr %36, align 4, !tbaa !5
  %38 = load float, ptr %35, align 8, !tbaa !5
  %39 = fsub float %37, %38
  store float %39, ptr %32, align 16, !tbaa !5
  %40 = load float, ptr %29, align 16, !tbaa !5
  %41 = fmul float %40, %39
  %42 = call float @llvm.fabs.f32(float %41)
  %43 = fcmp ogt float %42, 0.000000e+00
  %.147.peel = select i1 %43, float %42, float 0.000000e+00
  %exitcond.peel = icmp eq i32 %25, 0
  br i1 %exitcond.peel, label %.loopexit, label %.peel.next

.peel.next:                                       ; preds = %22
  %invariant.gep = getelementptr inbounds i8, ptr %29, i64 4
  %44 = getelementptr float, ptr %29, i64 %33
  %45 = getelementptr i8, ptr %44, i64 -4
  %46 = getelementptr inbounds float, ptr %32, i64 %33
  br label %47

47:                                               ; preds = %57, %.peel.next
  %48 = phi float [ %40, %.peel.next ], [ %59, %57 ]
  %indvars.iv = phi i64 [ 1, %.peel.next ], [ %indvars.iv.next, %57 ]
  %.04655 = phi float [ %.147.peel, %.peel.next ], [ %.147, %57 ]
  %49 = icmp eq i64 %indvars.iv, %33
  br i1 %49, label %50, label %53

50:                                               ; preds = %47
  %51 = load float, ptr %45, align 4, !tbaa !5
  %52 = fsub float %40, %51
  store float %52, ptr %46, align 8, !tbaa !5
  br label %57

53:                                               ; preds = %47
  %gep = getelementptr inbounds float, ptr %invariant.gep, i64 %indvars.iv
  %54 = load float, ptr %gep, align 4, !tbaa !5
  %55 = fsub float %54, %48
  %56 = getelementptr inbounds float, ptr %32, i64 %indvars.iv
  store float %55, ptr %56, align 4, !tbaa !5
  br label %57

57:                                               ; preds = %50, %53
  %58 = getelementptr inbounds float, ptr %29, i64 %indvars.iv
  %59 = load float, ptr %58, align 4, !tbaa !5
  %60 = getelementptr inbounds float, ptr %32, i64 %indvars.iv
  %61 = load float, ptr %60, align 4, !tbaa !5
  %62 = fmul float %59, %61
  %63 = call float @llvm.fabs.f32(float %62)
  %64 = fcmp ogt float %63, %.04655
  %.147 = select i1 %64, float %63, float %.04655
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond = icmp eq i64 %indvars.iv.next, %wide.trip.count
  br i1 %exitcond, label %.loopexit, label %47, !llvm.loop !9

.loopexit:                                        ; preds = %57, %22
  %.147.lcssa = phi float [ %.147.peel, %22 ], [ %.147, %57 ]
  %65 = alloca float, i64 %27, align 16
  %min.iters.check = icmp ult i32 %25, 4
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.ph

vector.ph:                                        ; preds = %.loopexit
  %66 = and i32 %25, -4
  %n.vec = zext i32 %66 to i64
  %broadcast.splatinsert = insertelement <4 x float> poison, float %.147.lcssa, i64 0
  %broadcast.splat = shufflevector <4 x float> %broadcast.splatinsert, <4 x float> poison, <4 x i32> zeroinitializer
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %67 = getelementptr inbounds float, ptr %32, i64 %index
  %wide.load = load <4 x float>, ptr %67, align 16, !tbaa !5
  %68 = fmul <4 x float> %wide.load, <float 0x3FAEB851E0000000, float 0x3FAEB851E0000000, float 0x3FAEB851E0000000, float 0x3FAEB851E0000000>
  %69 = fdiv <4 x float> %68, %broadcast.splat
  %70 = getelementptr inbounds float, ptr %65, i64 %index
  store <4 x float> %69, ptr %70, align 16, !tbaa !5
  %index.next = add nuw i64 %index, 4
  %71 = icmp eq i64 %index.next, %n.vec
  br i1 %71, label %scalar.ph.preheader, label %vector.body, !llvm.loop !12

scalar.ph.preheader:                              ; preds = %vector.body, %.loopexit
  %indvars.iv60.ph = phi i64 [ 0, %.loopexit ], [ %n.vec, %vector.body ]
  br label %scalar.ph

scalar.ph:                                        ; preds = %scalar.ph.preheader, %scalar.ph
  %indvars.iv60 = phi i64 [ %indvars.iv.next61, %scalar.ph ], [ %indvars.iv60.ph, %scalar.ph.preheader ]
  %72 = getelementptr inbounds float, ptr %32, i64 %indvars.iv60
  %73 = load float, ptr %72, align 4, !tbaa !5
  %74 = fmul float %73, 0x3FAEB851E0000000
  %75 = fdiv float %74, %.147.lcssa
  %76 = getelementptr inbounds float, ptr %65, i64 %indvars.iv60
  store float %75, ptr %76, align 4, !tbaa !5
  %indvars.iv.next61 = add nuw nsw i64 %indvars.iv60, 1
  %exitcond64 = icmp eq i64 %indvars.iv.next61, %wide.trip.count
  br i1 %exitcond64, label %.loopexit67, label %scalar.ph, !llvm.loop !15

.loopexit67:                                      ; preds = %scalar.ph
  %77 = call ptr @firpfb_crcf_create(i32 noundef %1, ptr noundef nonnull %65, i32 noundef %26)
  call void @llvm.stackrestore.p0(ptr %28)
  br label %78

78:                                               ; preds = %.loopexit67, %20, %15, %11, %7
  %.0 = phi ptr [ %8, %7 ], [ %12, %11 ], [ %16, %15 ], [ %21, %20 ], [ %77, %.loopexit67 ]
  ret ptr %.0
}

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fabs.f32(float) #3

attributes #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 }
attributes #2 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10, !11}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!"llvm.loop.peeled.count", i32 1}
!12 = distinct !{!12, !10, !13, !14}
!13 = !{!"llvm.loop.isvectorized", i32 1}
!14 = !{!"llvm.loop.unroll.runtime.disable"}
!15 = distinct !{!15, !10, !14, !13}


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopFullUnrollPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,ReassociatePass,SCCPPass,SROAPass,SimplifyCFGPass,TailCallElimPass