; 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.647 = external hidden unnamed_addr constant [66 x i8], align 1
@__const.test_glm_mat2x3_make.src = external hidden unnamed_addr constant [18 x float], align 16
@.str.651 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.652 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.653 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.654 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.655 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.656 = external hidden unnamed_addr constant [35 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

; 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: nounwind uwtable
define dso_local { ptr, i32 } @test_glm_mat2x3_make() #4 {
  %1 = alloca %struct.test_status_t, align 8
  %2 = alloca [18 x float], align 16
  %3 = alloca [3 x [2 x [3 x float]]], align 16
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  call void @llvm.lifetime.start.p0(i64 72, ptr %2) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %2, ptr align 16 @__const.test_glm_mat2x3_make.src, i64 72, i1 false)
  call void @llvm.lifetime.start.p0(i64 72, ptr %3) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #5
  %9 = getelementptr inbounds [18 x float], ptr %2, i64 0, i64 0
  store ptr %9, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  store i32 0, ptr %5, align 4, !tbaa !9
  store i32 0, ptr %6, align 4, !tbaa !9
  store i32 0, ptr %7, align 4, !tbaa !9
  br label %10

10:                                               ; preds = %163, %0
  %11 = load i32, ptr %5, align 4, !tbaa !9
  %12 = zext i32 %11 to i64
  %13 = icmp ult i64 %12, 18
  br i1 %13, label %14, label %168

14:                                               ; preds = %10
  %15 = load ptr, ptr %4, align 8, !tbaa !5
  %16 = load i32, ptr %5, align 4, !tbaa !9
  %17 = zext i32 %16 to i64
  %18 = getelementptr inbounds float, ptr %15, i64 %17
  %19 = load i32, ptr %6, align 4, !tbaa !9
  %20 = zext i32 %19 to i64
  %21 = getelementptr inbounds [3 x [2 x [3 x float]]], ptr %3, i64 0, i64 %20
  %22 = getelementptr inbounds [2 x [3 x float]], ptr %21, i64 0, i64 0
  call void @glm_mat2x3_make(ptr noundef %18, ptr noundef %22)
  br label %23

23:                                               ; preds = %14
  %24 = load i32, ptr %5, align 4, !tbaa !9
  %25 = zext i32 %24 to i64
  %26 = getelementptr inbounds [18 x float], ptr %2, i64 0, i64 %25
  %27 = load float, ptr %26, align 4, !tbaa !11
  %28 = load i32, ptr %6, align 4, !tbaa !9
  %29 = zext i32 %28 to i64
  %30 = getelementptr inbounds [3 x [2 x [3 x float]]], ptr %3, i64 0, i64 %29
  %31 = load i32, ptr %7, align 4, !tbaa !9
  %32 = zext i32 %31 to i64
  %33 = getelementptr inbounds [2 x [3 x float]], ptr %30, i64 0, i64 %32
  %34 = getelementptr inbounds [3 x float], ptr %33, i64 0, i64 0
  %35 = load float, ptr %34, align 4, !tbaa !11
  %36 = call zeroext i1 @test_eq(float noundef %27, float noundef %35)
  br i1 %36, label %42, label %37

37:                                               ; preds = %23
  %38 = load ptr, ptr @stderr, align 8, !tbaa !5
  %39 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %38, ptr noundef @.str, ptr noundef @.str.647, i32 noundef 70, ptr noundef @.str.651) #5
  %40 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %40, align 8, !tbaa !13
  %41 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %41, align 8, !tbaa !15
  store i32 1, ptr %8, align 4
  br label %171

42:                                               ; preds = %23
  br label %43

43:                                               ; preds = %42
  br label %44

44:                                               ; preds = %43
  br label %45

45:                                               ; preds = %44
  %46 = load i32, ptr %5, align 4, !tbaa !9
  %47 = add i32 %46, 1
  %48 = zext i32 %47 to i64
  %49 = getelementptr inbounds [18 x float], ptr %2, i64 0, i64 %48
  %50 = load float, ptr %49, align 4, !tbaa !11
  %51 = load i32, ptr %6, align 4, !tbaa !9
  %52 = zext i32 %51 to i64
  %53 = getelementptr inbounds [3 x [2 x [3 x float]]], ptr %3, i64 0, i64 %52
  %54 = load i32, ptr %7, align 4, !tbaa !9
  %55 = zext i32 %54 to i64
  %56 = getelementptr inbounds [2 x [3 x float]], ptr %53, i64 0, i64 %55
  %57 = getelementptr inbounds [3 x float], ptr %56, i64 0, i64 1
  %58 = load float, ptr %57, align 4, !tbaa !11
  %59 = call zeroext i1 @test_eq(float noundef %50, float noundef %58)
  br i1 %59, label %65, label %60

60:                                               ; preds = %45
  %61 = load ptr, ptr @stderr, align 8, !tbaa !5
  %62 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %61, ptr noundef @.str, ptr noundef @.str.647, i32 noundef 71, ptr noundef @.str.652) #5
  %63 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %63, align 8, !tbaa !13
  %64 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %64, align 8, !tbaa !15
  store i32 1, ptr %8, align 4
  br label %171

65:                                               ; preds = %45
  br label %66

66:                                               ; preds = %65
  br label %67

67:                                               ; preds = %66
  br label %68

68:                                               ; preds = %67
  %69 = load i32, ptr %5, align 4, !tbaa !9
  %70 = add i32 %69, 2
  %71 = zext i32 %70 to i64
  %72 = getelementptr inbounds [18 x float], ptr %2, i64 0, i64 %71
  %73 = load float, ptr %72, align 4, !tbaa !11
  %74 = load i32, ptr %6, align 4, !tbaa !9
  %75 = zext i32 %74 to i64
  %76 = getelementptr inbounds [3 x [2 x [3 x float]]], ptr %3, i64 0, i64 %75
  %77 = load i32, ptr %7, align 4, !tbaa !9
  %78 = zext i32 %77 to i64
  %79 = getelementptr inbounds [2 x [3 x float]], ptr %76, i64 0, i64 %78
  %80 = getelementptr inbounds [3 x float], ptr %79, i64 0, i64 2
  %81 = load float, ptr %80, align 4, !tbaa !11
  %82 = call zeroext i1 @test_eq(float noundef %73, float noundef %81)
  br i1 %82, label %88, label %83

83:                                               ; preds = %68
  %84 = load ptr, ptr @stderr, align 8, !tbaa !5
  %85 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %84, ptr noundef @.str, ptr noundef @.str.647, i32 noundef 72, ptr noundef @.str.653) #5
  %86 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %86, align 8, !tbaa !13
  %87 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %87, align 8, !tbaa !15
  store i32 1, ptr %8, align 4
  br label %171

88:                                               ; preds = %68
  br label %89

89:                                               ; preds = %88
  br label %90

90:                                               ; preds = %89
  br label %91

91:                                               ; preds = %90
  %92 = load i32, ptr %5, align 4, !tbaa !9
  %93 = add i32 %92, 3
  %94 = zext i32 %93 to i64
  %95 = getelementptr inbounds [18 x float], ptr %2, i64 0, i64 %94
  %96 = load float, ptr %95, align 4, !tbaa !11
  %97 = load i32, ptr %6, align 4, !tbaa !9
  %98 = zext i32 %97 to i64
  %99 = getelementptr inbounds [3 x [2 x [3 x float]]], ptr %3, i64 0, i64 %98
  %100 = load i32, ptr %7, align 4, !tbaa !9
  %101 = add i32 %100, 1
  %102 = zext i32 %101 to i64
  %103 = getelementptr inbounds [2 x [3 x float]], ptr %99, i64 0, i64 %102
  %104 = getelementptr inbounds [3 x float], ptr %103, i64 0, i64 0
  %105 = load float, ptr %104, align 4, !tbaa !11
  %106 = call zeroext i1 @test_eq(float noundef %96, float noundef %105)
  br i1 %106, label %112, label %107

107:                                              ; preds = %91
  %108 = load ptr, ptr @stderr, align 8, !tbaa !5
  %109 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %108, ptr noundef @.str, ptr noundef @.str.647, i32 noundef 74, ptr noundef @.str.654) #5
  %110 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %110, align 8, !tbaa !13
  %111 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %111, align 8, !tbaa !15
  store i32 1, ptr %8, align 4
  br label %171

112:                                              ; preds = %91
  br label %113

113:                                              ; preds = %112
  br label %114

114:                                              ; preds = %113
  br label %115

115:                                              ; preds = %114
  %116 = load i32, ptr %5, align 4, !tbaa !9
  %117 = add i32 %116, 4
  %118 = zext i32 %117 to i64
  %119 = getelementptr inbounds [18 x float], ptr %2, i64 0, i64 %118
  %120 = load float, ptr %119, align 4, !tbaa !11
  %121 = load i32, ptr %6, align 4, !tbaa !9
  %122 = zext i32 %121 to i64
  %123 = getelementptr inbounds [3 x [2 x [3 x float]]], ptr %3, i64 0, i64 %122
  %124 = load i32, ptr %7, align 4, !tbaa !9
  %125 = add i32 %124, 1
  %126 = zext i32 %125 to i64
  %127 = getelementptr inbounds [2 x [3 x float]], ptr %123, i64 0, i64 %126
  %128 = getelementptr inbounds [3 x float], ptr %127, i64 0, i64 1
  %129 = load float, ptr %128, align 4, !tbaa !11
  %130 = call zeroext i1 @test_eq(float noundef %120, float noundef %129)
  br i1 %130, label %136, label %131

131:                                              ; preds = %115
  %132 = load ptr, ptr @stderr, align 8, !tbaa !5
  %133 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %132, ptr noundef @.str, ptr noundef @.str.647, i32 noundef 75, ptr noundef @.str.655) #5
  %134 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %134, align 8, !tbaa !13
  %135 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %135, align 8, !tbaa !15
  store i32 1, ptr %8, align 4
  br label %171

136:                                              ; preds = %115
  br label %137

137:                                              ; preds = %136
  br label %138

138:                                              ; preds = %137
  br label %139

139:                                              ; preds = %138
  %140 = load i32, ptr %5, align 4, !tbaa !9
  %141 = add i32 %140, 5
  %142 = zext i32 %141 to i64
  %143 = getelementptr inbounds [18 x float], ptr %2, i64 0, i64 %142
  %144 = load float, ptr %143, align 4, !tbaa !11
  %145 = load i32, ptr %6, align 4, !tbaa !9
  %146 = zext i32 %145 to i64
  %147 = getelementptr inbounds [3 x [2 x [3 x float]]], ptr %3, i64 0, i64 %146
  %148 = load i32, ptr %7, align 4, !tbaa !9
  %149 = add i32 %148, 1
  %150 = zext i32 %149 to i64
  %151 = getelementptr inbounds [2 x [3 x float]], ptr %147, i64 0, i64 %150
  %152 = getelementptr inbounds [3 x float], ptr %151, i64 0, i64 2
  %153 = load float, ptr %152, align 4, !tbaa !11
  %154 = call zeroext i1 @test_eq(float noundef %144, float noundef %153)
  br i1 %154, label %160, label %155

155:                                              ; preds = %139
  %156 = load ptr, ptr @stderr, align 8, !tbaa !5
  %157 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %156, ptr noundef @.str, ptr noundef @.str.647, i32 noundef 76, ptr noundef @.str.656) #5
  %158 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %158, align 8, !tbaa !13
  %159 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 0, ptr %159, align 8, !tbaa !15
  store i32 1, ptr %8, align 4
  br label %171

160:                                              ; preds = %139
  br label %161

161:                                              ; preds = %160
  br label %162

162:                                              ; preds = %161
  br label %163

163:                                              ; preds = %162
  %164 = load i32, ptr %5, align 4, !tbaa !9
  %165 = add i32 %164, 6
  store i32 %165, ptr %5, align 4, !tbaa !9
  %166 = load i32, ptr %6, align 4, !tbaa !9
  %167 = add i32 %166, 1
  store i32 %167, ptr %6, align 4, !tbaa !9
  br label %10, !llvm.loop !16

168:                                              ; preds = %10
  %169 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 0
  store ptr null, ptr %169, align 8, !tbaa !13
  %170 = getelementptr inbounds %struct.test_status_t, ptr %1, i32 0, i32 1
  store i32 1, ptr %170, align 8, !tbaa !15
  store i32 1, ptr %8, align 4
  br label %171

171:                                              ; preds = %168, %155, %131, %107, %83, %60, %37
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 72, ptr %3) #5
  call void @llvm.lifetime.end.p0(i64 72, ptr %2) #5
  %172 = load { ptr, i32 }, ptr %1, align 8
  ret { ptr, i32 } %172
}

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @glm_mat2x3_make(ptr noalias 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = !{!14, !6, i64 0}
!14 = !{!"test_status_t", !6, i64 0, !10, i64 8}
!15 = !{!14, !10, i64 8}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.mustprogress"}


; 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.647 = external hidden unnamed_addr constant [66 x i8], align 1
@__const.test_glm_mat2x3_make.src = external hidden unnamed_addr constant [18 x float], align 16
@.str.651 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.652 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.653 = external hidden unnamed_addr constant [33 x i8], align 1
@.str.654 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.655 = external hidden unnamed_addr constant [35 x i8], align 1
@.str.656 = external hidden unnamed_addr constant [35 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

; 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: nounwind uwtable
define dso_local { ptr, i32 } @test_glm_mat2x3_make() local_unnamed_addr #4 {
  %1 = alloca [18 x float], align 16
  %2 = alloca [3 x [2 x [3 x float]]], align 16
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %1) #5
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(72) %1, ptr noundef nonnull align 16 dereferenceable(72) @__const.test_glm_mat2x3_make.src, i64 72, i1 false)
  call void @llvm.lifetime.start.p0(i64 72, ptr nonnull %2) #5
  call void @glm_mat2x3_make(ptr noundef nonnull %1, ptr noundef nonnull %2)
  %3 = load float, ptr %1, align 16, !tbaa !5
  %4 = load float, ptr %2, align 16, !tbaa !5
  %5 = call zeroext i1 @test_eq(float noundef %3, float noundef %4)
  br i1 %5, label %9, label %6

6:                                                ; preds = %90, %54, %0
  %7 = load ptr, ptr @stderr, align 8, !tbaa !9
  %8 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %7, ptr noundef nonnull @.str, ptr noundef nonnull @.str.647, i32 noundef 70, ptr noundef nonnull @.str.651) #6
  br label %.loopexit

9:                                                ; preds = %0
  %10 = getelementptr inbounds i8, ptr %1, i64 4
  %11 = load float, ptr %10, align 4, !tbaa !5
  %12 = getelementptr inbounds i8, ptr %2, i64 4
  %13 = load float, ptr %12, align 4, !tbaa !5
  %14 = call zeroext i1 @test_eq(float noundef %11, float noundef %13)
  br i1 %14, label %18, label %15

15:                                               ; preds = %96, %60, %9
  %16 = load ptr, ptr @stderr, align 8, !tbaa !9
  %17 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %16, ptr noundef nonnull @.str, ptr noundef nonnull @.str.647, i32 noundef 71, ptr noundef nonnull @.str.652) #6
  br label %.loopexit

18:                                               ; preds = %9
  %19 = getelementptr inbounds i8, ptr %1, i64 8
  %20 = load float, ptr %19, align 8, !tbaa !5
  %21 = getelementptr inbounds i8, ptr %2, i64 8
  %22 = load float, ptr %21, align 8, !tbaa !5
  %23 = call zeroext i1 @test_eq(float noundef %20, float noundef %22)
  br i1 %23, label %27, label %24

24:                                               ; preds = %102, %66, %18
  %25 = load ptr, ptr @stderr, align 8, !tbaa !9
  %26 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %25, ptr noundef nonnull @.str, ptr noundef nonnull @.str.647, i32 noundef 72, ptr noundef nonnull @.str.653) #6
  br label %.loopexit

27:                                               ; preds = %18
  %28 = getelementptr inbounds i8, ptr %1, i64 12
  %29 = load float, ptr %28, align 4, !tbaa !5
  %30 = getelementptr inbounds i8, ptr %2, i64 12
  %31 = load float, ptr %30, align 4, !tbaa !5
  %32 = call zeroext i1 @test_eq(float noundef %29, float noundef %31)
  br i1 %32, label %36, label %33

33:                                               ; preds = %108, %72, %27
  %34 = load ptr, ptr @stderr, align 8, !tbaa !9
  %35 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %34, ptr noundef nonnull @.str, ptr noundef nonnull @.str.647, i32 noundef 74, ptr noundef nonnull @.str.654) #6
  br label %.loopexit

36:                                               ; preds = %27
  %37 = getelementptr inbounds i8, ptr %1, i64 16
  %38 = load float, ptr %37, align 16, !tbaa !5
  %39 = getelementptr inbounds i8, ptr %2, i64 16
  %40 = load float, ptr %39, align 16, !tbaa !5
  %41 = call zeroext i1 @test_eq(float noundef %38, float noundef %40)
  br i1 %41, label %45, label %42

42:                                               ; preds = %114, %78, %36
  %43 = load ptr, ptr @stderr, align 8, !tbaa !9
  %44 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %43, ptr noundef nonnull @.str, ptr noundef nonnull @.str.647, i32 noundef 75, ptr noundef nonnull @.str.655) #6
  br label %.loopexit

45:                                               ; preds = %36
  %46 = getelementptr inbounds i8, ptr %1, i64 20
  %47 = load float, ptr %46, align 4, !tbaa !5
  %48 = getelementptr inbounds i8, ptr %2, i64 20
  %49 = load float, ptr %48, align 4, !tbaa !5
  %50 = call zeroext i1 @test_eq(float noundef %47, float noundef %49)
  br i1 %50, label %54, label %51

51:                                               ; preds = %120, %84, %45
  %52 = load ptr, ptr @stderr, align 8, !tbaa !9
  %53 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %52, ptr noundef nonnull @.str, ptr noundef nonnull @.str.647, i32 noundef 76, ptr noundef nonnull @.str.656) #6
  br label %.loopexit

54:                                               ; preds = %45
  %55 = getelementptr inbounds i8, ptr %1, i64 24
  %56 = getelementptr inbounds i8, ptr %2, i64 24
  call void @glm_mat2x3_make(ptr noundef nonnull %55, ptr noundef nonnull %56)
  %57 = load float, ptr %55, align 8, !tbaa !5
  %58 = load float, ptr %56, align 8, !tbaa !5
  %59 = call zeroext i1 @test_eq(float noundef %57, float noundef %58)
  br i1 %59, label %60, label %6

60:                                               ; preds = %54
  %61 = getelementptr inbounds i8, ptr %1, i64 28
  %62 = load float, ptr %61, align 4, !tbaa !5
  %63 = getelementptr inbounds i8, ptr %2, i64 28
  %64 = load float, ptr %63, align 4, !tbaa !5
  %65 = call zeroext i1 @test_eq(float noundef %62, float noundef %64)
  br i1 %65, label %66, label %15

66:                                               ; preds = %60
  %67 = getelementptr inbounds i8, ptr %1, i64 32
  %68 = load float, ptr %67, align 16, !tbaa !5
  %69 = getelementptr inbounds i8, ptr %2, i64 32
  %70 = load float, ptr %69, align 16, !tbaa !5
  %71 = call zeroext i1 @test_eq(float noundef %68, float noundef %70)
  br i1 %71, label %72, label %24

72:                                               ; preds = %66
  %73 = getelementptr inbounds i8, ptr %1, i64 36
  %74 = load float, ptr %73, align 4, !tbaa !5
  %75 = getelementptr inbounds i8, ptr %2, i64 36
  %76 = load float, ptr %75, align 4, !tbaa !5
  %77 = call zeroext i1 @test_eq(float noundef %74, float noundef %76)
  br i1 %77, label %78, label %33

78:                                               ; preds = %72
  %79 = getelementptr inbounds i8, ptr %1, i64 40
  %80 = load float, ptr %79, align 8, !tbaa !5
  %81 = getelementptr inbounds i8, ptr %2, i64 40
  %82 = load float, ptr %81, align 8, !tbaa !5
  %83 = call zeroext i1 @test_eq(float noundef %80, float noundef %82)
  br i1 %83, label %84, label %42

84:                                               ; preds = %78
  %85 = getelementptr inbounds i8, ptr %1, i64 44
  %86 = load float, ptr %85, align 4, !tbaa !5
  %87 = getelementptr inbounds i8, ptr %2, i64 44
  %88 = load float, ptr %87, align 4, !tbaa !5
  %89 = call zeroext i1 @test_eq(float noundef %86, float noundef %88)
  br i1 %89, label %90, label %51

90:                                               ; preds = %84
  %91 = getelementptr inbounds i8, ptr %1, i64 48
  %92 = getelementptr inbounds i8, ptr %2, i64 48
  call void @glm_mat2x3_make(ptr noundef nonnull %91, ptr noundef nonnull %92)
  %93 = load float, ptr %91, align 16, !tbaa !5
  %94 = load float, ptr %92, align 16, !tbaa !5
  %95 = call zeroext i1 @test_eq(float noundef %93, float noundef %94)
  br i1 %95, label %96, label %6

96:                                               ; preds = %90
  %97 = getelementptr inbounds i8, ptr %1, i64 52
  %98 = load float, ptr %97, align 4, !tbaa !5
  %99 = getelementptr inbounds i8, ptr %2, i64 52
  %100 = load float, ptr %99, align 4, !tbaa !5
  %101 = call zeroext i1 @test_eq(float noundef %98, float noundef %100)
  br i1 %101, label %102, label %15

102:                                              ; preds = %96
  %103 = getelementptr inbounds i8, ptr %1, i64 56
  %104 = load float, ptr %103, align 8, !tbaa !5
  %105 = getelementptr inbounds i8, ptr %2, i64 56
  %106 = load float, ptr %105, align 8, !tbaa !5
  %107 = call zeroext i1 @test_eq(float noundef %104, float noundef %106)
  br i1 %107, label %108, label %24

108:                                              ; preds = %102
  %109 = getelementptr inbounds i8, ptr %1, i64 60
  %110 = load float, ptr %109, align 4, !tbaa !5
  %111 = getelementptr inbounds i8, ptr %2, i64 60
  %112 = load float, ptr %111, align 4, !tbaa !5
  %113 = call zeroext i1 @test_eq(float noundef %110, float noundef %112)
  br i1 %113, label %114, label %33

114:                                              ; preds = %108
  %115 = getelementptr inbounds i8, ptr %1, i64 64
  %116 = load float, ptr %115, align 16, !tbaa !5
  %117 = getelementptr inbounds i8, ptr %2, i64 64
  %118 = load float, ptr %117, align 16, !tbaa !5
  %119 = call zeroext i1 @test_eq(float noundef %116, float noundef %118)
  br i1 %119, label %120, label %42

120:                                              ; preds = %114
  %121 = getelementptr inbounds i8, ptr %1, i64 68
  %122 = load float, ptr %121, align 4, !tbaa !5
  %123 = getelementptr inbounds i8, ptr %2, i64 68
  %124 = load float, ptr %123, align 4, !tbaa !5
  %125 = call zeroext i1 @test_eq(float noundef %122, float noundef %124)
  br i1 %125, label %.loopexit, label %51

.loopexit:                                        ; preds = %120, %51, %42, %33, %24, %15, %6
  %.sroa.8.0 = phi i32 [ 0, %51 ], [ 0, %42 ], [ 0, %33 ], [ 0, %24 ], [ 0, %15 ], [ 0, %6 ], [ 1, %120 ]
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %2) #5
  call void @llvm.lifetime.end.p0(i64 72, ptr nonnull %1) #5
  %.fca.1.insert = insertvalue { ptr, i32 } { ptr null, i32 poison }, i32 %.sroa.8.0, 1
  ret { ptr, i32 } %.fca.1.insert
}

; Function Attrs: alwaysinline nounwind uwtable
declare hidden void @glm_mat2x3_make(ptr noalias 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: CorrelatedValuePropagationPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,SROAPass,SimplifyCFGPass