; LLVM IR from jgaeddert/liquid-dsp :: src/fft/tests (asgram_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 [11 x i8], align 1
@liquid_autotest_verbose = external global i32, align 4
@.str.1 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @autotest_asgramcf_copy() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca float, align 4
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca { float, float }, align 4
  %7 = alloca { float, float }, align 4
  %8 = alloca ptr, align 8
  %9 = alloca { float, float }, align 4
  %10 = alloca { float, float }, align 4
  %11 = alloca { float, float }, align 4
  %12 = alloca ptr, align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca float, align 4
  %16 = alloca float, align 4
  %17 = alloca float, align 4
  %18 = alloca float, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #4
  store i32 70, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #4
  store i32 844, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  store float 0x3FB99999A0000000, ptr %3, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #4
  %19 = load i32, ptr %1, align 4, !tbaa !5
  %20 = call ptr @asgramcf_create(i32 noundef %19)
  store ptr %20, ptr %4, align 8, !tbaa !11
  %21 = load ptr, ptr %4, align 8, !tbaa !11
  %22 = call i32 @asgramcf_set_scale(ptr noundef %21, float noundef 0xC034CCCCC0000000, float noundef 0x4008CCCCC0000000)
  %23 = load ptr, ptr %4, align 8, !tbaa !11
  %24 = call i32 @asgramcf_set_display(ptr noundef %23, ptr noundef @.str)
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  store i32 0, ptr %5, align 4, !tbaa !5
  br label %25

25:                                               ; preds = %50, %0
  %26 = load i32, ptr %5, align 4, !tbaa !5
  %27 = load i32, ptr %2, align 4, !tbaa !5
  %28 = icmp ult i32 %26, %27
  br i1 %28, label %29, label %53

29:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #4
  %30 = load float, ptr %3, align 4, !tbaa !9
  %31 = call float (...) @randnf()
  %32 = call float (...) @randnf()
  %33 = fmul float 0.000000e+00, %32
  %34 = fmul float 1.000000e+00, %32
  %35 = fadd float %31, %33
  %36 = fmul float %30, %35
  %37 = fmul float %30, %34
  %38 = fadd float 0x3FB99999A0000000, %36
  %39 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 0
  %40 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 1
  store float %38, ptr %39, align 4
  store float %37, ptr %40, align 4
  %41 = load ptr, ptr %4, align 8, !tbaa !11
  %42 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 0
  %43 = load float, ptr %42, align 4
  %44 = getelementptr inbounds { float, float }, ptr %6, i32 0, i32 1
  %45 = load float, ptr %44, align 4
  %46 = getelementptr inbounds { float, float }, ptr %7, i32 0, i32 0
  %47 = getelementptr inbounds { float, float }, ptr %7, i32 0, i32 1
  store float %43, ptr %46, align 4
  store float %45, ptr %47, align 4
  %48 = load <2 x float>, ptr %7, align 4
  %49 = call i32 @asgramcf_push(ptr noundef %41, <2 x float> noundef %48)
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #4
  br label %50

50:                                               ; preds = %29
  %51 = load i32, ptr %5, align 4, !tbaa !5
  %52 = add i32 %51, 1
  store i32 %52, ptr %5, align 4, !tbaa !5
  br label %25, !llvm.loop !13

53:                                               ; preds = %25
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #4
  %54 = load ptr, ptr %4, align 8, !tbaa !11
  %55 = call ptr @asgramcf_copy(ptr noundef %54)
  store ptr %55, ptr %8, align 8, !tbaa !11
  store i32 0, ptr %5, align 4, !tbaa !5
  br label %56

56:                                               ; preds = %90, %53
  %57 = load i32, ptr %5, align 4, !tbaa !5
  %58 = load i32, ptr %2, align 4, !tbaa !5
  %59 = icmp ult i32 %57, %58
  br i1 %59, label %60, label %93

60:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #4
  %61 = load float, ptr %3, align 4, !tbaa !9
  %62 = call float (...) @randnf()
  %63 = call float (...) @randnf()
  %64 = fmul float 0.000000e+00, %63
  %65 = fmul float 1.000000e+00, %63
  %66 = fadd float %62, %64
  %67 = fmul float %61, %66
  %68 = fmul float %61, %65
  %69 = fadd float 0x3FB99999A0000000, %67
  %70 = getelementptr inbounds { float, float }, ptr %9, i32 0, i32 0
  %71 = getelementptr inbounds { float, float }, ptr %9, i32 0, i32 1
  store float %69, ptr %70, align 4
  store float %68, ptr %71, align 4
  %72 = load ptr, ptr %4, align 8, !tbaa !11
  %73 = getelementptr inbounds { float, float }, ptr %9, i32 0, i32 0
  %74 = load float, ptr %73, align 4
  %75 = getelementptr inbounds { float, float }, ptr %9, i32 0, i32 1
  %76 = load float, ptr %75, align 4
  %77 = getelementptr inbounds { float, float }, ptr %10, i32 0, i32 0
  %78 = getelementptr inbounds { float, float }, ptr %10, i32 0, i32 1
  store float %74, ptr %77, align 4
  store float %76, ptr %78, align 4
  %79 = load <2 x float>, ptr %10, align 4
  %80 = call i32 @asgramcf_push(ptr noundef %72, <2 x float> noundef %79)
  %81 = load ptr, ptr %8, align 8, !tbaa !11
  %82 = getelementptr inbounds { float, float }, ptr %9, i32 0, i32 0
  %83 = load float, ptr %82, align 4
  %84 = getelementptr inbounds { float, float }, ptr %9, i32 0, i32 1
  %85 = load float, ptr %84, align 4
  %86 = getelementptr inbounds { float, float }, ptr %11, i32 0, i32 0
  %87 = getelementptr inbounds { float, float }, ptr %11, i32 0, i32 1
  store float %83, ptr %86, align 4
  store float %85, ptr %87, align 4
  %88 = load <2 x float>, ptr %11, align 4
  %89 = call i32 @asgramcf_push(ptr noundef %81, <2 x float> noundef %88)
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #4
  br label %90

90:                                               ; preds = %60
  %91 = load i32, ptr %5, align 4, !tbaa !5
  %92 = add i32 %91, 1
  store i32 %92, ptr %5, align 4, !tbaa !5
  br label %56, !llvm.loop !15

93:                                               ; preds = %56
  %94 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !5
  %95 = icmp ne i32 %94, 0
  br i1 %95, label %96, label %103

96:                                               ; preds = %93
  %97 = call i32 (ptr, ...) @printf(ptr noundef @.str.1)
  %98 = load ptr, ptr %4, align 8, !tbaa !11
  %99 = call i32 @asgramcf_print(ptr noundef %98)
  %100 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  %101 = load ptr, ptr %8, align 8, !tbaa !11
  %102 = call i32 @asgramcf_print(ptr noundef %101)
  br label %103

103:                                              ; preds = %96, %93
  %104 = load i32, ptr %1, align 4, !tbaa !5
  %105 = zext i32 %104 to i64
  %106 = call ptr @llvm.stacksave.p0()
  store ptr %106, ptr %12, align 8
  %107 = alloca i8, i64 %105, align 16
  store i64 %105, ptr %13, align 8
  %108 = load i32, ptr %1, align 4, !tbaa !5
  %109 = zext i32 %108 to i64
  %110 = alloca i8, i64 %109, align 16
  store i64 %109, ptr %14, align 8
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %18) #4
  %111 = load ptr, ptr %4, align 8, !tbaa !11
  %112 = call i32 @asgramcf_execute(ptr noundef %111, ptr noundef %107, ptr noundef %15, ptr noundef %17)
  %113 = load ptr, ptr %8, align 8, !tbaa !11
  %114 = call i32 @asgramcf_execute(ptr noundef %113, ptr noundef %110, ptr noundef %16, ptr noundef %18)
  %115 = load i32, ptr %1, align 4, !tbaa !5
  %116 = zext i32 %115 to i64
  %117 = mul i64 %116, 1
  %118 = trunc i64 %117 to i32
  %119 = call i32 @liquid_autotest_same_data(ptr noundef %107, ptr noundef %110, i32 noundef %118)
  %120 = icmp ne i32 %119, 0
  br i1 %120, label %134, label %121

121:                                              ; preds = %103
  call void @liquid_autotest_failed_msg(ptr noundef @.str.3, i32 noundef 68, ptr noundef @.str.4)
  %122 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !5
  %123 = icmp ne i32 %122, 0
  br i1 %123, label %124, label %133

124:                                              ; preds = %121
  %125 = load i32, ptr %1, align 4, !tbaa !5
  %126 = zext i32 %125 to i64
  %127 = mul i64 %126, 1
  %128 = trunc i64 %127 to i32
  call void @liquid_autotest_print_array(ptr noundef %107, i32 noundef %128)
  %129 = load i32, ptr %1, align 4, !tbaa !5
  %130 = zext i32 %129 to i64
  %131 = mul i64 %130, 1
  %132 = trunc i64 %131 to i32
  call void @liquid_autotest_print_array(ptr noundef %110, i32 noundef %132)
  br label %133

133:                                              ; preds = %124, %121
  br label %135

134:                                              ; preds = %103
  call void (...) @liquid_autotest_passed()
  br label %135

135:                                              ; preds = %134, %133
  %136 = load float, ptr %15, align 4, !tbaa !9
  %137 = load float, ptr %16, align 4, !tbaa !9
  %138 = fcmp une float %136, %137
  br i1 %138, label %139, label %144

139:                                              ; preds = %135
  %140 = load float, ptr %15, align 4, !tbaa !9
  %141 = fpext float %140 to double
  %142 = load float, ptr %16, align 4, !tbaa !9
  %143 = fpext float %142 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str.3, i32 noundef 69, ptr noundef @.str.5, double noundef %141, ptr noundef @.str.6, ptr noundef @.str.7, double noundef %143)
  br label %145

144:                                              ; preds = %135
  call void (...) @liquid_autotest_passed()
  br label %145

145:                                              ; preds = %144, %139
  %146 = load float, ptr %17, align 4, !tbaa !9
  %147 = load float, ptr %18, align 4, !tbaa !9
  %148 = fcmp une float %146, %147
  br i1 %148, label %149, label %154

149:                                              ; preds = %145
  %150 = load float, ptr %17, align 4, !tbaa !9
  %151 = fpext float %150 to double
  %152 = load float, ptr %18, align 4, !tbaa !9
  %153 = fpext float %152 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str.3, i32 noundef 70, ptr noundef @.str.8, double noundef %151, ptr noundef @.str.6, ptr noundef @.str.9, double noundef %153)
  br label %155

154:                                              ; preds = %145
  call void (...) @liquid_autotest_passed()
  br label %155

155:                                              ; preds = %154, %149
  %156 = load ptr, ptr %4, align 8, !tbaa !11
  %157 = call i32 @asgramcf_destroy(ptr noundef %156)
  %158 = load ptr, ptr %8, align 8, !tbaa !11
  %159 = call i32 @asgramcf_destroy(ptr noundef %158)
  call void @llvm.lifetime.end.p0(i64 4, ptr %18) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  %160 = load ptr, ptr %12, align 8
  call void @llvm.stackrestore.p0(ptr %160)
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #4
  ret void
}

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

declare ptr @asgramcf_create(i32 noundef) #2

declare i32 @asgramcf_set_scale(ptr noundef, float noundef, float noundef) #2

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

declare float @randnf(...) #2

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

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

declare ptr @asgramcf_copy(ptr noundef) #2

declare i32 @printf(ptr noundef, ...) #2

declare i32 @asgramcf_print(ptr noundef) #2

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

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

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

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

declare void @liquid_autotest_print_array(ptr noundef, i32 noundef) #2

declare void @liquid_autotest_passed(...) #2

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

declare i32 @asgramcf_destroy(ptr noundef) #2

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

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 = { "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 = { nocallback nofree nosync nounwind willreturn }
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 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"any pointer", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}


; 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 [11 x i8], align 1
@liquid_autotest_verbose = external local_unnamed_addr global i32, align 4
@.str.1 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [86 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [41 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [3 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [4 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @autotest_asgramcf_copy() local_unnamed_addr #0 {
  %1 = alloca float, align 4
  %2 = alloca float, align 4
  %3 = alloca float, align 4
  %4 = alloca float, align 4
  %5 = tail call ptr @asgramcf_create(i32 noundef 70) #4
  %6 = tail call i32 @asgramcf_set_scale(ptr noundef %5, float noundef 0xC034CCCCC0000000, float noundef 0x4008CCCCC0000000) #4
  %7 = tail call i32 @asgramcf_set_display(ptr noundef %5, ptr noundef nonnull @.str) #4
  br label %8

8:                                                ; preds = %0, %8
  %.041 = phi i32 [ 0, %0 ], [ %17, %8 ]
  %9 = tail call float (...) @randnf() #4
  %10 = tail call float (...) @randnf() #4
  %11 = fmul float %10, 0.000000e+00
  %12 = fadd float %9, %11
  %13 = fmul float %12, 0x3FB99999A0000000
  %14 = fmul float %10, 0x3FB99999A0000000
  %15 = fadd float %13, 0x3FB99999A0000000
  %.sroa.011.0.vec.insert = insertelement <2 x float> poison, float %15, i64 0
  %.sroa.011.4.vec.insert = insertelement <2 x float> %.sroa.011.0.vec.insert, float %14, i64 1
  %16 = tail call i32 @asgramcf_push(ptr noundef %5, <2 x float> noundef %.sroa.011.4.vec.insert) #4
  %17 = add nuw nsw i32 %.041, 1
  %exitcond.not = icmp eq i32 %17, 844
  br i1 %exitcond.not, label %18, label %8, !llvm.loop !5

18:                                               ; preds = %8
  %19 = tail call ptr @asgramcf_copy(ptr noundef %5) #4
  br label %20

20:                                               ; preds = %18, %20
  %.142 = phi i32 [ 0, %18 ], [ %30, %20 ]
  %21 = tail call float (...) @randnf() #4
  %22 = tail call float (...) @randnf() #4
  %23 = fmul float %22, 0.000000e+00
  %24 = fadd float %21, %23
  %25 = fmul float %24, 0x3FB99999A0000000
  %26 = fmul float %22, 0x3FB99999A0000000
  %27 = fadd float %25, 0x3FB99999A0000000
  %.sroa.02.0.vec.insert = insertelement <2 x float> poison, float %27, i64 0
  %.sroa.02.4.vec.insert = insertelement <2 x float> %.sroa.02.0.vec.insert, float %26, i64 1
  %28 = tail call i32 @asgramcf_push(ptr noundef %5, <2 x float> noundef %.sroa.02.4.vec.insert) #4
  %29 = tail call i32 @asgramcf_push(ptr noundef %19, <2 x float> noundef %.sroa.02.4.vec.insert) #4
  %30 = add nuw nsw i32 %.142, 1
  %exitcond43.not = icmp eq i32 %30, 844
  br i1 %exitcond43.not, label %31, label %20, !llvm.loop !7

31:                                               ; preds = %20
  %32 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !8
  %.not = icmp eq i32 %32, 0
  br i1 %.not, label %38, label %33

33:                                               ; preds = %31
  %34 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1)
  %35 = tail call i32 @asgramcf_print(ptr noundef %5) #4
  %36 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2)
  %37 = tail call i32 @asgramcf_print(ptr noundef %19) #4
  br label %38

38:                                               ; preds = %33, %31
  %39 = alloca [70 x i8], align 16
  %40 = alloca [70 x i8], align 16
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %1) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %3) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4) #4
  %41 = call i32 @asgramcf_execute(ptr noundef %5, ptr noundef nonnull %39, ptr noundef nonnull %1, ptr noundef nonnull %3) #4
  %42 = call i32 @asgramcf_execute(ptr noundef %19, ptr noundef nonnull %40, ptr noundef nonnull %2, ptr noundef nonnull %4) #4
  %43 = call i32 @liquid_autotest_same_data(ptr noundef nonnull %39, ptr noundef nonnull %40, i32 noundef 70) #4
  %.not39 = icmp eq i32 %43, 0
  br i1 %.not39, label %44, label %47

44:                                               ; preds = %38
  call void @liquid_autotest_failed_msg(ptr noundef nonnull @.str.3, i32 noundef 68, ptr noundef nonnull @.str.4) #4
  %45 = load i32, ptr @liquid_autotest_verbose, align 4, !tbaa !8
  %.not40 = icmp eq i32 %45, 0
  br i1 %.not40, label %48, label %46

46:                                               ; preds = %44
  call void @liquid_autotest_print_array(ptr noundef nonnull %39, i32 noundef 70) #4
  call void @liquid_autotest_print_array(ptr noundef nonnull %40, i32 noundef 70) #4
  br label %48

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

48:                                               ; preds = %44, %46, %47
  %49 = load float, ptr %1, align 4, !tbaa !12
  %50 = load float, ptr %2, align 4, !tbaa !12
  %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
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str.3, i32 noundef 69, ptr noundef nonnull @.str.5, double noundef %53, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.7, double noundef %54) #4
  br label %56

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

56:                                               ; preds = %55, %52
  %57 = load float, ptr %3, align 4, !tbaa !12
  %58 = load float, ptr %4, align 4, !tbaa !12
  %59 = fcmp une float %57, %58
  br i1 %59, label %60, label %63

60:                                               ; preds = %56
  %61 = fpext float %57 to double
  %62 = fpext float %58 to double
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str.3, i32 noundef 70, ptr noundef nonnull @.str.8, double noundef %61, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.9, double noundef %62) #4
  br label %64

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

64:                                               ; preds = %63, %60
  %65 = call i32 @asgramcf_destroy(ptr noundef %5) #4
  %66 = call i32 @asgramcf_destroy(ptr noundef %19) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %3) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %1) #4
  ret void
}

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

declare ptr @asgramcf_create(i32 noundef) local_unnamed_addr #2

declare i32 @asgramcf_set_scale(ptr noundef, float noundef, float noundef) local_unnamed_addr #2

declare i32 @asgramcf_set_display(ptr noundef, ptr noundef) local_unnamed_addr #2

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

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

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

declare ptr @asgramcf_copy(ptr noundef) local_unnamed_addr #2

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #3

declare i32 @asgramcf_print(ptr noundef) local_unnamed_addr #2

declare i32 @asgramcf_execute(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

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

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

declare void @liquid_autotest_print_array(ptr noundef, i32 noundef) local_unnamed_addr #2

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

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

declare i32 @asgramcf_destroy(ptr noundef) local_unnamed_addr #2

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 nocallback nofree nosync 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 = { nofree 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 = { 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}
!8 = !{!9, !9, i64 0}
!9 = !{!"int", !10, i64 0}
!10 = !{!"omnipotent char", !11, i64 0}
!11 = !{!"Simple C/C++ TBAA"}
!12 = !{!13, !13, i64 0}
!13 = !{!"float", !10, i64 0}


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