; 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.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_identity(ptr noundef) #2

; 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() #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.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
  call void @glm_mat4_identity(ptr noundef %8)
  %9 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 0
  store float 1.300000e+01, ptr %5, align 4, !tbaa !5
  %10 = getelementptr inbounds float, ptr %5, i64 1
  store float 1.100000e+01, ptr %10, align 4, !tbaa !5
  %11 = getelementptr inbounds float, ptr %5, i64 2
  store float 7.000000e+00, ptr %11, align 4, !tbaa !5
  %12 = getelementptr inbounds [3 x float], ptr %5, i64 0, i64 0
  call void @glm_scale(ptr noundef %9, ptr noundef %12)
  %13 = getelementptr inbounds [4 x [4 x float]], ptr %2, i64 0, i64 0
  %14 = getelementptr inbounds [4 x float], ptr %3, i64 0, i64 0
  %15 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 0
  call void @glm_mat4_mulv(ptr noundef %13, ptr noundef %14, ptr noundef %15)
  br label %16

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

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

25:                                               ; preds = %16
  br label %26

26:                                               ; preds = %25
  br label %27

27:                                               ; preds = %26
  br label %28

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

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

37:                                               ; preds = %28
  br label %38

38:                                               ; preds = %37
  br label %39

39:                                               ; preds = %38
  br label %40

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

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

49:                                               ; preds = %40
  br label %50

50:                                               ; preds = %49
  br label %51

51:                                               ; preds = %50
  br label %52

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

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

61:                                               ; preds = %52
  br label %62

62:                                               ; preds = %61
  br label %63

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

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

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

81:                                               ; preds = %72
  br label %82

82:                                               ; preds = %81
  br label %83

83:                                               ; preds = %82
  br label %84

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

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

93:                                               ; preds = %84
  br label %94

94:                                               ; preds = %93
  br label %95

95:                                               ; preds = %94
  br label %96

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

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

105:                                              ; preds = %96
  br label %106

106:                                              ; preds = %105
  br label %107

107:                                              ; preds = %106
  br label %108

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

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

117:                                              ; preds = %108
  br label %118

118:                                              ; preds = %117
  br label %119

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

122:                                              ; preds = %119, %112, %100, %88, %76, %56, %44, %32, %20
  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
  %123 = load { ptr, i32 }, ptr %1, align 8
  ret { ptr, i32 } %123
}

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @glm_scale(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.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_identity(ptr noundef) local_unnamed_addr #2

; 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() 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.v1, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3) #5
  call void @glm_mat4_identity(ptr noundef nonnull %1)
  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(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 216, 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 217, 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 218, 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 219, ptr noundef nonnull @.str.358) #6
  br label %58

33:                                               ; preds = %26
  call void @glm_mat4_identity(ptr noundef nonnull %1)
  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(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 225, 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 226, 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 227, 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 228, 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(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