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

; 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 [103 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [14 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @autotest_firfilt_cccf_coefficients_test() #0 {
  %1 = alloca i32, align 4
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca i32, align 4
  %5 = alloca { float, float }, align 4
  %6 = alloca { float, float }, align 4
  %7 = alloca ptr, align 8
  %8 = alloca { float, float }, align 4
  %9 = alloca ptr, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #5
  store i32 71, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #5
  %10 = load i32, ptr %1, align 4, !tbaa !5
  %11 = zext i32 %10 to i64
  %12 = mul i64 %11, 8
  %13 = call noalias ptr @malloc(i64 noundef %12) #6
  store ptr %13, ptr %2, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #5
  %14 = load i32, ptr %1, align 4, !tbaa !5
  %15 = zext i32 %14 to i64
  %16 = mul i64 %15, 8
  %17 = call noalias ptr @malloc(i64 noundef %16) #6
  store ptr %17, ptr %3, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #5
  store i32 0, ptr %4, align 4, !tbaa !5
  br label %18

18:                                               ; preds = %46, %0
  %19 = load i32, ptr %4, align 4, !tbaa !5
  %20 = load i32, ptr %1, align 4, !tbaa !5
  %21 = icmp ult i32 %19, %20
  br i1 %21, label %22, label %49

22:                                               ; preds = %18
  %23 = load i32, ptr %4, align 4, !tbaa !5
  %24 = uitofp i32 %23 to float
  %25 = fmul float 0.000000e+00, %24
  %26 = fmul float 0x3FC99999A0000000, %24
  %27 = getelementptr inbounds { float, float }, ptr %5, i32 0, i32 0
  %28 = getelementptr inbounds { float, float }, ptr %5, i32 0, i32 1
  store float %25, ptr %27, align 4
  store float %26, ptr %28, align 4
  %29 = load <2 x float>, ptr %5, align 4
  %30 = call <2 x float> @cexpf(<2 x float> noundef %29) #5
  store <2 x float> %30, ptr %6, align 4
  %31 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 0
  %32 = load float, ptr %31, align 4
  %33 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 1
  %34 = load float, ptr %33, align 4
  %35 = load i32, ptr %4, align 4, !tbaa !5
  %36 = load i32, ptr %1, align 4, !tbaa !5
  %37 = call float @liquid_hamming(i32 noundef %35, i32 noundef %36)
  %38 = fmul float %32, %37
  %39 = fmul float %34, %37
  %40 = load ptr, ptr %2, align 8, !tbaa !9
  %41 = load i32, ptr %4, align 4, !tbaa !5
  %42 = zext i32 %41 to i64
  %43 = getelementptr inbounds { float, float }, ptr %40, i64 %42
  %44 = getelementptr inbounds { float, float }, ptr %43, i32 0, i32 0
  %45 = getelementptr inbounds { float, float }, ptr %43, i32 0, i32 1
  store float %38, ptr %44, align 4
  store float %39, ptr %45, align 4
  br label %46

46:                                               ; preds = %22
  %47 = load i32, ptr %4, align 4, !tbaa !5
  %48 = add i32 %47, 1
  store i32 %48, ptr %4, align 4, !tbaa !5
  br label %18, !llvm.loop !11

49:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #5
  %50 = load ptr, ptr %2, align 8, !tbaa !9
  %51 = load i32, ptr %1, align 4, !tbaa !5
  %52 = call ptr @firfilt_cccf_create(ptr noundef %50, i32 noundef %51)
  store ptr %52, ptr %7, align 8, !tbaa !9
  %53 = load ptr, ptr %7, align 8, !tbaa !9
  %54 = getelementptr inbounds { float, float }, ptr %8, i32 0, i32 0
  %55 = getelementptr inbounds { float, float }, ptr %8, i32 0, i32 1
  store float 0xBFD99999A0000000, ptr %54, align 4
  store float 0x3FE6666660000000, ptr %55, align 4
  %56 = load <2 x float>, ptr %8, align 4
  %57 = call i32 @firfilt_cccf_set_scale(ptr noundef %53, <2 x float> noundef %56)
  %58 = load ptr, ptr %7, align 8, !tbaa !9
  %59 = load ptr, ptr %3, align 8, !tbaa !9
  %60 = call i32 @firfilt_cccf_copy_coefficients(ptr noundef %58, ptr noundef %59)
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #5
  %61 = load ptr, ptr %7, align 8, !tbaa !9
  %62 = call ptr @firfilt_cccf_get_coefficients(ptr noundef %61)
  store ptr %62, ptr %9, align 8, !tbaa !9
  store i32 0, ptr %4, align 4, !tbaa !5
  br label %63

63:                                               ; preds = %220, %49
  %64 = load i32, ptr %4, align 4, !tbaa !5
  %65 = load i32, ptr %1, align 4, !tbaa !5
  %66 = icmp ult i32 %64, %65
  br i1 %66, label %67, label %223

67:                                               ; preds = %63
  %68 = load ptr, ptr %2, align 8, !tbaa !9
  %69 = load i32, ptr %4, align 4, !tbaa !5
  %70 = zext i32 %69 to i64
  %71 = getelementptr inbounds { float, float }, ptr %68, i64 %70
  %72 = getelementptr inbounds { float, float }, ptr %71, i32 0, i32 0
  %73 = load float, ptr %72, align 4
  %74 = getelementptr inbounds { float, float }, ptr %71, i32 0, i32 1
  %75 = load float, ptr %74, align 4
  %76 = load ptr, ptr %3, align 8, !tbaa !9
  %77 = load i32, ptr %4, align 4, !tbaa !5
  %78 = zext i32 %77 to i64
  %79 = getelementptr inbounds { float, float }, ptr %76, i64 %78
  %80 = getelementptr inbounds { float, float }, ptr %79, i32 0, i32 0
  %81 = load float, ptr %80, align 4
  %82 = getelementptr inbounds { float, float }, ptr %79, i32 0, i32 1
  %83 = load float, ptr %82, align 4
  %84 = fcmp une float %73, %81
  br i1 %84, label %85, label %104

85:                                               ; preds = %67
  %86 = load ptr, ptr %2, align 8, !tbaa !9
  %87 = load i32, ptr %4, align 4, !tbaa !5
  %88 = zext i32 %87 to i64
  %89 = getelementptr inbounds { float, float }, ptr %86, i64 %88
  %90 = getelementptr inbounds { float, float }, ptr %89, i32 0, i32 0
  %91 = load float, ptr %90, align 4
  %92 = getelementptr inbounds { float, float }, ptr %89, i32 0, i32 1
  %93 = load float, ptr %92, align 4
  %94 = fpext float %91 to double
  %95 = load ptr, ptr %3, align 8, !tbaa !9
  %96 = load i32, ptr %4, align 4, !tbaa !5
  %97 = zext i32 %96 to i64
  %98 = getelementptr inbounds { float, float }, ptr %95, i64 %97
  %99 = getelementptr inbounds { float, float }, ptr %98, i32 0, i32 0
  %100 = load float, ptr %99, align 4
  %101 = getelementptr inbounds { float, float }, ptr %98, i32 0, i32 1
  %102 = load float, ptr %101, align 4
  %103 = fpext float %100 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 52, ptr noundef @.str.1, double noundef %94, ptr noundef @.str.2, ptr noundef @.str.3, double noundef %103)
  br label %105

104:                                              ; preds = %67
  call void (...) @liquid_autotest_passed()
  br label %105

105:                                              ; preds = %104, %85
  %106 = load ptr, ptr %2, align 8, !tbaa !9
  %107 = load i32, ptr %4, align 4, !tbaa !5
  %108 = zext i32 %107 to i64
  %109 = getelementptr inbounds { float, float }, ptr %106, i64 %108
  %110 = getelementptr inbounds { float, float }, ptr %109, i32 0, i32 0
  %111 = load float, ptr %110, align 4
  %112 = getelementptr inbounds { float, float }, ptr %109, i32 0, i32 1
  %113 = load float, ptr %112, align 4
  %114 = load ptr, ptr %3, align 8, !tbaa !9
  %115 = load i32, ptr %4, align 4, !tbaa !5
  %116 = zext i32 %115 to i64
  %117 = getelementptr inbounds { float, float }, ptr %114, i64 %116
  %118 = getelementptr inbounds { float, float }, ptr %117, i32 0, i32 0
  %119 = load float, ptr %118, align 4
  %120 = getelementptr inbounds { float, float }, ptr %117, i32 0, i32 1
  %121 = load float, ptr %120, align 4
  %122 = fcmp une float %113, %121
  br i1 %122, label %123, label %142

123:                                              ; preds = %105
  %124 = load ptr, ptr %2, align 8, !tbaa !9
  %125 = load i32, ptr %4, align 4, !tbaa !5
  %126 = zext i32 %125 to i64
  %127 = getelementptr inbounds { float, float }, ptr %124, i64 %126
  %128 = getelementptr inbounds { float, float }, ptr %127, i32 0, i32 0
  %129 = load float, ptr %128, align 4
  %130 = getelementptr inbounds { float, float }, ptr %127, i32 0, i32 1
  %131 = load float, ptr %130, align 4
  %132 = fpext float %131 to double
  %133 = load ptr, ptr %3, align 8, !tbaa !9
  %134 = load i32, ptr %4, align 4, !tbaa !5
  %135 = zext i32 %134 to i64
  %136 = getelementptr inbounds { float, float }, ptr %133, i64 %135
  %137 = getelementptr inbounds { float, float }, ptr %136, i32 0, i32 0
  %138 = load float, ptr %137, align 4
  %139 = getelementptr inbounds { float, float }, ptr %136, i32 0, i32 1
  %140 = load float, ptr %139, align 4
  %141 = fpext float %140 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 53, ptr noundef @.str.4, double noundef %132, ptr noundef @.str.2, ptr noundef @.str.5, double noundef %141)
  br label %143

142:                                              ; preds = %105
  call void (...) @liquid_autotest_passed()
  br label %143

143:                                              ; preds = %142, %123
  %144 = load ptr, ptr %2, align 8, !tbaa !9
  %145 = load i32, ptr %4, align 4, !tbaa !5
  %146 = zext i32 %145 to i64
  %147 = getelementptr inbounds { float, float }, ptr %144, i64 %146
  %148 = getelementptr inbounds { float, float }, ptr %147, i32 0, i32 0
  %149 = load float, ptr %148, align 4
  %150 = getelementptr inbounds { float, float }, ptr %147, i32 0, i32 1
  %151 = load float, ptr %150, align 4
  %152 = load ptr, ptr %9, align 8, !tbaa !9
  %153 = load i32, ptr %4, align 4, !tbaa !5
  %154 = zext i32 %153 to i64
  %155 = getelementptr inbounds { float, float }, ptr %152, i64 %154
  %156 = getelementptr inbounds { float, float }, ptr %155, i32 0, i32 0
  %157 = load float, ptr %156, align 4
  %158 = getelementptr inbounds { float, float }, ptr %155, i32 0, i32 1
  %159 = load float, ptr %158, align 4
  %160 = fcmp une float %149, %157
  br i1 %160, label %161, label %180

161:                                              ; preds = %143
  %162 = load ptr, ptr %2, align 8, !tbaa !9
  %163 = load i32, ptr %4, align 4, !tbaa !5
  %164 = zext i32 %163 to i64
  %165 = getelementptr inbounds { float, float }, ptr %162, i64 %164
  %166 = getelementptr inbounds { float, float }, ptr %165, i32 0, i32 0
  %167 = load float, ptr %166, align 4
  %168 = getelementptr inbounds { float, float }, ptr %165, i32 0, i32 1
  %169 = load float, ptr %168, align 4
  %170 = fpext float %167 to double
  %171 = load ptr, ptr %9, align 8, !tbaa !9
  %172 = load i32, ptr %4, align 4, !tbaa !5
  %173 = zext i32 %172 to i64
  %174 = getelementptr inbounds { float, float }, ptr %171, i64 %173
  %175 = getelementptr inbounds { float, float }, ptr %174, i32 0, i32 0
  %176 = load float, ptr %175, align 4
  %177 = getelementptr inbounds { float, float }, ptr %174, i32 0, i32 1
  %178 = load float, ptr %177, align 4
  %179 = fpext float %176 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 55, ptr noundef @.str.1, double noundef %170, ptr noundef @.str.2, ptr noundef @.str.6, double noundef %179)
  br label %181

180:                                              ; preds = %143
  call void (...) @liquid_autotest_passed()
  br label %181

181:                                              ; preds = %180, %161
  %182 = load ptr, ptr %2, align 8, !tbaa !9
  %183 = load i32, ptr %4, align 4, !tbaa !5
  %184 = zext i32 %183 to i64
  %185 = getelementptr inbounds { float, float }, ptr %182, i64 %184
  %186 = getelementptr inbounds { float, float }, ptr %185, i32 0, i32 0
  %187 = load float, ptr %186, align 4
  %188 = getelementptr inbounds { float, float }, ptr %185, i32 0, i32 1
  %189 = load float, ptr %188, align 4
  %190 = load ptr, ptr %9, align 8, !tbaa !9
  %191 = load i32, ptr %4, align 4, !tbaa !5
  %192 = zext i32 %191 to i64
  %193 = getelementptr inbounds { float, float }, ptr %190, i64 %192
  %194 = getelementptr inbounds { float, float }, ptr %193, i32 0, i32 0
  %195 = load float, ptr %194, align 4
  %196 = getelementptr inbounds { float, float }, ptr %193, i32 0, i32 1
  %197 = load float, ptr %196, align 4
  %198 = fcmp une float %189, %197
  br i1 %198, label %199, label %218

199:                                              ; preds = %181
  %200 = load ptr, ptr %2, align 8, !tbaa !9
  %201 = load i32, ptr %4, align 4, !tbaa !5
  %202 = zext i32 %201 to i64
  %203 = getelementptr inbounds { float, float }, ptr %200, i64 %202
  %204 = getelementptr inbounds { float, float }, ptr %203, i32 0, i32 0
  %205 = load float, ptr %204, align 4
  %206 = getelementptr inbounds { float, float }, ptr %203, i32 0, i32 1
  %207 = load float, ptr %206, align 4
  %208 = fpext float %207 to double
  %209 = load ptr, ptr %9, align 8, !tbaa !9
  %210 = load i32, ptr %4, align 4, !tbaa !5
  %211 = zext i32 %210 to i64
  %212 = getelementptr inbounds { float, float }, ptr %209, i64 %211
  %213 = getelementptr inbounds { float, float }, ptr %212, i32 0, i32 0
  %214 = load float, ptr %213, align 4
  %215 = getelementptr inbounds { float, float }, ptr %212, i32 0, i32 1
  %216 = load float, ptr %215, align 4
  %217 = fpext float %216 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 56, ptr noundef @.str.4, double noundef %208, ptr noundef @.str.2, ptr noundef @.str.7, double noundef %217)
  br label %219

218:                                              ; preds = %181
  call void (...) @liquid_autotest_passed()
  br label %219

219:                                              ; preds = %218, %199
  br label %220

220:                                              ; preds = %219
  %221 = load i32, ptr %4, align 4, !tbaa !5
  %222 = add i32 %221, 1
  store i32 %222, ptr %4, align 4, !tbaa !5
  br label %63, !llvm.loop !13

223:                                              ; preds = %63
  %224 = load ptr, ptr %7, align 8, !tbaa !9
  %225 = call i32 @firfilt_cccf_destroy(ptr noundef %224)
  %226 = load ptr, ptr %2, align 8, !tbaa !9
  call void @free(ptr noundef %226) #5
  %227 = load ptr, ptr %3, align 8, !tbaa !9
  call void @free(ptr noundef %227) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #5
  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: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #2

; Function Attrs: nounwind
declare <2 x float> @cexpf(<2 x float> noundef) #3

declare float @liquid_hamming(i32 noundef, i32 noundef) #4

declare ptr @firfilt_cccf_create(ptr noundef, i32 noundef) #4

declare i32 @firfilt_cccf_set_scale(ptr noundef, <2 x float> noundef) #4

declare i32 @firfilt_cccf_copy_coefficients(ptr noundef, ptr noundef) #4

declare ptr @firfilt_cccf_get_coefficients(ptr noundef) #4

declare void @liquid_autotest_failed_expr(ptr noundef, i32 noundef, ptr noundef, double noundef, ptr noundef, ptr noundef, double noundef) #4

declare void @liquid_autotest_passed(...) #4

declare i32 @firfilt_cccf_destroy(ptr noundef) #4

; Function Attrs: nounwind
declare void @free(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"="64" "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 = { 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 = { 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 #4 = { "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 #5 = { nounwind }
attributes #6 = { nounwind 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !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 = external hidden unnamed_addr constant [103 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [14 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [14 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @autotest_firfilt_cccf_coefficients_test() local_unnamed_addr #0 {
  %1 = tail call noalias dereferenceable_or_null(568) ptr @malloc(i64 noundef 568) #5
  %2 = tail call noalias dereferenceable_or_null(568) ptr @malloc(i64 noundef 568) #5
  br label %3

3:                                                ; preds = %0, %3
  %indvars.iv = phi i64 [ 0, %0 ], [ %indvars.iv.next, %3 ]
  %4 = trunc nuw nsw i64 %indvars.iv to i32
  %5 = uitofp nneg i32 %4 to float
  %6 = fmul float %5, 0x3FC99999A0000000
  %.sroa.010.4.vec.insert = insertelement <2 x float> <float 0.000000e+00, float poison>, float %6, i64 1
  %7 = tail call <2 x float> @cexpf(<2 x float> noundef %.sroa.010.4.vec.insert) #6
  %8 = tail call float @liquid_hamming(i32 noundef %4, i32 noundef 71) #6
  %9 = getelementptr inbounds { float, float }, ptr %1, i64 %indvars.iv
  %10 = insertelement <2 x float> poison, float %8, i64 0
  %11 = shufflevector <2 x float> %10, <2 x float> poison, <2 x i32> zeroinitializer
  %12 = fmul <2 x float> %7, %11
  store <2 x float> %12, ptr %9, align 4
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 71
  br i1 %exitcond.not, label %13, label %3, !llvm.loop !5

13:                                               ; preds = %3
  %14 = tail call ptr @firfilt_cccf_create(ptr noundef nonnull %1, i32 noundef 71) #6
  %15 = tail call i32 @firfilt_cccf_set_scale(ptr noundef %14, <2 x float> noundef <float 0xBFD99999A0000000, float 0x3FE6666660000000>) #6
  %16 = tail call i32 @firfilt_cccf_copy_coefficients(ptr noundef %14, ptr noundef %2) #6
  %17 = tail call ptr @firfilt_cccf_get_coefficients(ptr noundef %14) #6
  br label %18

18:                                               ; preds = %13, %56
  %indvars.iv68 = phi i64 [ 0, %13 ], [ %indvars.iv.next69, %56 ]
  %19 = getelementptr inbounds { float, float }, ptr %1, i64 %indvars.iv68
  %20 = load float, ptr %19, align 4
  %21 = getelementptr inbounds i8, ptr %19, i64 4
  %22 = getelementptr inbounds { float, float }, ptr %2, i64 %indvars.iv68
  %23 = load float, ptr %22, align 4
  %24 = getelementptr inbounds i8, ptr %22, i64 4
  %25 = fcmp une float %20, %23
  br i1 %25, label %26, label %29

26:                                               ; preds = %18
  %27 = fpext float %20 to double
  %28 = fpext float %23 to double
  tail call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 52, ptr noundef nonnull @.str.1, double noundef %27, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, double noundef %28) #6
  br label %30

29:                                               ; preds = %18
  tail call void (...) @liquid_autotest_passed() #6
  br label %30

30:                                               ; preds = %29, %26
  %31 = load float, ptr %21, align 4
  %32 = load float, ptr %24, align 4
  %33 = fcmp une float %31, %32
  br i1 %33, label %34, label %37

34:                                               ; preds = %30
  %35 = fpext float %31 to double
  %36 = fpext float %32 to double
  tail call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 53, ptr noundef nonnull @.str.4, double noundef %35, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.5, double noundef %36) #6
  br label %38

37:                                               ; preds = %30
  tail call void (...) @liquid_autotest_passed() #6
  br label %38

38:                                               ; preds = %37, %34
  %39 = load float, ptr %19, align 4
  %40 = getelementptr inbounds { float, float }, ptr %17, i64 %indvars.iv68
  %41 = load float, ptr %40, align 4
  %42 = getelementptr inbounds i8, ptr %40, i64 4
  %43 = fcmp une float %39, %41
  br i1 %43, label %44, label %47

44:                                               ; preds = %38
  %45 = fpext float %39 to double
  %46 = fpext float %41 to double
  tail call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 55, ptr noundef nonnull @.str.1, double noundef %45, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.6, double noundef %46) #6
  br label %48

47:                                               ; preds = %38
  tail call void (...) @liquid_autotest_passed() #6
  br label %48

48:                                               ; preds = %47, %44
  %49 = load float, ptr %21, align 4
  %50 = load float, ptr %42, align 4
  %51 = fcmp une float %49, %50
  br i1 %51, label %52, label %55

52:                                               ; preds = %48
  %53 = fpext float %49 to double
  %54 = fpext float %50 to double
  tail call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 56, ptr noundef nonnull @.str.4, double noundef %53, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.7, double noundef %54) #6
  br label %56

55:                                               ; preds = %48
  tail call void (...) @liquid_autotest_passed() #6
  br label %56

56:                                               ; preds = %52, %55
  %indvars.iv.next69 = add nuw nsw i64 %indvars.iv68, 1
  %exitcond71.not = icmp eq i64 %indvars.iv.next69, 71
  br i1 %exitcond71.not, label %57, label %18, !llvm.loop !7

57:                                               ; preds = %56
  %58 = tail call i32 @firfilt_cccf_destroy(ptr noundef %14) #6
  tail call void @free(ptr noundef nonnull %1) #6
  tail call void @free(ptr noundef nonnull %2) #6
  ret void
}

; 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: nounwind
declare <2 x float> @cexpf(<2 x float> noundef) local_unnamed_addr #2

declare float @liquid_hamming(i32 noundef, i32 noundef) local_unnamed_addr #3

declare ptr @firfilt_cccf_create(ptr noundef, i32 noundef) local_unnamed_addr #3

declare i32 @firfilt_cccf_set_scale(ptr noundef, <2 x float> noundef) local_unnamed_addr #3

declare i32 @firfilt_cccf_copy_coefficients(ptr noundef, ptr noundef) local_unnamed_addr #3

declare ptr @firfilt_cccf_get_coefficients(ptr noundef) local_unnamed_addr #3

declare void @liquid_autotest_failed_expr(ptr noundef, i32 noundef, ptr noundef, double noundef, ptr noundef, ptr noundef, double noundef) local_unnamed_addr #3

declare void @liquid_autotest_passed(...) local_unnamed_addr #3

declare i32 @firfilt_cccf_destroy(ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, inaccessiblemem: readwrite)
declare void @free(ptr allocptr nocapture noundef) local_unnamed_addr #4

attributes #0 = { nounwind uwtable "min-legal-vector-width"="64" "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 = { 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 = { "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 = { mustprogress nounwind willreturn allockind("free") memory(argmem: readwrite, 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 #5 = { nounwind allocsize(0) }
attributes #6 = { 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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = distinct !{!7, !6}


; Effective O3 passes: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass