; 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
@liquid_autotest_verbose = external global i32, align 4
@.str.16 = external hidden unnamed_addr constant [54 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_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

; Function Attrs: nounwind uwtable
define dso_local void @autotest_firinterp_copy() #2 {
  %1 = alloca ptr, align 8
  %2 = alloca i32, align 4
  %3 = alloca [3 x { float, float }], align 16
  %4 = alloca [3 x { float, float }], align 16
  %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 { float, float }, align 4
  %10 = alloca { float, float }, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr %1) #3
  %11 = call ptr @firinterp_crcf_create_kaiser(i32 noundef 3, i32 noundef 7, float noundef 6.000000e+01)
  store ptr %11, ptr %1, align 8, !tbaa !5
  %12 = load ptr, ptr %1, align 8, !tbaa !5
  %13 = call i32 @firinterp_crcf_set_scale(ptr noundef %12, float noundef 0x3FBF9A6B60000000)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr %3) #3
  call void @llvm.lifetime.start.p0(i64 24, ptr %4) #3
  store i32 0, ptr %2, align 4, !tbaa !9
  br label %14

14:                                               ; preds = %35, %0
  %15 = load i32, ptr %2, align 4, !tbaa !9
  %16 = icmp ult i32 %15, 20
  br i1 %16, label %17, label %38

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

35:                                               ; preds = %17
  %36 = load i32, ptr %2, align 4, !tbaa !9
  %37 = add i32 %36, 1
  store i32 %37, ptr %2, align 4, !tbaa !9
  br label %14, !llvm.loop !11

38:                                               ; preds = %14
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  %39 = load ptr, ptr %1, align 8, !tbaa !5
  %40 = call ptr @firinterp_crcf_copy(ptr noundef %39)
  store ptr %40, ptr %7, align 8, !tbaa !5
  store i32 0, ptr %2, align 4, !tbaa !9
  br label %41

41:                                               ; preds = %85, %38
  %42 = load i32, ptr %2, align 4, !tbaa !9
  %43 = icmp ult i32 %42, 60
  br i1 %43, label %44, label %88

44:                                               ; preds = %41
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  %45 = call float (...) @randnf()
  %46 = call float (...) @randnf()
  %47 = fmul float 0.000000e+00, %46
  %48 = fmul float 1.000000e+00, %46
  %49 = fadd float %45, %47
  %50 = getelementptr inbounds { float, float }, ptr %8, i32 0, i32 0
  %51 = getelementptr inbounds { float, float }, ptr %8, i32 0, i32 1
  store float %49, ptr %50, align 4
  store float %48, ptr %51, align 4
  %52 = load ptr, ptr %1, align 8, !tbaa !5
  %53 = getelementptr inbounds { float, float }, ptr %8, i32 0, i32 0
  %54 = load float, ptr %53, align 4
  %55 = getelementptr inbounds { float, float }, ptr %8, i32 0, i32 1
  %56 = load float, ptr %55, align 4
  %57 = getelementptr inbounds [3 x { float, float }], ptr %3, i64 0, i64 0
  %58 = getelementptr inbounds { float, float }, ptr %9, i32 0, i32 0
  %59 = getelementptr inbounds { float, float }, ptr %9, i32 0, i32 1
  store float %54, ptr %58, align 4
  store float %56, ptr %59, align 4
  %60 = load <2 x float>, ptr %9, align 4
  %61 = call i32 @firinterp_crcf_execute(ptr noundef %52, <2 x float> noundef %60, ptr noundef %57)
  %62 = load ptr, ptr %7, align 8, !tbaa !5
  %63 = getelementptr inbounds { float, float }, ptr %8, i32 0, i32 0
  %64 = load float, ptr %63, align 4
  %65 = getelementptr inbounds { float, float }, ptr %8, i32 0, i32 1
  %66 = load float, ptr %65, align 4
  %67 = getelementptr inbounds [3 x { float, float }], ptr %4, i64 0, i64 0
  %68 = getelementptr inbounds { float, float }, ptr %10, i32 0, i32 0
  %69 = getelementptr inbounds { float, float }, ptr %10, i32 0, i32 1
  store float %64, ptr %68, align 4
  store float %66, ptr %69, align 4
  %70 = load <2 x float>, ptr %10, align 4
  %71 = call i32 @firinterp_crcf_execute(ptr noundef %62, <2 x float> noundef %70, ptr noundef %67)
  %72 = getelementptr inbounds [3 x { float, float }], ptr %3, i64 0, i64 0
  %73 = getelementptr inbounds [3 x { float, float }], ptr %4, i64 0, i64 0
  %74 = call i32 @liquid_autotest_same_data(ptr noundef %72, ptr noundef %73, i32 noundef 24)
  %75 = icmp ne i32 %74, 0
  br i1 %75, label %83, label %76

76:                                               ; preds = %44
  call void @liquid_autotest_failed_msg(ptr noundef @.str, i32 noundef 244, ptr noundef @.str.16)
  %77 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !9
  %78 = icmp ne i32 %77, 0
  br i1 %78, label %79, label %82

79:                                               ; preds = %76
  %80 = getelementptr inbounds [3 x { float, float }], ptr %3, i64 0, i64 0
  call void @liquid_autotest_print_array(ptr noundef %80, i32 noundef 24)
  %81 = getelementptr inbounds [3 x { float, float }], ptr %4, i64 0, i64 0
  call void @liquid_autotest_print_array(ptr noundef %81, i32 noundef 24)
  br label %82

82:                                               ; preds = %79, %76
  br label %84

83:                                               ; preds = %44
  call void (...) @liquid_autotest_passed()
  br label %84

84:                                               ; preds = %83, %82
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  br label %85

85:                                               ; preds = %84
  %86 = load i32, ptr %2, align 4, !tbaa !9
  %87 = add i32 %86, 1
  store i32 %87, ptr %2, align 4, !tbaa !9
  br label %41, !llvm.loop !13

88:                                               ; preds = %41
  %89 = load ptr, ptr %1, align 8, !tbaa !5
  %90 = call i32 @firinterp_crcf_destroy(ptr noundef %89)
  %91 = load ptr, ptr %7, align 8, !tbaa !5
  %92 = call i32 @firinterp_crcf_destroy(ptr noundef %91)
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr %4) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr %3) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %1) #3
  ret void
}

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

declare float @randnf(...) #1

declare ptr @firinterp_crcf_copy(ptr noundef) #1

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

declare void @liquid_autotest_failed_msg(ptr noundef, i32 noundef, ptr noundef) #1

declare void @liquid_autotest_print_array(ptr noundef, i32 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 = !{!"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 = 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
@liquid_autotest_verbose = external local_unnamed_addr global i32, align 4
@.str.16 = external hidden unnamed_addr constant [54 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_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

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

106:                                              ; preds = %0, %118
  %.121 = phi i32 [ 0, %0 ], [ %119, %118 ]
  %107 = call float (...) @randnf() #3
  %108 = call float (...) @randnf() #3
  %109 = fmul float %108, 0.000000e+00
  %110 = fadd float %107, %109
  %.sroa.02.0.vec.insert = insertelement <2 x float> poison, float %110, i64 0
  %.sroa.02.4.vec.insert = insertelement <2 x float> %.sroa.02.0.vec.insert, float %108, i64 1
  %111 = call i32 @firinterp_crcf_execute(ptr noundef %3, <2 x float> noundef %.sroa.02.4.vec.insert, ptr noundef nonnull %1) #3
  %112 = call i32 @firinterp_crcf_execute(ptr noundef %105, <2 x float> noundef %.sroa.02.4.vec.insert, ptr noundef nonnull %2) #3
  %113 = call i32 @liquid_autotest_same_data(ptr noundef nonnull %1, ptr noundef nonnull %2, i32 noundef 24) #3
  %.not = icmp eq i32 %113, 0
  br i1 %.not, label %114, label %117

114:                                              ; preds = %106
  call void @liquid_autotest_failed_msg(ptr noundef nonnull @.str, i32 noundef 244, ptr noundef nonnull @.str.16) #3
  %115 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !5
  %.not19 = icmp eq i32 %115, 0
  br i1 %.not19, label %118, label %116

116:                                              ; preds = %114
  call void @liquid_autotest_print_array(ptr noundef nonnull %1, i32 noundef 24) #3
  call void @liquid_autotest_print_array(ptr noundef nonnull %2, i32 noundef 24) #3
  br label %118

117:                                              ; preds = %106
  call void (...) @liquid_autotest_passed() #3
  br label %118

118:                                              ; preds = %114, %116, %117
  %119 = add nuw nsw i32 %.121, 1
  %exitcond.not = icmp eq i32 %119, 60
  br i1 %exitcond.not, label %120, label %106, !llvm.loop !9

120:                                              ; preds = %118
  %121 = call i32 @firinterp_crcf_destroy(ptr noundef %3) #3
  %122 = call i32 @firinterp_crcf_destroy(ptr noundef %105) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %2) #3
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %1) #3
  ret void
}

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

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

declare ptr @firinterp_crcf_copy(ptr noundef) local_unnamed_addr #1

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

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

declare void @liquid_autotest_print_array(ptr noundef, i32 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)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}


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