; LLVM IR from recp/cglm :: test/src (tests)

; 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"

%struct.test_status_t = type { ptr, i32 }

@stderr = external global ptr, align 8
@.str = external hidden unnamed_addr constant [94 x i8], align 1
@.str.358 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.895 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.904 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.905 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.906 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.907 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.908 = external hidden unnamed_addr constant [24 x i8], align 1
@__const.test_glm_scale_make.v1 = external hidden unnamed_addr constant [4 x float], align 16

; 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

; Function Attrs: alwaysinline nounwind uwtable
declare hidden zeroext i1 @test_eq(float noundef, float noundef) #2

; Function Attrs: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #3

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

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @glm_mat4_mulv(ptr noundef, ptr noundef, ptr noundef) #2

; Function Attrs: nounwind uwtable
define dso_local { ptr, i32 } @test_glm_scale_make() #4 {
  %1 = alloca %struct.test_status_t, align 8
  %2 = alloca [4 x [4 x float]], align 16
  %3 = alloca [4 x float], align 16
  %4 = alloca [4 x float], align 16
  %5 = alloca [3 x float], align 4
  %6 = alloca i32, align 4
  %7 = alloca [3 x float], align 4
  call void @llvm.lifetime.start.p0(i64 64, ptr %2) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr %3) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.test_glm_scale_make.v1, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr %4) #5
  %8 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 0
  store float 1.300000e+01, ptr %5, align 4, !tbaa !5
  %9 = getelementptr inbounds float, ptr %5, i64 1
  store float 1.100000e+01, ptr %9, align 4, !tbaa !5
  %10 = getelementptr inbounds float, ptr %5, i64 2
  store float 7.000000e+00, ptr %10, align 4, !tbaa !5
  %11 = getelementptr inbounds [3 x float], ptr %5, i64 0, i64 0
  call void @glm_scale_make(ptr noundef %8, ptr noundef %11)
  %12 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 0
  %13 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
  %14 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 0
  call void @glm_mat4_mulv(ptr noundef %12, ptr noundef %13, ptr noundef %14)
  br label %15

15:                                               ; preds = %0
  %16 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 0
  %17 = load float, ptr %16, align 16, !tbaa !5
  %18 = call zeroext i1 @test_eq(float noundef %17, float noundef 1.300000e+01)
  br i1 %18, label %24, label %19

19:                                               ; preds = %15
  %20 = load ptr, ptr @stderr, align 8, !tbaa !9
  %21 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %20, ptr noundef @.str, ptr noundef @.str.895, i32 noundef 192, ptr noundef @.str.904) #5
  %22 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %22, align 8, !tbaa !11
  %23 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %23, align 8, !tbaa !14
  store i32 1, ptr %6, align 4
  br label %120

24:                                               ; preds = %15
  br label %25

25:                                               ; preds = %24
  br label %26

26:                                               ; preds = %25
  br label %27

27:                                               ; preds = %26
  %28 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 1
  %29 = load float, ptr %28, align 4, !tbaa !5
  %30 = call zeroext i1 @test_eq(float noundef %29, float noundef 2.200000e+01)
  br i1 %30, label %36, label %31

31:                                               ; preds = %27
  %32 = load ptr, ptr @stderr, align 8, !tbaa !9
  %33 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %32, ptr noundef @.str, ptr noundef @.str.895, i32 noundef 193, ptr noundef @.str.905) #5
  %34 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %34, align 8, !tbaa !11
  %35 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %35, align 8, !tbaa !14
  store i32 1, ptr %6, align 4
  br label %120

36:                                               ; preds = %27
  br label %37

37:                                               ; preds = %36
  br label %38

38:                                               ; preds = %37
  br label %39

39:                                               ; preds = %38
  %40 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 2
  %41 = load float, ptr %40, align 8, !tbaa !5
  %42 = call zeroext i1 @test_eq(float noundef %41, float noundef 2.100000e+01)
  br i1 %42, label %48, label %43

43:                                               ; preds = %39
  %44 = load ptr, ptr @stderr, align 8, !tbaa !9
  %45 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %44, ptr noundef @.str, ptr noundef @.str.895, i32 noundef 194, ptr noundef @.str.906) #5
  %46 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %46, align 8, !tbaa !11
  %47 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %47, align 8, !tbaa !14
  store i32 1, ptr %6, align 4
  br label %120

48:                                               ; preds = %39
  br label %49

49:                                               ; preds = %48
  br label %50

50:                                               ; preds = %49
  br label %51

51:                                               ; preds = %50
  %52 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 3
  %53 = load float, ptr %52, align 4, !tbaa !5
  %54 = call zeroext i1 @test_eq(float noundef %53, float noundef 1.000000e+00)
  br i1 %54, label %60, label %55

55:                                               ; preds = %51
  %56 = load ptr, ptr @stderr, align 8, !tbaa !9
  %57 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %56, ptr noundef @.str, ptr noundef @.str.895, i32 noundef 195, ptr noundef @.str.358) #5
  %58 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %58, align 8, !tbaa !11
  %59 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %59, align 8, !tbaa !14
  store i32 1, ptr %6, align 4
  br label %120

60:                                               ; preds = %51
  br label %61

61:                                               ; preds = %60
  br label %62

62:                                               ; preds = %61
  %63 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 0
  store float 1.000000e+00, ptr %7, align 4, !tbaa !5
  %64 = getelementptr inbounds float, ptr %7, i64 1
  store float -1.000000e+00, ptr %64, align 4, !tbaa !5
  %65 = getelementptr inbounds float, ptr %7, i64 2
  store float -5.000000e+00, ptr %65, align 4, !tbaa !5
  %66 = getelementptr inbounds [3 x float], ptr %7, i64 0, i64 0
  call void @glm_scale_make(ptr noundef %63, ptr noundef %66)
  %67 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 0
  %68 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 0
  %69 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 0
  call void @glm_mat4_mulv(ptr noundef %67, ptr noundef %68, ptr noundef %69)
  br label %70

70:                                               ; preds = %62
  %71 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 0
  %72 = load float, ptr %71, align 16, !tbaa !5
  %73 = call zeroext i1 @test_eq(float noundef %72, float noundef 1.300000e+01)
  br i1 %73, label %79, label %74

74:                                               ; preds = %70
  %75 = load ptr, ptr @stderr, align 8, !tbaa !9
  %76 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %75, ptr noundef @.str, ptr noundef @.str.895, i32 noundef 200, ptr noundef @.str.904) #5
  %77 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %77, align 8, !tbaa !11
  %78 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %78, align 8, !tbaa !14
  store i32 1, ptr %6, align 4
  br label %120

79:                                               ; preds = %70
  br label %80

80:                                               ; preds = %79
  br label %81

81:                                               ; preds = %80
  br label %82

82:                                               ; preds = %81
  %83 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 1
  %84 = load float, ptr %83, align 4, !tbaa !5
  %85 = call zeroext i1 @test_eq(float noundef %84, float noundef -2.200000e+01)
  br i1 %85, label %91, label %86

86:                                               ; preds = %82
  %87 = load ptr, ptr @stderr, align 8, !tbaa !9
  %88 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %87, ptr noundef @.str, ptr noundef @.str.895, i32 noundef 201, ptr noundef @.str.907) #5
  %89 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %89, align 8, !tbaa !11
  %90 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %90, align 8, !tbaa !14
  store i32 1, ptr %6, align 4
  br label %120

91:                                               ; preds = %82
  br label %92

92:                                               ; preds = %91
  br label %93

93:                                               ; preds = %92
  br label %94

94:                                               ; preds = %93
  %95 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 2
  %96 = load float, ptr %95, align 8, !tbaa !5
  %97 = call zeroext i1 @test_eq(float noundef %96, float noundef -1.050000e+02)
  br i1 %97, label %103, label %98

98:                                               ; preds = %94
  %99 = load ptr, ptr @stderr, align 8, !tbaa !9
  %100 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %99, ptr noundef @.str, ptr noundef @.str.895, i32 noundef 202, ptr noundef @.str.908) #5
  %101 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %101, align 8, !tbaa !11
  %102 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %102, align 8, !tbaa !14
  store i32 1, ptr %6, align 4
  br label %120

103:                                              ; preds = %94
  br label %104

104:                                              ; preds = %103
  br label %105

105:                                              ; preds = %104
  br label %106

106:                                              ; preds = %105
  %107 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 3
  %108 = load float, ptr %107, align 4, !tbaa !5
  %109 = call zeroext i1 @test_eq(float noundef %108, float noundef 1.000000e+00)
  br i1 %109, label %115, label %110

110:                                              ; preds = %106
  %111 = load ptr, ptr @stderr, align 8, !tbaa !9
  %112 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %111, ptr noundef @.str, ptr noundef @.str.895, i32 noundef 203, ptr noundef @.str.358) #5
  %113 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %113, align 8, !tbaa !11
  %114 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %114, align 8, !tbaa !14
  store i32 1, ptr %6, align 4
  br label %120

115:                                              ; preds = %106
  br label %116

116:                                              ; preds = %115
  br label %117

117:                                              ; preds = %116
  %118 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %118, align 8, !tbaa !11
  %119 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 1, ptr %119, align 8, !tbaa !14
  store i32 1, ptr %6, align 4
  br label %120

120:                                              ; preds = %117, %110, %98, %86, %74, %55, %43, %31, %19
  call void @llvm.lifetime.end.p0(i64 16, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %2) #5
  %121 = load { ptr, i32 }, ptr %1, align 8
  ret { ptr, i32 } %121
}

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @glm_scale_make(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 = { alwaysinline 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 "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 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 #5 = { 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 = !{!"float", !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 = !{!12, !10, i64 0}
!12 = !{!"test_status_t", !10, i64 0, !13, i64 8}
!13 = !{!"int", !7, i64 0}
!14 = !{!12, !13, i64 8}


; 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"

@stderr = external local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [94 x i8], align 1
@.str.358 = external hidden unnamed_addr constant [21 x i8], align 1
@.str.895 = external hidden unnamed_addr constant [66 x i8], align 1
@.str.904 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.905 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.906 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.907 = external hidden unnamed_addr constant [23 x i8], align 1
@.str.908 = external hidden unnamed_addr constant [24 x i8], align 1
@__const.test_glm_scale_make.v1 = external hidden unnamed_addr constant [4 x float], align 16

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

; Function Attrs: mustprogress 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

; Function Attrs: alwaysinline nounwind uwtable
declare hidden zeroext i1 @test_eq(float noundef, float noundef) local_unnamed_addr #2

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

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

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @glm_mat4_mulv(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: nounwind uwtable
define dso_local { ptr, i32 } @test_glm_scale_make() local_unnamed_addr #4 {
  %1 = alloca [4 x [4 x float]], align 16
  %2 = alloca [4 x float], align 16
  %3 = alloca [4 x float], align 16
  %4 = alloca [3 x float], align 8
  %5 = alloca [3 x float], align 8
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %1) #5
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(16) %2, ptr noundef nonnull align 16 dereferenceable(16) @__const.test_glm_scale_make.v1, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #5
  store <2 x float> <float 1.300000e+01, float 1.100000e+01>, ptr %4, align 8, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %4, i64 8
  store float 7.000000e+00, ptr %6, align 8, !tbaa !5
  call void @glm_scale_make(ptr noundef nonnull %1, ptr noundef nonnull %4)
  call void @glm_mat4_mulv(ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef nonnull %3)
  %7 = load float, ptr %3, align 16, !tbaa !5
  %8 = call zeroext i1 @test_eq(float noundef %7, float noundef 1.300000e+01)
  br i1 %8, label %12, label %9

9:                                                ; preds = %0
  %10 = load ptr, ptr @stderr, align 8, !tbaa !9
  %11 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %10, ptr noundef nonnull @.str, ptr noundef nonnull @.str.895, i32 noundef 192, ptr noundef nonnull @.str.904) #6
  br label %58

12:                                               ; preds = %0
  %13 = getelementptr inbounds i8, ptr %3, i64 4
  %14 = load float, ptr %13, align 4, !tbaa !5
  %15 = call zeroext i1 @test_eq(float noundef %14, float noundef 2.200000e+01)
  br i1 %15, label %19, label %16

16:                                               ; preds = %12
  %17 = load ptr, ptr @stderr, align 8, !tbaa !9
  %18 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %17, ptr noundef nonnull @.str, ptr noundef nonnull @.str.895, i32 noundef 193, ptr noundef nonnull @.str.905) #6
  br label %58

19:                                               ; preds = %12
  %20 = getelementptr inbounds i8, ptr %3, i64 8
  %21 = load float, ptr %20, align 8, !tbaa !5
  %22 = call zeroext i1 @test_eq(float noundef %21, float noundef 2.100000e+01)
  br i1 %22, label %26, label %23

23:                                               ; preds = %19
  %24 = load ptr, ptr @stderr, align 8, !tbaa !9
  %25 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %24, ptr noundef nonnull @.str, ptr noundef nonnull @.str.895, i32 noundef 194, ptr noundef nonnull @.str.906) #6
  br label %58

26:                                               ; preds = %19
  %27 = getelementptr inbounds i8, ptr %3, i64 12
  %28 = load float, ptr %27, align 4, !tbaa !5
  %29 = call zeroext i1 @test_eq(float noundef %28, float noundef 1.000000e+00)
  br i1 %29, label %33, label %30

30:                                               ; preds = %26
  %31 = load ptr, ptr @stderr, align 8, !tbaa !9
  %32 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %31, ptr noundef nonnull @.str, ptr noundef nonnull @.str.895, i32 noundef 195, ptr noundef nonnull @.str.358) #6
  br label %58

33:                                               ; preds = %26
  store <2 x float> <float 1.000000e+00, float -1.000000e+00>, ptr %5, align 8, !tbaa !5
  %34 = getelementptr inbounds i8, ptr %5, i64 8
  store float -5.000000e+00, ptr %34, align 8, !tbaa !5
  call void @glm_scale_make(ptr noundef nonnull %1, ptr noundef nonnull %5)
  call void @glm_mat4_mulv(ptr noundef nonnull %1, ptr noundef nonnull %3, ptr noundef nonnull %3)
  %35 = load float, ptr %3, align 16, !tbaa !5
  %36 = call zeroext i1 @test_eq(float noundef %35, float noundef 1.300000e+01)
  br i1 %36, label %40, label %37

37:                                               ; preds = %33
  %38 = load ptr, ptr @stderr, align 8, !tbaa !9
  %39 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %38, ptr noundef nonnull @.str, ptr noundef nonnull @.str.895, i32 noundef 200, ptr noundef nonnull @.str.904) #6
  br label %58

40:                                               ; preds = %33
  %41 = load float, ptr %13, align 4, !tbaa !5
  %42 = call zeroext i1 @test_eq(float noundef %41, float noundef -2.200000e+01)
  br i1 %42, label %46, label %43

43:                                               ; preds = %40
  %44 = load ptr, ptr @stderr, align 8, !tbaa !9
  %45 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %44, ptr noundef nonnull @.str, ptr noundef nonnull @.str.895, i32 noundef 201, ptr noundef nonnull @.str.907) #6
  br label %58

46:                                               ; preds = %40
  %47 = load float, ptr %20, align 8, !tbaa !5
  %48 = call zeroext i1 @test_eq(float noundef %47, float noundef -1.050000e+02)
  br i1 %48, label %52, label %49

49:                                               ; preds = %46
  %50 = load ptr, ptr @stderr, align 8, !tbaa !9
  %51 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %50, ptr noundef nonnull @.str, ptr noundef nonnull @.str.895, i32 noundef 202, ptr noundef nonnull @.str.908) #6
  br label %58

52:                                               ; preds = %46
  %53 = load float, ptr %27, align 4, !tbaa !5
  %54 = call zeroext i1 @test_eq(float noundef %53, float noundef 1.000000e+00)
  br i1 %54, label %58, label %55

55:                                               ; preds = %52
  %56 = load ptr, ptr @stderr, align 8, !tbaa !9
  %57 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %56, ptr noundef nonnull @.str, ptr noundef nonnull @.str.895, i32 noundef 203, ptr noundef nonnull @.str.358) #6
  br label %58

58:                                               ; preds = %52, %55, %49, %43, %37, %30, %23, %16, %9
  %.sroa.10.0 = phi i32 [ 0, %55 ], [ 0, %49 ], [ 0, %43 ], [ 0, %37 ], [ 0, %30 ], [ 0, %23 ], [ 0, %16 ], [ 0, %9 ], [ 1, %52 ]
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %1) #5
  %.fca.1.insert = insertvalue { ptr, i32 } { ptr null, i32 poison }, i32 %.sroa.10.0, 1
  ret { ptr, i32 } %.fca.1.insert
}

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @glm_scale_make(ptr noundef, ptr noundef) local_unnamed_addr #2

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { alwaysinline 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 = { 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 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 #5 = { nounwind }
attributes #6 = { cold 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 = !{!"float", !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}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass