; LLVM IR from jgaeddert/liquid-dsp :: src/filter/tests (firinterp_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 [92 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [5 x i8], align 1

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

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

declare void @liquid_autotest_passed(...) #1

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

declare ptr @firinterp_crcf_create_kaiser(i32 noundef, i32 noundef, float noundef) #1

declare i32 @firinterp_crcf_destroy(ptr noundef) #1

declare i32 @firinterp_crcf_execute(ptr noundef, <2 x float> noundef, ptr noundef) #1

declare float @randnf(...) #1

; Function Attrs: nounwind uwtable
define dso_local void @autotest_firinterp_flush() #2 {
  %1 = alloca i32, align 4
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca [3 x { float, float }], align 16
  %5 = alloca { float, float }, align 4
  %6 = alloca { float, float }, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #3
  store i32 7, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #3
  %7 = load i32, ptr %1, align 4, !tbaa !5
  %8 = call ptr @firinterp_crcf_create_kaiser(i32 noundef 3, i32 noundef %7, float noundef 6.000000e+01)
  store ptr %8, ptr %2, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr %4) #3
  store i32 0, ptr %3, align 4, !tbaa !5
  br label %9

9:                                                ; preds = %30, %0
  %10 = load i32, ptr %3, align 4, !tbaa !5
  %11 = icmp ult i32 %10, 20
  br i1 %11, label %12, label %33

12:                                               ; preds = %9
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  %13 = call float (...) @randnf()
  %14 = call float (...) @randnf()
  %15 = fmul float 0.000000e+00, %14
  %16 = fmul float 1.000000e+00, %14
  %17 = fadd float %13, %15
  %18 = getelementptr inbounds { float, float }, ptr %5, i32 0, i32 0
  %19 = getelementptr inbounds { float, float }, ptr %5, i32 0, i32 1
  store float %17, ptr %18, align 4
  store float %16, ptr %19, align 4
  %20 = load ptr, ptr %2, align 8, !tbaa !9
  %21 = getelementptr inbounds { float, float }, ptr %5, i32 0, i32 0
  %22 = load float, ptr %21, align 4
  %23 = getelementptr inbounds { float, float }, ptr %5, i32 0, i32 1
  %24 = load float, ptr %23, align 4
  %25 = getelementptr inbounds [3 x { float, float }], ptr %4, i64 0, i64 0
  %26 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 0
  %27 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 1
  store float %22, ptr %26, align 4
  store float %24, ptr %27, align 4
  %28 = load <2 x float>, ptr %6, align 4
  %29 = call i32 @firinterp_crcf_execute(ptr noundef %20, <2 x float> noundef %28, ptr noundef %25)
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  br label %30

30:                                               ; preds = %12
  %31 = load i32, ptr %3, align 4, !tbaa !5
  %32 = add i32 %31, 1
  store i32 %32, ptr %3, align 4, !tbaa !5
  br label %9, !llvm.loop !11

33:                                               ; preds = %9
  %34 = getelementptr inbounds [3 x { float, float }], ptr %4, i64 0, i64 0
  %35 = call float @liquid_sumsqcf(ptr noundef %34, i32 noundef 3)
  %36 = fcmp ole float %35, 0.000000e+00
  br i1 %36, label %37, label %41

37:                                               ; preds = %33
  %38 = getelementptr inbounds [3 x { float, float }], ptr %4, i64 0, i64 0
  %39 = call float @liquid_sumsqcf(ptr noundef %38, i32 noundef 3)
  %40 = fpext float %39 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 268, ptr noundef @.str.17, double noundef %40, ptr noundef @.str.18, ptr noundef @.str.19, double noundef 0.000000e+00)
  br label %42

41:                                               ; preds = %33
  call void (...) @liquid_autotest_passed()
  br label %42

42:                                               ; preds = %41, %37
  store i32 0, ptr %3, align 4, !tbaa !5
  br label %43

43:                                               ; preds = %52, %42
  %44 = load i32, ptr %3, align 4, !tbaa !5
  %45 = load i32, ptr %1, align 4, !tbaa !5
  %46 = mul i32 2, %45
  %47 = icmp ult i32 %44, %46
  br i1 %47, label %48, label %55

48:                                               ; preds = %43
  %49 = load ptr, ptr %2, align 8, !tbaa !9
  %50 = getelementptr inbounds [3 x { float, float }], ptr %4, i64 0, i64 0
  %51 = call i32 @firinterp_crcf_flush(ptr noundef %49, ptr noundef %50)
  br label %52

52:                                               ; preds = %48
  %53 = load i32, ptr %3, align 4, !tbaa !5
  %54 = add i32 %53, 1
  store i32 %54, ptr %3, align 4, !tbaa !5
  br label %43, !llvm.loop !13

55:                                               ; preds = %43
  %56 = getelementptr inbounds [3 x { float, float }], ptr %4, i64 0, i64 0
  %57 = call float @liquid_sumsqcf(ptr noundef %56, i32 noundef 3)
  %58 = fcmp une float %57, 0.000000e+00
  br i1 %58, label %59, label %63

59:                                               ; preds = %55
  %60 = getelementptr inbounds [3 x { float, float }], ptr %4, i64 0, i64 0
  %61 = call float @liquid_sumsqcf(ptr noundef %60, i32 noundef 3)
  %62 = fpext float %61 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 275, ptr noundef @.str.17, double noundef %62, ptr noundef @.str.2, ptr noundef @.str.19, double noundef 0.000000e+00)
  br label %64

63:                                               ; preds = %55
  call void (...) @liquid_autotest_passed()
  br label %64

64:                                               ; preds = %63, %59
  %65 = load ptr, ptr %2, align 8, !tbaa !9
  %66 = call i32 @firinterp_crcf_destroy(ptr noundef %65)
  call void @llvm.lifetime.end.p0(i64 24, ptr %4) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #3
  ret void
}

declare float @liquid_sumsqcf(ptr noundef, i32 noundef) #1

declare i32 @firinterp_crcf_flush(ptr noundef, ptr noundef) #1

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 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 #3 = { 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 = !{!"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 [92 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.17 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.19 = external hidden unnamed_addr constant [5 x i8], align 1

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

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

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

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

declare ptr @firinterp_crcf_create_kaiser(i32 noundef, i32 noundef, float noundef) local_unnamed_addr #1

declare i32 @firinterp_crcf_destroy(ptr noundef) local_unnamed_addr #1

declare i32 @firinterp_crcf_execute(ptr noundef, <2 x float> noundef, ptr noundef) local_unnamed_addr #1

declare float @randnf(...) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local void @autotest_firinterp_flush() local_unnamed_addr #2 {
  %1 = alloca [3 x { float, float }], align 16
  %2 = tail call ptr @firinterp_crcf_create_kaiser(i32 noundef 3, i32 noundef 7, float noundef 6.000000e+01) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %1) #3
  %3 = tail call float (...) @randnf() #3
  %4 = tail call float (...) @randnf() #3
  %5 = fmul float %4, 0.000000e+00
  %6 = fadd float %3, %5
  %.sroa.0.0.vec.insert = insertelement <2 x float> poison, float %6, i64 0
  %.sroa.0.4.vec.insert = insertelement <2 x float> %.sroa.0.0.vec.insert, float %4, i64 1
  %7 = call i32 @firinterp_crcf_execute(ptr noundef %2, <2 x float> noundef %.sroa.0.4.vec.insert, ptr noundef nonnull %1) #3
  %8 = call float (...) @randnf() #3
  %9 = call float (...) @randnf() #3
  %10 = fmul float %9, 0.000000e+00
  %11 = fadd float %8, %10
  %.sroa.0.0.vec.insert.1 = insertelement <2 x float> poison, float %11, i64 0
  %.sroa.0.4.vec.insert.1 = insertelement <2 x float> %.sroa.0.0.vec.insert.1, float %9, i64 1
  %12 = call i32 @firinterp_crcf_execute(ptr noundef %2, <2 x float> noundef %.sroa.0.4.vec.insert.1, ptr noundef nonnull %1) #3
  %13 = call float (...) @randnf() #3
  %14 = call float (...) @randnf() #3
  %15 = fmul float %14, 0.000000e+00
  %16 = fadd float %13, %15
  %.sroa.0.0.vec.insert.2 = insertelement <2 x float> poison, float %16, i64 0
  %.sroa.0.4.vec.insert.2 = insertelement <2 x float> %.sroa.0.0.vec.insert.2, float %14, i64 1
  %17 = call i32 @firinterp_crcf_execute(ptr noundef %2, <2 x float> noundef %.sroa.0.4.vec.insert.2, ptr noundef nonnull %1) #3
  %18 = call float (...) @randnf() #3
  %19 = call float (...) @randnf() #3
  %20 = fmul float %19, 0.000000e+00
  %21 = fadd float %18, %20
  %.sroa.0.0.vec.insert.3 = insertelement <2 x float> poison, float %21, i64 0
  %.sroa.0.4.vec.insert.3 = insertelement <2 x float> %.sroa.0.0.vec.insert.3, float %19, i64 1
  %22 = call i32 @firinterp_crcf_execute(ptr noundef %2, <2 x float> noundef %.sroa.0.4.vec.insert.3, ptr noundef nonnull %1) #3
  %23 = call float (...) @randnf() #3
  %24 = call float (...) @randnf() #3
  %25 = fmul float %24, 0.000000e+00
  %26 = fadd float %23, %25
  %.sroa.0.0.vec.insert.4 = insertelement <2 x float> poison, float %26, i64 0
  %.sroa.0.4.vec.insert.4 = insertelement <2 x float> %.sroa.0.0.vec.insert.4, float %24, i64 1
  %27 = call i32 @firinterp_crcf_execute(ptr noundef %2, <2 x float> noundef %.sroa.0.4.vec.insert.4, ptr noundef nonnull %1) #3
  %28 = call float (...) @randnf() #3
  %29 = call float (...) @randnf() #3
  %30 = fmul float %29, 0.000000e+00
  %31 = fadd float %28, %30
  %.sroa.0.0.vec.insert.5 = insertelement <2 x float> poison, float %31, i64 0
  %.sroa.0.4.vec.insert.5 = insertelement <2 x float> %.sroa.0.0.vec.insert.5, float %29, i64 1
  %32 = call i32 @firinterp_crcf_execute(ptr noundef %2, <2 x float> noundef %.sroa.0.4.vec.insert.5, ptr noundef nonnull %1) #3
  %33 = call float (...) @randnf() #3
  %34 = call float (...) @randnf() #3
  %35 = fmul float %34, 0.000000e+00
  %36 = fadd float %33, %35
  %.sroa.0.0.vec.insert.6 = insertelement <2 x float> poison, float %36, i64 0
  %.sroa.0.4.vec.insert.6 = insertelement <2 x float> %.sroa.0.0.vec.insert.6, float %34, i64 1
  %37 = call i32 @firinterp_crcf_execute(ptr noundef %2, <2 x float> noundef %.sroa.0.4.vec.insert.6, ptr noundef nonnull %1) #3
  %38 = call float (...) @randnf() #3
  %39 = call float (...) @randnf() #3
  %40 = fmul float %39, 0.000000e+00
  %41 = fadd float %38, %40
  %.sroa.0.0.vec.insert.7 = insertelement <2 x float> poison, float %41, i64 0
  %.sroa.0.4.vec.insert.7 = insertelement <2 x float> %.sroa.0.0.vec.insert.7, float %39, i64 1
  %42 = call i32 @firinterp_crcf_execute(ptr noundef %2, <2 x float> noundef %.sroa.0.4.vec.insert.7, ptr noundef nonnull %1) #3
  %43 = call float (...) @randnf() #3
  %44 = call float (...) @randnf() #3
  %45 = fmul float %44, 0.000000e+00
  %46 = fadd float %43, %45
  %.sroa.0.0.vec.insert.8 = insertelement <2 x float> poison, float %46, i64 0
  %.sroa.0.4.vec.insert.8 = insertelement <2 x float> %.sroa.0.0.vec.insert.8, float %44, i64 1
  %47 = call i32 @firinterp_crcf_execute(ptr noundef %2, <2 x float> noundef %.sroa.0.4.vec.insert.8, ptr noundef nonnull %1) #3
  %48 = call float (...) @randnf() #3
  %49 = call float (...) @randnf() #3
  %50 = fmul float %49, 0.000000e+00
  %51 = fadd float %48, %50
  %.sroa.0.0.vec.insert.9 = insertelement <2 x float> poison, float %51, i64 0
  %.sroa.0.4.vec.insert.9 = insertelement <2 x float> %.sroa.0.0.vec.insert.9, float %49, i64 1
  %52 = call i32 @firinterp_crcf_execute(ptr noundef %2, <2 x float> noundef %.sroa.0.4.vec.insert.9, ptr noundef nonnull %1) #3
  %53 = call float (...) @randnf() #3
  %54 = call float (...) @randnf() #3
  %55 = fmul float %54, 0.000000e+00
  %56 = fadd float %53, %55
  %.sroa.0.0.vec.insert.10 = insertelement <2 x float> poison, float %56, i64 0
  %.sroa.0.4.vec.insert.10 = insertelement <2 x float> %.sroa.0.0.vec.insert.10, float %54, i64 1
  %57 = call i32 @firinterp_crcf_execute(ptr noundef %2, <2 x float> noundef %.sroa.0.4.vec.insert.10, ptr noundef nonnull %1) #3
  %58 = call float (...) @randnf() #3
  %59 = call float (...) @randnf() #3
  %60 = fmul float %59, 0.000000e+00
  %61 = fadd float %58, %60
  %.sroa.0.0.vec.insert.11 = insertelement <2 x float> poison, float %61, i64 0
  %.sroa.0.4.vec.insert.11 = insertelement <2 x float> %.sroa.0.0.vec.insert.11, float %59, i64 1
  %62 = call i32 @firinterp_crcf_execute(ptr noundef %2, <2 x float> noundef %.sroa.0.4.vec.insert.11, ptr noundef nonnull %1) #3
  %63 = call float (...) @randnf() #3
  %64 = call float (...) @randnf() #3
  %65 = fmul float %64, 0.000000e+00
  %66 = fadd float %63, %65
  %.sroa.0.0.vec.insert.12 = insertelement <2 x float> poison, float %66, i64 0
  %.sroa.0.4.vec.insert.12 = insertelement <2 x float> %.sroa.0.0.vec.insert.12, float %64, i64 1
  %67 = call i32 @firinterp_crcf_execute(ptr noundef %2, <2 x float> noundef %.sroa.0.4.vec.insert.12, ptr noundef nonnull %1) #3
  %68 = call float (...) @randnf() #3
  %69 = call float (...) @randnf() #3
  %70 = fmul float %69, 0.000000e+00
  %71 = fadd float %68, %70
  %.sroa.0.0.vec.insert.13 = insertelement <2 x float> poison, float %71, i64 0
  %.sroa.0.4.vec.insert.13 = insertelement <2 x float> %.sroa.0.0.vec.insert.13, float %69, i64 1
  %72 = call i32 @firinterp_crcf_execute(ptr noundef %2, <2 x float> noundef %.sroa.0.4.vec.insert.13, ptr noundef nonnull %1) #3
  %73 = call float (...) @randnf() #3
  %74 = call float (...) @randnf() #3
  %75 = fmul float %74, 0.000000e+00
  %76 = fadd float %73, %75
  %.sroa.0.0.vec.insert.14 = insertelement <2 x float> poison, float %76, i64 0
  %.sroa.0.4.vec.insert.14 = insertelement <2 x float> %.sroa.0.0.vec.insert.14, float %74, i64 1
  %77 = call i32 @firinterp_crcf_execute(ptr noundef %2, <2 x float> noundef %.sroa.0.4.vec.insert.14, ptr noundef nonnull %1) #3
  %78 = call float (...) @randnf() #3
  %79 = call float (...) @randnf() #3
  %80 = fmul float %79, 0.000000e+00
  %81 = fadd float %78, %80
  %.sroa.0.0.vec.insert.15 = insertelement <2 x float> poison, float %81, i64 0
  %.sroa.0.4.vec.insert.15 = insertelement <2 x float> %.sroa.0.0.vec.insert.15, float %79, i64 1
  %82 = call i32 @firinterp_crcf_execute(ptr noundef %2, <2 x float> noundef %.sroa.0.4.vec.insert.15, ptr noundef nonnull %1) #3
  %83 = call float (...) @randnf() #3
  %84 = call float (...) @randnf() #3
  %85 = fmul float %84, 0.000000e+00
  %86 = fadd float %83, %85
  %.sroa.0.0.vec.insert.16 = insertelement <2 x float> poison, float %86, i64 0
  %.sroa.0.4.vec.insert.16 = insertelement <2 x float> %.sroa.0.0.vec.insert.16, float %84, i64 1
  %87 = call i32 @firinterp_crcf_execute(ptr noundef %2, <2 x float> noundef %.sroa.0.4.vec.insert.16, ptr noundef nonnull %1) #3
  %88 = call float (...) @randnf() #3
  %89 = call float (...) @randnf() #3
  %90 = fmul float %89, 0.000000e+00
  %91 = fadd float %88, %90
  %.sroa.0.0.vec.insert.17 = insertelement <2 x float> poison, float %91, i64 0
  %.sroa.0.4.vec.insert.17 = insertelement <2 x float> %.sroa.0.0.vec.insert.17, float %89, i64 1
  %92 = call i32 @firinterp_crcf_execute(ptr noundef %2, <2 x float> noundef %.sroa.0.4.vec.insert.17, ptr noundef nonnull %1) #3
  %93 = call float (...) @randnf() #3
  %94 = call float (...) @randnf() #3
  %95 = fmul float %94, 0.000000e+00
  %96 = fadd float %93, %95
  %.sroa.0.0.vec.insert.18 = insertelement <2 x float> poison, float %96, i64 0
  %.sroa.0.4.vec.insert.18 = insertelement <2 x float> %.sroa.0.0.vec.insert.18, float %94, i64 1
  %97 = call i32 @firinterp_crcf_execute(ptr noundef %2, <2 x float> noundef %.sroa.0.4.vec.insert.18, ptr noundef nonnull %1) #3
  %98 = call float (...) @randnf() #3
  %99 = call float (...) @randnf() #3
  %100 = fmul float %99, 0.000000e+00
  %101 = fadd float %98, %100
  %.sroa.0.0.vec.insert.19 = insertelement <2 x float> poison, float %101, i64 0
  %.sroa.0.4.vec.insert.19 = insertelement <2 x float> %.sroa.0.0.vec.insert.19, float %99, i64 1
  %102 = call i32 @firinterp_crcf_execute(ptr noundef %2, <2 x float> noundef %.sroa.0.4.vec.insert.19, ptr noundef nonnull %1) #3
  %103 = call float @liquid_sumsqcf(ptr noundef nonnull %1, i32 noundef 3) #3
  %104 = fcmp ugt float %103, 0.000000e+00
  br i1 %104, label %108, label %105

105:                                              ; preds = %0
  %106 = call float @liquid_sumsqcf(ptr noundef nonnull %1, i32 noundef 3) #3
  %107 = fpext float %106 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 268, ptr noundef nonnull @.str.17, double noundef %107, ptr noundef nonnull @.str.18, ptr noundef nonnull @.str.19, double noundef 0.000000e+00) #3
  br label %109

108:                                              ; preds = %0
  call void (...) @liquid_autotest_passed() #3
  br label %109

109:                                              ; preds = %108, %105
  %110 = call i32 @firinterp_crcf_flush(ptr noundef %2, ptr noundef nonnull %1) #3
  %111 = call i32 @firinterp_crcf_flush(ptr noundef %2, ptr noundef nonnull %1) #3
  %112 = call i32 @firinterp_crcf_flush(ptr noundef %2, ptr noundef nonnull %1) #3
  %113 = call i32 @firinterp_crcf_flush(ptr noundef %2, ptr noundef nonnull %1) #3
  %114 = call i32 @firinterp_crcf_flush(ptr noundef %2, ptr noundef nonnull %1) #3
  %115 = call i32 @firinterp_crcf_flush(ptr noundef %2, ptr noundef nonnull %1) #3
  %116 = call i32 @firinterp_crcf_flush(ptr noundef %2, ptr noundef nonnull %1) #3
  %117 = call i32 @firinterp_crcf_flush(ptr noundef %2, ptr noundef nonnull %1) #3
  %118 = call i32 @firinterp_crcf_flush(ptr noundef %2, ptr noundef nonnull %1) #3
  %119 = call i32 @firinterp_crcf_flush(ptr noundef %2, ptr noundef nonnull %1) #3
  %120 = call i32 @firinterp_crcf_flush(ptr noundef %2, ptr noundef nonnull %1) #3
  %121 = call i32 @firinterp_crcf_flush(ptr noundef %2, ptr noundef nonnull %1) #3
  %122 = call i32 @firinterp_crcf_flush(ptr noundef %2, ptr noundef nonnull %1) #3
  %123 = call i32 @firinterp_crcf_flush(ptr noundef %2, ptr noundef nonnull %1) #3
  %124 = call float @liquid_sumsqcf(ptr noundef nonnull %1, i32 noundef 3) #3
  %125 = fcmp une float %124, 0.000000e+00
  br i1 %125, label %126, label %129

126:                                              ; preds = %109
  %127 = call float @liquid_sumsqcf(ptr noundef nonnull %1, i32 noundef 3) #3
  %128 = fpext float %127 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 275, ptr noundef nonnull @.str.17, double noundef %128, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.19, double noundef 0.000000e+00) #3
  br label %130

129:                                              ; preds = %109
  call void (...) @liquid_autotest_passed() #3
  br label %130

130:                                              ; preds = %129, %126
  %131 = call i32 @firinterp_crcf_destroy(ptr noundef %2) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %1) #3
  ret void
}

declare float @liquid_sumsqcf(ptr noundef, i32 noundef) local_unnamed_addr #1

declare i32 @firinterp_crcf_flush(ptr noundef, ptr noundef) local_unnamed_addr #1

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


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