; LLVM IR from jgaeddert/liquid-dsp :: src/math/tests (prime_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 [86 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@__const.autotest_factors.factors_280 = external hidden unnamed_addr constant [5 x i32], align 16
@__const.autotest_factors.factors_280_unique = external hidden unnamed_addr constant [3 x i32], align 4
@.str.4 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [22 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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

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

declare void @liquid_autotest_passed(...) #2

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

; Function Attrs: nounwind uwtable
define dso_local void @autotest_factors() #3 {
  %1 = alloca [5 x i32], align 16
  %2 = alloca [3 x i32], align 4
  %3 = alloca [40 x i32], align 16
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 20, ptr %1) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %1, ptr align 16 @__const.autotest_factors.factors_280, i64 20, i1 false)
  call void @llvm.lifetime.start.p0(i64 12, ptr %2) #4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr align 4 @__const.autotest_factors.factors_280_unique, i64 12, i1 false)
  call void @llvm.lifetime.start.p0(i64 160, ptr %3) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  store i32 0, ptr %4, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  %6 = getelementptr inbounds [40 x i32], ptr %3, i64 0, i64 0
  %7 = call i32 @liquid_factor(i32 noundef 280, ptr noundef %6, ptr noundef %4)
  %8 = icmp ne i32 %7, 0
  br i1 %8, label %9, label %13

9:                                                ; preds = %0
  %10 = getelementptr inbounds [40 x i32], ptr %3, i64 0, i64 0
  %11 = call i32 @liquid_factor(i32 noundef 280, ptr noundef %10, ptr noundef %4)
  %12 = sitofp i32 %11 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 97, ptr noundef @.str.4, double noundef %12, ptr noundef @.str.2, ptr noundef @.str.5, double noundef 0.000000e+00)
  br label %14

13:                                               ; preds = %0
  call void (...) @liquid_autotest_passed()
  br label %14

14:                                               ; preds = %13, %9
  %15 = load i32, ptr %4, align 4, !tbaa !5
  %16 = icmp ne i32 %15, 5
  br i1 %16, label %17, label %20

17:                                               ; preds = %14
  %18 = load i32, ptr %4, align 4, !tbaa !5
  %19 = uitofp i32 %18 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 98, ptr noundef @.str.6, double noundef %19, ptr noundef @.str.2, ptr noundef @.str.7, double noundef 5.000000e+00)
  br label %21

20:                                               ; preds = %14
  call void (...) @liquid_autotest_passed()
  br label %21

21:                                               ; preds = %20, %17
  store i32 0, ptr %5, align 4, !tbaa !5
  br label %22

22:                                               ; preds = %48, %21
  %23 = load i32, ptr %5, align 4, !tbaa !5
  %24 = icmp ult i32 %23, 5
  br i1 %24, label %25, label %51

25:                                               ; preds = %22
  %26 = load i32, ptr %5, align 4, !tbaa !5
  %27 = zext i32 %26 to i64
  %28 = getelementptr inbounds [5 x i32], ptr %1, i64 0, i64 %27
  %29 = load i32, ptr %28, align 4, !tbaa !5
  %30 = load i32, ptr %5, align 4, !tbaa !5
  %31 = zext i32 %30 to i64
  %32 = getelementptr inbounds [40 x i32], ptr %3, i64 0, i64 %31
  %33 = load i32, ptr %32, align 4, !tbaa !5
  %34 = icmp ne i32 %29, %33
  br i1 %34, label %35, label %46

35:                                               ; preds = %25
  %36 = load i32, ptr %5, align 4, !tbaa !5
  %37 = zext i32 %36 to i64
  %38 = getelementptr inbounds [5 x i32], ptr %1, i64 0, i64 %37
  %39 = load i32, ptr %38, align 4, !tbaa !5
  %40 = uitofp i32 %39 to double
  %41 = load i32, ptr %5, align 4, !tbaa !5
  %42 = zext i32 %41 to i64
  %43 = getelementptr inbounds [40 x i32], ptr %3, i64 0, i64 %42
  %44 = load i32, ptr %43, align 4, !tbaa !5
  %45 = uitofp i32 %44 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 100, ptr noundef @.str.8, double noundef %40, ptr noundef @.str.2, ptr noundef @.str.9, double noundef %45)
  br label %47

46:                                               ; preds = %25
  call void (...) @liquid_autotest_passed()
  br label %47

47:                                               ; preds = %46, %35
  br label %48

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

51:                                               ; preds = %22
  %52 = getelementptr inbounds [40 x i32], ptr %3, i64 0, i64 0
  %53 = call i32 @liquid_unique_factor(i32 noundef 280, ptr noundef %52, ptr noundef %4)
  %54 = icmp ne i32 %53, 0
  br i1 %54, label %55, label %59

55:                                               ; preds = %51
  %56 = getelementptr inbounds [40 x i32], ptr %3, i64 0, i64 0
  %57 = call i32 @liquid_unique_factor(i32 noundef 280, ptr noundef %56, ptr noundef %4)
  %58 = sitofp i32 %57 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 103, ptr noundef @.str.10, double noundef %58, ptr noundef @.str.2, ptr noundef @.str.5, double noundef 0.000000e+00)
  br label %60

59:                                               ; preds = %51
  call void (...) @liquid_autotest_passed()
  br label %60

60:                                               ; preds = %59, %55
  %61 = load i32, ptr %4, align 4, !tbaa !5
  %62 = icmp ne i32 %61, 3
  br i1 %62, label %63, label %66

63:                                               ; preds = %60
  %64 = load i32, ptr %4, align 4, !tbaa !5
  %65 = uitofp i32 %64 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 104, ptr noundef @.str.6, double noundef %65, ptr noundef @.str.2, ptr noundef @.str.11, double noundef 3.000000e+00)
  br label %67

66:                                               ; preds = %60
  call void (...) @liquid_autotest_passed()
  br label %67

67:                                               ; preds = %66, %63
  store i32 0, ptr %5, align 4, !tbaa !5
  br label %68

68:                                               ; preds = %94, %67
  %69 = load i32, ptr %5, align 4, !tbaa !5
  %70 = icmp ult i32 %69, 3
  br i1 %70, label %71, label %97

71:                                               ; preds = %68
  %72 = load i32, ptr %5, align 4, !tbaa !5
  %73 = zext i32 %72 to i64
  %74 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 %73
  %75 = load i32, ptr %74, align 4, !tbaa !5
  %76 = load i32, ptr %5, align 4, !tbaa !5
  %77 = zext i32 %76 to i64
  %78 = getelementptr inbounds [40 x i32], ptr %3, i64 0, i64 %77
  %79 = load i32, ptr %78, align 4, !tbaa !5
  %80 = icmp ne i32 %75, %79
  br i1 %80, label %81, label %92

81:                                               ; preds = %71
  %82 = load i32, ptr %5, align 4, !tbaa !5
  %83 = zext i32 %82 to i64
  %84 = getelementptr inbounds [3 x i32], ptr %2, i64 0, i64 %83
  %85 = load i32, ptr %84, align 4, !tbaa !5
  %86 = uitofp i32 %85 to double
  %87 = load i32, ptr %5, align 4, !tbaa !5
  %88 = zext i32 %87 to i64
  %89 = getelementptr inbounds [40 x i32], ptr %3, i64 0, i64 %88
  %90 = load i32, ptr %89, align 4, !tbaa !5
  %91 = uitofp i32 %90 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 106, ptr noundef @.str.12, double noundef %86, ptr noundef @.str.2, ptr noundef @.str.9, double noundef %91)
  br label %93

92:                                               ; preds = %71
  call void (...) @liquid_autotest_passed()
  br label %93

93:                                               ; preds = %92, %81
  br label %94

94:                                               ; preds = %93
  %95 = load i32, ptr %5, align 4, !tbaa !5
  %96 = add i32 %95, 1
  store i32 %96, ptr %5, align 4, !tbaa !5
  br label %68, !llvm.loop !11

97:                                               ; preds = %68
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 160, ptr %3) #4
  call void @llvm.lifetime.end.p0(i64 12, ptr %2) #4
  call void @llvm.lifetime.end.p0(i64 20, ptr %1) #4
  ret void
}

declare i32 @liquid_factor(i32 noundef, ptr noundef, ptr noundef) #2

declare i32 @liquid_unique_factor(i32 noundef, ptr noundef, ptr noundef) #2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nounwind }

!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"}
!11 = distinct !{!11, !10}


; 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 [86 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [3 x i8], align 1
@__const.autotest_factors.factors_280 = external hidden unnamed_addr constant [5 x i32], align 16
@__const.autotest_factors.factors_280_unique = external hidden unnamed_addr constant [3 x i32], align 4
@.str.4 = external hidden unnamed_addr constant [40 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [10 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [12 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [15 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [11 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [22 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

; Function Attrs: nounwind uwtable
define dso_local void @autotest_factors() local_unnamed_addr #2 {
  %1 = alloca [40 x i32], align 16
  %2 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 160, ptr nonnull %1) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #3
  store i32 0, ptr %2, align 4, !tbaa !5
  %3 = call i32 @liquid_factor(i32 noundef 280, ptr noundef nonnull %1, ptr noundef nonnull %2) #3
  %.not = icmp eq i32 %3, 0
  br i1 %.not, label %7, label %4

4:                                                ; preds = %0
  %5 = call i32 @liquid_factor(i32 noundef 280, ptr noundef nonnull %1, ptr noundef nonnull %2) #3
  %6 = sitofp i32 %5 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 97, ptr noundef nonnull @.str.4, double noundef %6, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.5, double noundef 0.000000e+00) #3
  br label %8

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

8:                                                ; preds = %7, %4
  %9 = load i32, ptr %2, align 4, !tbaa !5
  %.not18 = icmp eq i32 %9, 5
  br i1 %.not18, label %12, label %10

10:                                               ; preds = %8
  %11 = uitofp i32 %9 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 98, ptr noundef nonnull @.str.6, double noundef %11, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.7, double noundef 5.000000e+00) #3
  br label %13

12:                                               ; preds = %8
  call void (...) @liquid_autotest_passed() #3
  br label %13

13:                                               ; preds = %12, %10
  %14 = load i32, ptr @__const.autotest_factors.factors_280, align 16, !tbaa !5
  %15 = load i32, ptr %1, align 16, !tbaa !5
  %.not22 = icmp eq i32 %14, %15
  br i1 %.not22, label %19, label %16

16:                                               ; preds = %13
  %17 = uitofp i32 %14 to double
  %18 = uitofp i32 %15 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 100, ptr noundef nonnull @.str.8, double noundef %17, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.9, double noundef %18) #3
  br label %20

19:                                               ; preds = %13
  call void (...) @liquid_autotest_passed() #3
  br label %20

20:                                               ; preds = %16, %19
  %21 = load i32, ptr getelementptr inbounds (i8, ptr @__const.autotest_factors.factors_280, i64 4), align 4, !tbaa !5
  %22 = getelementptr inbounds i8, ptr %1, i64 4
  %23 = load i32, ptr %22, align 4, !tbaa !5
  %.not22.1 = icmp eq i32 %21, %23
  br i1 %.not22.1, label %27, label %24

24:                                               ; preds = %20
  %25 = uitofp i32 %21 to double
  %26 = uitofp i32 %23 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 100, ptr noundef nonnull @.str.8, double noundef %25, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.9, double noundef %26) #3
  br label %28

27:                                               ; preds = %20
  call void (...) @liquid_autotest_passed() #3
  br label %28

28:                                               ; preds = %27, %24
  %29 = load i32, ptr getelementptr inbounds (i8, ptr @__const.autotest_factors.factors_280, i64 8), align 8, !tbaa !5
  %30 = getelementptr inbounds i8, ptr %1, i64 8
  %31 = load i32, ptr %30, align 8, !tbaa !5
  %.not22.2 = icmp eq i32 %29, %31
  br i1 %.not22.2, label %35, label %32

32:                                               ; preds = %28
  %33 = uitofp i32 %29 to double
  %34 = uitofp i32 %31 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 100, ptr noundef nonnull @.str.8, double noundef %33, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.9, double noundef %34) #3
  br label %36

35:                                               ; preds = %28
  call void (...) @liquid_autotest_passed() #3
  br label %36

36:                                               ; preds = %35, %32
  %37 = load i32, ptr getelementptr inbounds (i8, ptr @__const.autotest_factors.factors_280, i64 12), align 4, !tbaa !5
  %38 = getelementptr inbounds i8, ptr %1, i64 12
  %39 = load i32, ptr %38, align 4, !tbaa !5
  %.not22.3 = icmp eq i32 %37, %39
  br i1 %.not22.3, label %43, label %40

40:                                               ; preds = %36
  %41 = uitofp i32 %37 to double
  %42 = uitofp i32 %39 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 100, ptr noundef nonnull @.str.8, double noundef %41, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.9, double noundef %42) #3
  br label %44

43:                                               ; preds = %36
  call void (...) @liquid_autotest_passed() #3
  br label %44

44:                                               ; preds = %43, %40
  %45 = load i32, ptr getelementptr inbounds (i8, ptr @__const.autotest_factors.factors_280, i64 16), align 16, !tbaa !5
  %46 = getelementptr inbounds i8, ptr %1, i64 16
  %47 = load i32, ptr %46, align 16, !tbaa !5
  %.not22.4 = icmp eq i32 %45, %47
  br i1 %.not22.4, label %51, label %48

48:                                               ; preds = %44
  %49 = uitofp i32 %45 to double
  %50 = uitofp i32 %47 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 100, ptr noundef nonnull @.str.8, double noundef %49, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.9, double noundef %50) #3
  br label %52

51:                                               ; preds = %44
  call void (...) @liquid_autotest_passed() #3
  br label %52

52:                                               ; preds = %51, %48
  %53 = call i32 @liquid_unique_factor(i32 noundef 280, ptr noundef nonnull %1, ptr noundef nonnull %2) #3
  %.not19 = icmp eq i32 %53, 0
  br i1 %.not19, label %57, label %54

54:                                               ; preds = %52
  %55 = call i32 @liquid_unique_factor(i32 noundef 280, ptr noundef nonnull %1, ptr noundef nonnull %2) #3
  %56 = sitofp i32 %55 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 103, ptr noundef nonnull @.str.10, double noundef %56, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.5, double noundef 0.000000e+00) #3
  br label %58

57:                                               ; preds = %52
  call void (...) @liquid_autotest_passed() #3
  br label %58

58:                                               ; preds = %57, %54
  %59 = load i32, ptr %2, align 4, !tbaa !5
  %.not20 = icmp eq i32 %59, 3
  br i1 %.not20, label %62, label %60

60:                                               ; preds = %58
  %61 = uitofp i32 %59 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 104, ptr noundef nonnull @.str.6, double noundef %61, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.11, double noundef 3.000000e+00) #3
  br label %63

62:                                               ; preds = %58
  call void (...) @liquid_autotest_passed() #3
  br label %63

63:                                               ; preds = %62, %60
  %64 = load i32, ptr @__const.autotest_factors.factors_280_unique, align 4, !tbaa !5
  %65 = load i32, ptr %1, align 16, !tbaa !5
  %.not21 = icmp eq i32 %64, %65
  br i1 %.not21, label %69, label %66

66:                                               ; preds = %63
  %67 = uitofp i32 %64 to double
  %68 = uitofp i32 %65 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 106, ptr noundef nonnull @.str.12, double noundef %67, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.9, double noundef %68) #3
  br label %70

69:                                               ; preds = %63
  call void (...) @liquid_autotest_passed() #3
  br label %70

70:                                               ; preds = %66, %69
  %71 = load i32, ptr getelementptr inbounds (i8, ptr @__const.autotest_factors.factors_280_unique, i64 4), align 4, !tbaa !5
  %72 = load i32, ptr %22, align 4, !tbaa !5
  %.not21.1 = icmp eq i32 %71, %72
  br i1 %.not21.1, label %76, label %73

73:                                               ; preds = %70
  %74 = uitofp i32 %71 to double
  %75 = uitofp i32 %72 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 106, ptr noundef nonnull @.str.12, double noundef %74, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.9, double noundef %75) #3
  br label %77

76:                                               ; preds = %70
  call void (...) @liquid_autotest_passed() #3
  br label %77

77:                                               ; preds = %76, %73
  %78 = load i32, ptr getelementptr inbounds (i8, ptr @__const.autotest_factors.factors_280_unique, i64 8), align 4, !tbaa !5
  %79 = load i32, ptr %30, align 8, !tbaa !5
  %.not21.2 = icmp eq i32 %78, %79
  br i1 %.not21.2, label %83, label %80

80:                                               ; preds = %77
  %81 = uitofp i32 %78 to double
  %82 = uitofp i32 %79 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 106, ptr noundef nonnull @.str.12, double noundef %81, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.9, double noundef %82) #3
  br label %84

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

84:                                               ; preds = %83, %80
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #3
  call void @llvm.lifetime.end.p0(i64 160, ptr nonnull %1) #3
  ret void
}

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

declare i32 @liquid_unique_factor(i32 noundef, 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"="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 }

!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"}


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