; LLVM IR from HandmadeMath/HandmadeMath :: test/hmm_test.ll (Z26_hmt_test_Subtraction_Mat4P21hmt_testresult_struct)

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

%union.HMM_Mat4 = type { [4 x %union.HMM_Vec4] }
%union.HMM_Vec4 = type { <4 x float> }
%struct.hmt_testresult_struct = type { i32, i32 }

@.str.15 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [34 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: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZL6HMM_M4v(ptr dead_on_unwind noalias writable sret(%union.HMM_Mat4) align 16) #3

; Function Attrs: mustprogress uwtable
define dso_local void @_Z26_hmt_test_Subtraction_Mat4P21hmt_testresult_struct(ptr noundef %0) #4 {
  %2 = alloca ptr, align 8
  %3 = alloca %union.HMM_Mat4, align 16
  %4 = alloca %union.HMM_Mat4, align 16
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca %union.HMM_Mat4, align 16
  %12 = alloca %union.HMM_Mat4, align 16
  %13 = alloca %union.HMM_Mat4, align 16
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca float, align 4
  %17 = alloca float, align 4
  %18 = alloca %union.HMM_Mat4, align 16
  %19 = alloca %union.HMM_Mat4, align 16
  %20 = alloca %union.HMM_Mat4, align 16
  %21 = alloca i32, align 4
  %22 = alloca i32, align 4
  %23 = alloca float, align 4
  %24 = alloca float, align 4
  %25 = alloca %union.HMM_Mat4, align 16
  %26 = alloca %union.HMM_Mat4, align 16
  %27 = alloca %union.HMM_Mat4, align 16
  %28 = alloca i32, align 4
  %29 = alloca i32, align 4
  %30 = alloca float, align 4
  %31 = alloca float, align 4
  %32 = alloca %union.HMM_Mat4, align 16
  %33 = alloca i32, align 4
  %34 = alloca i32, align 4
  %35 = alloca float, align 4
  %36 = alloca float, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 64, ptr %3) #5
  call void @_ZL6HMM_M4v(ptr dead_on_unwind writable sret(%union.HMM_Mat4) align 16 %3)
  call void @llvm.lifetime.start.p0(i64 64, ptr %4) #5
  call void @_ZL6HMM_M4v(ptr dead_on_unwind writable sret(%union.HMM_Mat4) align 16 %4)
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #5
  store i32 1, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #5
  store i32 0, ptr %6, align 4, !tbaa !9
  br label %37

37:                                               ; preds = %61, %1
  %38 = load i32, ptr %6, align 4, !tbaa !9
  %39 = icmp slt i32 %38, 4
  br i1 %39, label %41, label %40

40:                                               ; preds = %37
  store i32 2, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #5
  br label %64

41:                                               ; preds = %37
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  store i32 0, ptr %8, align 4, !tbaa !9
  br label %42

42:                                               ; preds = %57, %41
  %43 = load i32, ptr %8, align 4, !tbaa !9
  %44 = icmp slt i32 %43, 4
  br i1 %44, label %46, label %45

45:                                               ; preds = %42
  store i32 5, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  br label %60

46:                                               ; preds = %42
  %47 = load i32, ptr %5, align 4, !tbaa !9
  %48 = sitofp i32 %47 to float
  %49 = load i32, ptr %6, align 4, !tbaa !9
  %50 = sext i32 %49 to i64
  %51 = getelementptr inbounds [4 x [4 x float]], ptr %3, i64 0, i64 %50
  %52 = load i32, ptr %8, align 4, !tbaa !9
  %53 = sext i32 %52 to i64
  %54 = getelementptr inbounds [4 x float], ptr %51, i64 0, i64 %53
  store float %48, ptr %54, align 4, !tbaa !11
  %55 = load i32, ptr %5, align 4, !tbaa !9
  %56 = add nsw i32 %55, 1
  store i32 %56, ptr %5, align 4, !tbaa !9
  br label %57

57:                                               ; preds = %46
  %58 = load i32, ptr %8, align 4, !tbaa !9
  %59 = add nsw i32 %58, 1
  store i32 %59, ptr %8, align 4, !tbaa !9
  br label %42, !llvm.loop !12

60:                                               ; preds = %45
  br label %61

61:                                               ; preds = %60
  %62 = load i32, ptr %6, align 4, !tbaa !9
  %63 = add nsw i32 %62, 1
  store i32 %63, ptr %6, align 4, !tbaa !9
  br label %37, !llvm.loop !14

64:                                               ; preds = %40
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  store i32 0, ptr %9, align 4, !tbaa !9
  br label %65

65:                                               ; preds = %89, %64
  %66 = load i32, ptr %9, align 4, !tbaa !9
  %67 = icmp slt i32 %66, 4
  br i1 %67, label %69, label %68

68:                                               ; preds = %65
  store i32 8, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  br label %92

69:                                               ; preds = %65
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %70

70:                                               ; preds = %85, %69
  %71 = load i32, ptr %10, align 4, !tbaa !9
  %72 = icmp slt i32 %71, 4
  br i1 %72, label %74, label %73

73:                                               ; preds = %70
  store i32 11, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  br label %88

74:                                               ; preds = %70
  %75 = load i32, ptr %5, align 4, !tbaa !9
  %76 = sitofp i32 %75 to float
  %77 = load i32, ptr %9, align 4, !tbaa !9
  %78 = sext i32 %77 to i64
  %79 = getelementptr inbounds [4 x [4 x float]], ptr %4, i64 0, i64 %78
  %80 = load i32, ptr %10, align 4, !tbaa !9
  %81 = sext i32 %80 to i64
  %82 = getelementptr inbounds [4 x float], ptr %79, i64 0, i64 %81
  store float %76, ptr %82, align 4, !tbaa !11
  %83 = load i32, ptr %5, align 4, !tbaa !9
  %84 = add nsw i32 %83, 1
  store i32 %84, ptr %5, align 4, !tbaa !9
  br label %85

85:                                               ; preds = %74
  %86 = load i32, ptr %10, align 4, !tbaa !9
  %87 = add nsw i32 %86, 1
  store i32 %87, ptr %10, align 4, !tbaa !9
  br label %70, !llvm.loop !15

88:                                               ; preds = %73
  br label %89

89:                                               ; preds = %88
  %90 = load i32, ptr %9, align 4, !tbaa !9
  %91 = add nsw i32 %90, 1
  store i32 %91, ptr %9, align 4, !tbaa !9
  br label %65, !llvm.loop !16

92:                                               ; preds = %68
  call void @llvm.lifetime.start.p0(i64 64, ptr %11) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %12, ptr align 16 %3, i64 64, i1 false), !tbaa.struct !17
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %13, ptr align 16 %4, i64 64, i1 false), !tbaa.struct !17
  call void @_ZL9HMM_SubM48HMM_Mat4S_(ptr dead_on_unwind writable sret(%union.HMM_Mat4) align 16 %11, ptr noundef byval(%union.HMM_Mat4) align 16 %12, ptr noundef byval(%union.HMM_Mat4) align 16 %13)
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %93

93:                                               ; preds = %137, %92
  %94 = load i32, ptr %14, align 4, !tbaa !9
  %95 = icmp slt i32 %94, 4
  br i1 %95, label %97, label %96

96:                                               ; preds = %93
  store i32 14, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  br label %140

97:                                               ; preds = %93
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  store i32 0, ptr %15, align 4, !tbaa !9
  br label %98

98:                                               ; preds = %133, %97
  %99 = load i32, ptr %15, align 4, !tbaa !9
  %100 = icmp slt i32 %99, 4
  br i1 %100, label %102, label %101

101:                                              ; preds = %98
  store i32 17, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  br label %136

102:                                              ; preds = %98
  %103 = load ptr, ptr %2, align 8, !tbaa !5
  %104 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %103, i32 0, i32 0
  %105 = load i32, ptr %104, align 4, !tbaa !18
  %106 = add nsw i32 %105, 1
  store i32 %106, ptr %104, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  %107 = load i32, ptr %14, align 4, !tbaa !9
  %108 = sext i32 %107 to i64
  %109 = getelementptr inbounds [4 x [4 x float]], ptr %11, i64 0, i64 %108
  %110 = load i32, ptr %15, align 4, !tbaa !9
  %111 = sext i32 %110 to i64
  %112 = getelementptr inbounds [4 x float], ptr %109, i64 0, i64 %111
  %113 = load float, ptr %112, align 4, !tbaa !11
  store float %113, ptr %16, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #5
  %114 = load float, ptr %16, align 4, !tbaa !20
  %115 = fsub float %114, -1.600000e+01
  store float %115, ptr %17, align 4, !tbaa !20
  %116 = load float, ptr %17, align 4, !tbaa !20
  %117 = fcmp olt float %116, 0xBE80000000000000
  br i1 %117, label %121, label %118

118:                                              ; preds = %102
  %119 = load float, ptr %17, align 4, !tbaa !20
  %120 = fcmp olt float 0x3E80000000000000, %119
  br i1 %120, label %121, label %132

121:                                              ; preds = %118, %102
  %122 = load ptr, ptr %2, align 8, !tbaa !5
  %123 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %122, i32 0, i32 1
  %124 = load i32, ptr %123, align 4, !tbaa !22
  %125 = add nsw i32 %124, 1
  store i32 %125, ptr %123, align 4, !tbaa !22
  %126 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 253)
  %127 = load float, ptr %16, align 4, !tbaa !20
  %128 = fpext float %127 to double
  %129 = load float, ptr %17, align 4, !tbaa !20
  %130 = fpext float %129 to double
  %131 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef -1.600000e+01, double noundef %128, double noundef %130)
  br label %132

132:                                              ; preds = %121, %118
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  br label %133

133:                                              ; preds = %132
  %134 = load i32, ptr %15, align 4, !tbaa !9
  %135 = add nsw i32 %134, 1
  store i32 %135, ptr %15, align 4, !tbaa !9
  br label %98, !llvm.loop !23

136:                                              ; preds = %101
  br label %137

137:                                              ; preds = %136
  %138 = load i32, ptr %14, align 4, !tbaa !9
  %139 = add nsw i32 %138, 1
  store i32 %139, ptr %14, align 4, !tbaa !9
  br label %93, !llvm.loop !24

140:                                              ; preds = %96
  call void @llvm.lifetime.end.p0(i64 64, ptr %11) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %18) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %19, ptr align 16 %3, i64 64, i1 false), !tbaa.struct !17
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %20, ptr align 16 %4, i64 64, i1 false), !tbaa.struct !17
  call void @_ZL7HMM_Sub8HMM_Mat4S_(ptr dead_on_unwind writable sret(%union.HMM_Mat4) align 16 %18, ptr noundef byval(%union.HMM_Mat4) align 16 %19, ptr noundef byval(%union.HMM_Mat4) align 16 %20)
  call void @llvm.lifetime.start.p0(i64 4, ptr %21) #5
  store i32 0, ptr %21, align 4, !tbaa !9
  br label %141

141:                                              ; preds = %185, %140
  %142 = load i32, ptr %21, align 4, !tbaa !9
  %143 = icmp slt i32 %142, 4
  br i1 %143, label %145, label %144

144:                                              ; preds = %141
  store i32 20, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %21) #5
  br label %188

145:                                              ; preds = %141
  call void @llvm.lifetime.start.p0(i64 4, ptr %22) #5
  store i32 0, ptr %22, align 4, !tbaa !9
  br label %146

146:                                              ; preds = %181, %145
  %147 = load i32, ptr %22, align 4, !tbaa !9
  %148 = icmp slt i32 %147, 4
  br i1 %148, label %150, label %149

149:                                              ; preds = %146
  store i32 23, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %22) #5
  br label %184

150:                                              ; preds = %146
  %151 = load ptr, ptr %2, align 8, !tbaa !5
  %152 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %151, i32 0, i32 0
  %153 = load i32, ptr %152, align 4, !tbaa !18
  %154 = add nsw i32 %153, 1
  store i32 %154, ptr %152, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %23) #5
  %155 = load i32, ptr %21, align 4, !tbaa !9
  %156 = sext i32 %155 to i64
  %157 = getelementptr inbounds [4 x [4 x float]], ptr %18, i64 0, i64 %156
  %158 = load i32, ptr %22, align 4, !tbaa !9
  %159 = sext i32 %158 to i64
  %160 = getelementptr inbounds [4 x float], ptr %157, i64 0, i64 %159
  %161 = load float, ptr %160, align 4, !tbaa !11
  store float %161, ptr %23, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %24) #5
  %162 = load float, ptr %23, align 4, !tbaa !20
  %163 = fsub float %162, -1.600000e+01
  store float %163, ptr %24, align 4, !tbaa !20
  %164 = load float, ptr %24, align 4, !tbaa !20
  %165 = fcmp olt float %164, 0xBE80000000000000
  br i1 %165, label %169, label %166

166:                                              ; preds = %150
  %167 = load float, ptr %24, align 4, !tbaa !20
  %168 = fcmp olt float 0x3E80000000000000, %167
  br i1 %168, label %169, label %180

169:                                              ; preds = %166, %150
  %170 = load ptr, ptr %2, align 8, !tbaa !5
  %171 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %170, i32 0, i32 1
  %172 = load i32, ptr %171, align 4, !tbaa !22
  %173 = add nsw i32 %172, 1
  store i32 %173, ptr %171, align 4, !tbaa !22
  %174 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 264)
  %175 = load float, ptr %23, align 4, !tbaa !20
  %176 = fpext float %175 to double
  %177 = load float, ptr %24, align 4, !tbaa !20
  %178 = fpext float %177 to double
  %179 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef -1.600000e+01, double noundef %176, double noundef %178)
  br label %180

180:                                              ; preds = %169, %166
  call void @llvm.lifetime.end.p0(i64 4, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %23) #5
  br label %181

181:                                              ; preds = %180
  %182 = load i32, ptr %22, align 4, !tbaa !9
  %183 = add nsw i32 %182, 1
  store i32 %183, ptr %22, align 4, !tbaa !9
  br label %146, !llvm.loop !25

184:                                              ; preds = %149
  br label %185

185:                                              ; preds = %184
  %186 = load i32, ptr %21, align 4, !tbaa !9
  %187 = add nsw i32 %186, 1
  store i32 %187, ptr %21, align 4, !tbaa !9
  br label %141, !llvm.loop !26

188:                                              ; preds = %144
  call void @llvm.lifetime.end.p0(i64 64, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr %25) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %26, ptr align 16 %3, i64 64, i1 false), !tbaa.struct !17
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %27, ptr align 16 %4, i64 64, i1 false), !tbaa.struct !17
  call void @_Zmi8HMM_Mat4S_(ptr dead_on_unwind writable sret(%union.HMM_Mat4) align 16 %25, ptr noundef byval(%union.HMM_Mat4) align 16 %26, ptr noundef byval(%union.HMM_Mat4) align 16 %27)
  call void @llvm.lifetime.start.p0(i64 4, ptr %28) #5
  store i32 0, ptr %28, align 4, !tbaa !9
  br label %189

189:                                              ; preds = %233, %188
  %190 = load i32, ptr %28, align 4, !tbaa !9
  %191 = icmp slt i32 %190, 4
  br i1 %191, label %193, label %192

192:                                              ; preds = %189
  store i32 26, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %28) #5
  br label %236

193:                                              ; preds = %189
  call void @llvm.lifetime.start.p0(i64 4, ptr %29) #5
  store i32 0, ptr %29, align 4, !tbaa !9
  br label %194

194:                                              ; preds = %229, %193
  %195 = load i32, ptr %29, align 4, !tbaa !9
  %196 = icmp slt i32 %195, 4
  br i1 %196, label %198, label %197

197:                                              ; preds = %194
  store i32 29, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %29) #5
  br label %232

198:                                              ; preds = %194
  %199 = load ptr, ptr %2, align 8, !tbaa !5
  %200 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %199, i32 0, i32 0
  %201 = load i32, ptr %200, align 4, !tbaa !18
  %202 = add nsw i32 %201, 1
  store i32 %202, ptr %200, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %30) #5
  %203 = load i32, ptr %28, align 4, !tbaa !9
  %204 = sext i32 %203 to i64
  %205 = getelementptr inbounds [4 x [4 x float]], ptr %25, i64 0, i64 %204
  %206 = load i32, ptr %29, align 4, !tbaa !9
  %207 = sext i32 %206 to i64
  %208 = getelementptr inbounds [4 x float], ptr %205, i64 0, i64 %207
  %209 = load float, ptr %208, align 4, !tbaa !11
  store float %209, ptr %30, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %31) #5
  %210 = load float, ptr %30, align 4, !tbaa !20
  %211 = fsub float %210, -1.600000e+01
  store float %211, ptr %31, align 4, !tbaa !20
  %212 = load float, ptr %31, align 4, !tbaa !20
  %213 = fcmp olt float %212, 0xBE80000000000000
  br i1 %213, label %217, label %214

214:                                              ; preds = %198
  %215 = load float, ptr %31, align 4, !tbaa !20
  %216 = fcmp olt float 0x3E80000000000000, %215
  br i1 %216, label %217, label %228

217:                                              ; preds = %214, %198
  %218 = load ptr, ptr %2, align 8, !tbaa !5
  %219 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %218, i32 0, i32 1
  %220 = load i32, ptr %219, align 4, !tbaa !22
  %221 = add nsw i32 %220, 1
  store i32 %221, ptr %219, align 4, !tbaa !22
  %222 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 276)
  %223 = load float, ptr %30, align 4, !tbaa !20
  %224 = fpext float %223 to double
  %225 = load float, ptr %31, align 4, !tbaa !20
  %226 = fpext float %225 to double
  %227 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef -1.600000e+01, double noundef %224, double noundef %226)
  br label %228

228:                                              ; preds = %217, %214
  call void @llvm.lifetime.end.p0(i64 4, ptr %31) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %30) #5
  br label %229

229:                                              ; preds = %228
  %230 = load i32, ptr %29, align 4, !tbaa !9
  %231 = add nsw i32 %230, 1
  store i32 %231, ptr %29, align 4, !tbaa !9
  br label %194, !llvm.loop !27

232:                                              ; preds = %197
  br label %233

233:                                              ; preds = %232
  %234 = load i32, ptr %28, align 4, !tbaa !9
  %235 = add nsw i32 %234, 1
  store i32 %235, ptr %28, align 4, !tbaa !9
  br label %189, !llvm.loop !28

236:                                              ; preds = %192
  call void @llvm.lifetime.end.p0(i64 64, ptr %25) #5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %32, ptr align 16 %4, i64 64, i1 false), !tbaa.struct !17
  %237 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZmIR8HMM_Mat4S_(ptr noundef nonnull align 16 dereferenceable(64) %3, ptr noundef byval(%union.HMM_Mat4) align 16 %32)
  call void @llvm.lifetime.start.p0(i64 4, ptr %33) #5
  store i32 0, ptr %33, align 4, !tbaa !9
  br label %238

238:                                              ; preds = %282, %236
  %239 = load i32, ptr %33, align 4, !tbaa !9
  %240 = icmp slt i32 %239, 4
  br i1 %240, label %242, label %241

241:                                              ; preds = %238
  store i32 32, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %33) #5
  br label %285

242:                                              ; preds = %238
  call void @llvm.lifetime.start.p0(i64 4, ptr %34) #5
  store i32 0, ptr %34, align 4, !tbaa !9
  br label %243

243:                                              ; preds = %278, %242
  %244 = load i32, ptr %34, align 4, !tbaa !9
  %245 = icmp slt i32 %244, 4
  br i1 %245, label %247, label %246

246:                                              ; preds = %243
  store i32 35, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %34) #5
  br label %281

247:                                              ; preds = %243
  %248 = load ptr, ptr %2, align 8, !tbaa !5
  %249 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %248, i32 0, i32 0
  %250 = load i32, ptr %249, align 4, !tbaa !18
  %251 = add nsw i32 %250, 1
  store i32 %251, ptr %249, align 4, !tbaa !18
  call void @llvm.lifetime.start.p0(i64 4, ptr %35) #5
  %252 = load i32, ptr %33, align 4, !tbaa !9
  %253 = sext i32 %252 to i64
  %254 = getelementptr inbounds [4 x [4 x float]], ptr %3, i64 0, i64 %253
  %255 = load i32, ptr %34, align 4, !tbaa !9
  %256 = sext i32 %255 to i64
  %257 = getelementptr inbounds [4 x float], ptr %254, i64 0, i64 %256
  %258 = load float, ptr %257, align 4, !tbaa !11
  store float %258, ptr %35, align 4, !tbaa !20
  call void @llvm.lifetime.start.p0(i64 4, ptr %36) #5
  %259 = load float, ptr %35, align 4, !tbaa !20
  %260 = fsub float %259, -1.600000e+01
  store float %260, ptr %36, align 4, !tbaa !20
  %261 = load float, ptr %36, align 4, !tbaa !20
  %262 = fcmp olt float %261, 0xBE80000000000000
  br i1 %262, label %266, label %263

263:                                              ; preds = %247
  %264 = load float, ptr %36, align 4, !tbaa !20
  %265 = fcmp olt float 0x3E80000000000000, %264
  br i1 %265, label %266, label %277

266:                                              ; preds = %263, %247
  %267 = load ptr, ptr %2, align 8, !tbaa !5
  %268 = getelementptr inbounds %struct.hmt_testresult_struct, ptr %267, i32 0, i32 1
  %269 = load i32, ptr %268, align 4, !tbaa !22
  %270 = add nsw i32 %269, 1
  store i32 %270, ptr %268, align 4, !tbaa !22
  %271 = call i32 (ptr, ...) @printf(ptr noundef @.str.15, i32 noundef 286)
  %272 = load float, ptr %35, align 4, !tbaa !20
  %273 = fpext float %272 to double
  %274 = load float, ptr %36, align 4, !tbaa !20
  %275 = fpext float %274 to double
  %276 = call i32 (ptr, ...) @printf(ptr noundef @.str.18, double noundef -1.600000e+01, double noundef %273, double noundef %275)
  br label %277

277:                                              ; preds = %266, %263
  call void @llvm.lifetime.end.p0(i64 4, ptr %36) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %35) #5
  br label %278

278:                                              ; preds = %277
  %279 = load i32, ptr %34, align 4, !tbaa !9
  %280 = add nsw i32 %279, 1
  store i32 %280, ptr %34, align 4, !tbaa !9
  br label %243, !llvm.loop !29

281:                                              ; preds = %246
  br label %282

282:                                              ; preds = %281
  %283 = load i32, ptr %33, align 4, !tbaa !9
  %284 = add nsw i32 %283, 1
  store i32 %284, ptr %33, align 4, !tbaa !9
  br label %238, !llvm.loop !30

285:                                              ; preds = %241
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %4) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %3) #5
  ret void
}

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZL9HMM_SubM48HMM_Mat4S_(ptr dead_on_unwind noalias writable sret(%union.HMM_Mat4) align 16, ptr noundef byval(%union.HMM_Mat4) align 16, ptr noundef byval(%union.HMM_Mat4) align 16) #3

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZL7HMM_Sub8HMM_Mat4S_(ptr dead_on_unwind noalias writable sret(%union.HMM_Mat4) align 16, ptr noundef byval(%union.HMM_Mat4) align 16, ptr noundef byval(%union.HMM_Mat4) align 16) #3

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_Zmi8HMM_Mat4S_(ptr dead_on_unwind noalias writable sret(%union.HMM_Mat4) align 16, ptr noundef byval(%union.HMM_Mat4) align 16, ptr noundef byval(%union.HMM_Mat4) align 16) #3

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef nonnull align 16 dereferenceable(64) ptr @_ZmIR8HMM_Mat4S_(ptr noundef nonnull align 16 dereferenceable(64), ptr noundef byval(%union.HMM_Mat4) align 16) #3

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { mustprogress 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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!7, !7, i64 0}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
!15 = distinct !{!15, !13}
!16 = distinct !{!16, !13}
!17 = !{i64 0, i64 64, !11}
!18 = !{!19, !10, i64 0}
!19 = !{!"_ZTS21hmt_testresult_struct", !10, i64 0, !10, i64 4}
!20 = !{!21, !21, i64 0}
!21 = !{!"float", !7, i64 0}
!22 = !{!19, !10, i64 4}
!23 = distinct !{!23, !13}
!24 = distinct !{!24, !13}
!25 = distinct !{!25, !13}
!26 = distinct !{!26, !13}
!27 = distinct !{!27, !13}
!28 = distinct !{!28, !13}
!29 = distinct !{!29, !13}
!30 = distinct !{!30, !13}


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

%union.HMM_Mat4 = type { [4 x %union.HMM_Vec4] }
%union.HMM_Vec4 = type { <4 x float> }

@.str.15 = external hidden unnamed_addr constant [36 x i8], align 1
@.str.18 = external hidden unnamed_addr constant [34 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 nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #0

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

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZL6HMM_M4v(ptr dead_on_unwind noalias writable sret(%union.HMM_Mat4) align 16) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
define dso_local void @_Z26_hmt_test_Subtraction_Mat4P21hmt_testresult_struct(ptr nocapture noundef %0) local_unnamed_addr #3 {
.preheader91:
  %1 = alloca %union.HMM_Mat4, align 16
  %2 = alloca %union.HMM_Mat4, align 16
  %3 = alloca %union.HMM_Mat4, align 16
  %4 = alloca %union.HMM_Mat4, align 16
  %5 = alloca %union.HMM_Mat4, align 16
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %1) #5
  call void @_ZL6HMM_M4v(ptr dead_on_unwind nonnull writable sret(%union.HMM_Mat4) align 16 %1)
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %2) #5
  call void @_ZL6HMM_M4v(ptr dead_on_unwind nonnull writable sret(%union.HMM_Mat4) align 16 %2)
  store <4 x float> <float 1.000000e+00, float 2.000000e+00, float 3.000000e+00, float 4.000000e+00>, ptr %1, align 16, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %1, i64 16
  store <4 x float> <float 5.000000e+00, float 6.000000e+00, float 7.000000e+00, float 8.000000e+00>, ptr %6, align 16, !tbaa !5
  %7 = getelementptr inbounds i8, ptr %1, i64 32
  store <4 x float> <float 9.000000e+00, float 1.000000e+01, float 1.100000e+01, float 1.200000e+01>, ptr %7, align 16, !tbaa !5
  %8 = getelementptr inbounds i8, ptr %1, i64 48
  store <4 x float> <float 1.300000e+01, float 1.400000e+01, float 1.500000e+01, float 1.600000e+01>, ptr %8, align 16, !tbaa !5
  store <4 x float> <float 1.700000e+01, float 1.800000e+01, float 1.900000e+01, float 2.000000e+01>, ptr %2, align 16, !tbaa !5
  %9 = getelementptr inbounds i8, ptr %2, i64 16
  store <4 x float> <float 2.100000e+01, float 2.200000e+01, float 2.300000e+01, float 2.400000e+01>, ptr %9, align 16, !tbaa !5
  %10 = getelementptr inbounds i8, ptr %2, i64 32
  store <4 x float> <float 2.500000e+01, float 2.600000e+01, float 2.700000e+01, float 2.800000e+01>, ptr %10, align 16, !tbaa !5
  %11 = getelementptr inbounds i8, ptr %2, i64 48
  store <4 x float> <float 2.900000e+01, float 3.000000e+01, float 3.100000e+01, float 3.200000e+01>, ptr %11, align 16, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %3) #5
  call void @_ZL9HMM_SubM48HMM_Mat4S_(ptr dead_on_unwind nonnull writable sret(%union.HMM_Mat4) align 16 %3, ptr noundef nonnull byval(%union.HMM_Mat4) align 16 %1, ptr noundef nonnull byval(%union.HMM_Mat4) align 16 %2)
  %12 = getelementptr inbounds i8, ptr %0, i64 4
  br label %.preheader88

.preheader88:                                     ; preds = %.preheader91, %69
  %indvars.iv = phi i64 [ 0, %.preheader91 ], [ %indvars.iv.next, %69 ]
  %13 = load i32, ptr %0, align 4, !tbaa !8
  %14 = add nsw i32 %13, 1
  store i32 %14, ptr %0, align 4, !tbaa !8
  %15 = getelementptr inbounds [4 x [4 x float]], ptr %3, i64 0, i64 %indvars.iv, i64 0
  %16 = load float, ptr %15, align 16, !tbaa !5
  %17 = fadd float %16, 1.600000e+01
  %18 = call float @llvm.fabs.f32(float %17)
  %or.cond = fcmp ogt float %18, 0x3E80000000000000
  br i1 %or.cond, label %20, label %27

19:                                               ; preds = %69
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %3) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %4) #5
  call void @_ZL7HMM_Sub8HMM_Mat4S_(ptr dead_on_unwind nonnull writable sret(%union.HMM_Mat4) align 16 %4, ptr noundef nonnull byval(%union.HMM_Mat4) align 16 %1, ptr noundef nonnull byval(%union.HMM_Mat4) align 16 %2)
  br label %.preheader87

20:                                               ; preds = %.preheader88
  %21 = load i32, ptr %12, align 4, !tbaa !11
  %22 = add nsw i32 %21, 1
  store i32 %22, ptr %12, align 4, !tbaa !11
  %23 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 253)
  %24 = fpext float %16 to double
  %25 = fpext float %17 to double
  %26 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef -1.600000e+01, double noundef %24, double noundef %25)
  %.pre = load i32, ptr %0, align 4, !tbaa !8
  br label %27

27:                                               ; preds = %.preheader88, %20
  %28 = phi i32 [ %14, %.preheader88 ], [ %.pre, %20 ]
  %29 = add nsw i32 %28, 1
  store i32 %29, ptr %0, align 4, !tbaa !8
  %30 = getelementptr inbounds [4 x [4 x float]], ptr %3, i64 0, i64 %indvars.iv, i64 1
  %31 = load float, ptr %30, align 4, !tbaa !5
  %32 = fadd float %31, 1.600000e+01
  %33 = call float @llvm.fabs.f32(float %32)
  %or.cond.1 = fcmp ogt float %33, 0x3E80000000000000
  br i1 %or.cond.1, label %34, label %41

34:                                               ; preds = %27
  %35 = load i32, ptr %12, align 4, !tbaa !11
  %36 = add nsw i32 %35, 1
  store i32 %36, ptr %12, align 4, !tbaa !11
  %37 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 253)
  %38 = fpext float %31 to double
  %39 = fpext float %32 to double
  %40 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef -1.600000e+01, double noundef %38, double noundef %39)
  %.pre139 = load i32, ptr %0, align 4, !tbaa !8
  br label %41

41:                                               ; preds = %34, %27
  %42 = phi i32 [ %.pre139, %34 ], [ %29, %27 ]
  %43 = add nsw i32 %42, 1
  store i32 %43, ptr %0, align 4, !tbaa !8
  %44 = getelementptr inbounds [4 x [4 x float]], ptr %3, i64 0, i64 %indvars.iv, i64 2
  %45 = load float, ptr %44, align 8, !tbaa !5
  %46 = fadd float %45, 1.600000e+01
  %47 = call float @llvm.fabs.f32(float %46)
  %or.cond.2 = fcmp ogt float %47, 0x3E80000000000000
  br i1 %or.cond.2, label %48, label %55

48:                                               ; preds = %41
  %49 = load i32, ptr %12, align 4, !tbaa !11
  %50 = add nsw i32 %49, 1
  store i32 %50, ptr %12, align 4, !tbaa !11
  %51 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 253)
  %52 = fpext float %45 to double
  %53 = fpext float %46 to double
  %54 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef -1.600000e+01, double noundef %52, double noundef %53)
  %.pre140 = load i32, ptr %0, align 4, !tbaa !8
  br label %55

55:                                               ; preds = %48, %41
  %56 = phi i32 [ %.pre140, %48 ], [ %43, %41 ]
  %57 = add nsw i32 %56, 1
  store i32 %57, ptr %0, align 4, !tbaa !8
  %58 = getelementptr inbounds [4 x [4 x float]], ptr %3, i64 0, i64 %indvars.iv, i64 3
  %59 = load float, ptr %58, align 4, !tbaa !5
  %60 = fadd float %59, 1.600000e+01
  %61 = call float @llvm.fabs.f32(float %60)
  %or.cond.3 = fcmp ogt float %61, 0x3E80000000000000
  br i1 %or.cond.3, label %62, label %69

62:                                               ; preds = %55
  %63 = load i32, ptr %12, align 4, !tbaa !11
  %64 = add nsw i32 %63, 1
  store i32 %64, ptr %12, align 4, !tbaa !11
  %65 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 253)
  %66 = fpext float %59 to double
  %67 = fpext float %60 to double
  %68 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef -1.600000e+01, double noundef %66, double noundef %67)
  br label %69

69:                                               ; preds = %62, %55
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 4
  br i1 %exitcond.not, label %19, label %.preheader88, !llvm.loop !12

.preheader87:                                     ; preds = %19, %126
  %indvars.iv119 = phi i64 [ 0, %19 ], [ %indvars.iv.next120, %126 ]
  %70 = load i32, ptr %0, align 4, !tbaa !8
  %71 = add nsw i32 %70, 1
  store i32 %71, ptr %0, align 4, !tbaa !8
  %72 = getelementptr inbounds [4 x [4 x float]], ptr %4, i64 0, i64 %indvars.iv119, i64 0
  %73 = load float, ptr %72, align 16, !tbaa !5
  %74 = fadd float %73, 1.600000e+01
  %75 = call float @llvm.fabs.f32(float %74)
  %or.cond3 = fcmp ogt float %75, 0x3E80000000000000
  br i1 %or.cond3, label %77, label %84

76:                                               ; preds = %126
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %4) #5
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %5) #5
  call void @_Zmi8HMM_Mat4S_(ptr dead_on_unwind nonnull writable sret(%union.HMM_Mat4) align 16 %5, ptr noundef nonnull byval(%union.HMM_Mat4) align 16 %1, ptr noundef nonnull byval(%union.HMM_Mat4) align 16 %2)
  br label %.preheader86

77:                                               ; preds = %.preheader87
  %78 = load i32, ptr %12, align 4, !tbaa !11
  %79 = add nsw i32 %78, 1
  store i32 %79, ptr %12, align 4, !tbaa !11
  %80 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 264)
  %81 = fpext float %73 to double
  %82 = fpext float %74 to double
  %83 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef -1.600000e+01, double noundef %81, double noundef %82)
  %.pre141 = load i32, ptr %0, align 4, !tbaa !8
  br label %84

84:                                               ; preds = %.preheader87, %77
  %85 = phi i32 [ %71, %.preheader87 ], [ %.pre141, %77 ]
  %86 = add nsw i32 %85, 1
  store i32 %86, ptr %0, align 4, !tbaa !8
  %87 = getelementptr inbounds [4 x [4 x float]], ptr %4, i64 0, i64 %indvars.iv119, i64 1
  %88 = load float, ptr %87, align 4, !tbaa !5
  %89 = fadd float %88, 1.600000e+01
  %90 = call float @llvm.fabs.f32(float %89)
  %or.cond3.1 = fcmp ogt float %90, 0x3E80000000000000
  br i1 %or.cond3.1, label %91, label %98

91:                                               ; preds = %84
  %92 = load i32, ptr %12, align 4, !tbaa !11
  %93 = add nsw i32 %92, 1
  store i32 %93, ptr %12, align 4, !tbaa !11
  %94 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 264)
  %95 = fpext float %88 to double
  %96 = fpext float %89 to double
  %97 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef -1.600000e+01, double noundef %95, double noundef %96)
  %.pre142 = load i32, ptr %0, align 4, !tbaa !8
  br label %98

98:                                               ; preds = %91, %84
  %99 = phi i32 [ %.pre142, %91 ], [ %86, %84 ]
  %100 = add nsw i32 %99, 1
  store i32 %100, ptr %0, align 4, !tbaa !8
  %101 = getelementptr inbounds [4 x [4 x float]], ptr %4, i64 0, i64 %indvars.iv119, i64 2
  %102 = load float, ptr %101, align 8, !tbaa !5
  %103 = fadd float %102, 1.600000e+01
  %104 = call float @llvm.fabs.f32(float %103)
  %or.cond3.2 = fcmp ogt float %104, 0x3E80000000000000
  br i1 %or.cond3.2, label %105, label %112

105:                                              ; preds = %98
  %106 = load i32, ptr %12, align 4, !tbaa !11
  %107 = add nsw i32 %106, 1
  store i32 %107, ptr %12, align 4, !tbaa !11
  %108 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 264)
  %109 = fpext float %102 to double
  %110 = fpext float %103 to double
  %111 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef -1.600000e+01, double noundef %109, double noundef %110)
  %.pre143 = load i32, ptr %0, align 4, !tbaa !8
  br label %112

112:                                              ; preds = %105, %98
  %113 = phi i32 [ %.pre143, %105 ], [ %100, %98 ]
  %114 = add nsw i32 %113, 1
  store i32 %114, ptr %0, align 4, !tbaa !8
  %115 = getelementptr inbounds [4 x [4 x float]], ptr %4, i64 0, i64 %indvars.iv119, i64 3
  %116 = load float, ptr %115, align 4, !tbaa !5
  %117 = fadd float %116, 1.600000e+01
  %118 = call float @llvm.fabs.f32(float %117)
  %or.cond3.3 = fcmp ogt float %118, 0x3E80000000000000
  br i1 %or.cond3.3, label %119, label %126

119:                                              ; preds = %112
  %120 = load i32, ptr %12, align 4, !tbaa !11
  %121 = add nsw i32 %120, 1
  store i32 %121, ptr %12, align 4, !tbaa !11
  %122 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 264)
  %123 = fpext float %116 to double
  %124 = fpext float %117 to double
  %125 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef -1.600000e+01, double noundef %123, double noundef %124)
  br label %126

126:                                              ; preds = %119, %112
  %indvars.iv.next120 = add nuw nsw i64 %indvars.iv119, 1
  %exitcond122.not = icmp eq i64 %indvars.iv.next120, 4
  br i1 %exitcond122.not, label %76, label %.preheader87, !llvm.loop !14

.preheader86:                                     ; preds = %76, %184
  %indvars.iv127 = phi i64 [ 0, %76 ], [ %indvars.iv.next128, %184 ]
  %127 = load i32, ptr %0, align 4, !tbaa !8
  %128 = add nsw i32 %127, 1
  store i32 %128, ptr %0, align 4, !tbaa !8
  %129 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 %indvars.iv127, i64 0
  %130 = load float, ptr %129, align 16, !tbaa !5
  %131 = fadd float %130, 1.600000e+01
  %132 = call float @llvm.fabs.f32(float %131)
  %or.cond5 = fcmp ogt float %132, 0x3E80000000000000
  br i1 %or.cond5, label %135, label %142

133:                                              ; preds = %184
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %5) #5
  %134 = call noundef nonnull align 16 dereferenceable(64) ptr @_ZmIR8HMM_Mat4S_(ptr noundef nonnull align 16 dereferenceable(64) %1, ptr noundef nonnull byval(%union.HMM_Mat4) align 16 %2)
  br label %.preheader

135:                                              ; preds = %.preheader86
  %136 = load i32, ptr %12, align 4, !tbaa !11
  %137 = add nsw i32 %136, 1
  store i32 %137, ptr %12, align 4, !tbaa !11
  %138 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 276)
  %139 = fpext float %130 to double
  %140 = fpext float %131 to double
  %141 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef -1.600000e+01, double noundef %139, double noundef %140)
  %.pre144 = load i32, ptr %0, align 4, !tbaa !8
  br label %142

142:                                              ; preds = %.preheader86, %135
  %143 = phi i32 [ %128, %.preheader86 ], [ %.pre144, %135 ]
  %144 = add nsw i32 %143, 1
  store i32 %144, ptr %0, align 4, !tbaa !8
  %145 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 %indvars.iv127, i64 1
  %146 = load float, ptr %145, align 4, !tbaa !5
  %147 = fadd float %146, 1.600000e+01
  %148 = call float @llvm.fabs.f32(float %147)
  %or.cond5.1 = fcmp ogt float %148, 0x3E80000000000000
  br i1 %or.cond5.1, label %149, label %156

149:                                              ; preds = %142
  %150 = load i32, ptr %12, align 4, !tbaa !11
  %151 = add nsw i32 %150, 1
  store i32 %151, ptr %12, align 4, !tbaa !11
  %152 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 276)
  %153 = fpext float %146 to double
  %154 = fpext float %147 to double
  %155 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef -1.600000e+01, double noundef %153, double noundef %154)
  %.pre145 = load i32, ptr %0, align 4, !tbaa !8
  br label %156

156:                                              ; preds = %149, %142
  %157 = phi i32 [ %.pre145, %149 ], [ %144, %142 ]
  %158 = add nsw i32 %157, 1
  store i32 %158, ptr %0, align 4, !tbaa !8
  %159 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 %indvars.iv127, i64 2
  %160 = load float, ptr %159, align 8, !tbaa !5
  %161 = fadd float %160, 1.600000e+01
  %162 = call float @llvm.fabs.f32(float %161)
  %or.cond5.2 = fcmp ogt float %162, 0x3E80000000000000
  br i1 %or.cond5.2, label %163, label %170

163:                                              ; preds = %156
  %164 = load i32, ptr %12, align 4, !tbaa !11
  %165 = add nsw i32 %164, 1
  store i32 %165, ptr %12, align 4, !tbaa !11
  %166 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 276)
  %167 = fpext float %160 to double
  %168 = fpext float %161 to double
  %169 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef -1.600000e+01, double noundef %167, double noundef %168)
  %.pre146 = load i32, ptr %0, align 4, !tbaa !8
  br label %170

170:                                              ; preds = %163, %156
  %171 = phi i32 [ %.pre146, %163 ], [ %158, %156 ]
  %172 = add nsw i32 %171, 1
  store i32 %172, ptr %0, align 4, !tbaa !8
  %173 = getelementptr inbounds [4 x [4 x float]], ptr %5, i64 0, i64 %indvars.iv127, i64 3
  %174 = load float, ptr %173, align 4, !tbaa !5
  %175 = fadd float %174, 1.600000e+01
  %176 = call float @llvm.fabs.f32(float %175)
  %or.cond5.3 = fcmp ogt float %176, 0x3E80000000000000
  br i1 %or.cond5.3, label %177, label %184

177:                                              ; preds = %170
  %178 = load i32, ptr %12, align 4, !tbaa !11
  %179 = add nsw i32 %178, 1
  store i32 %179, ptr %12, align 4, !tbaa !11
  %180 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 276)
  %181 = fpext float %174 to double
  %182 = fpext float %175 to double
  %183 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef -1.600000e+01, double noundef %181, double noundef %182)
  br label %184

184:                                              ; preds = %177, %170
  %indvars.iv.next128 = add nuw nsw i64 %indvars.iv127, 1
  %exitcond130.not = icmp eq i64 %indvars.iv.next128, 4
  br i1 %exitcond130.not, label %133, label %.preheader86, !llvm.loop !15

.preheader:                                       ; preds = %133, %241
  %indvars.iv135 = phi i64 [ 0, %133 ], [ %indvars.iv.next136, %241 ]
  %185 = load i32, ptr %0, align 4, !tbaa !8
  %186 = add nsw i32 %185, 1
  store i32 %186, ptr %0, align 4, !tbaa !8
  %187 = getelementptr inbounds [4 x [4 x float]], ptr %1, i64 0, i64 %indvars.iv135, i64 0
  %188 = load float, ptr %187, align 16, !tbaa !5
  %189 = fadd float %188, 1.600000e+01
  %190 = call float @llvm.fabs.f32(float %189)
  %or.cond7 = fcmp ogt float %190, 0x3E80000000000000
  br i1 %or.cond7, label %192, label %199

191:                                              ; preds = %241
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %2) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %1) #5
  ret void

192:                                              ; preds = %.preheader
  %193 = load i32, ptr %12, align 4, !tbaa !11
  %194 = add nsw i32 %193, 1
  store i32 %194, ptr %12, align 4, !tbaa !11
  %195 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 286)
  %196 = fpext float %188 to double
  %197 = fpext float %189 to double
  %198 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef -1.600000e+01, double noundef %196, double noundef %197)
  %.pre147 = load i32, ptr %0, align 4, !tbaa !8
  br label %199

199:                                              ; preds = %.preheader, %192
  %200 = phi i32 [ %186, %.preheader ], [ %.pre147, %192 ]
  %201 = add nsw i32 %200, 1
  store i32 %201, ptr %0, align 4, !tbaa !8
  %202 = getelementptr inbounds [4 x [4 x float]], ptr %1, i64 0, i64 %indvars.iv135, i64 1
  %203 = load float, ptr %202, align 4, !tbaa !5
  %204 = fadd float %203, 1.600000e+01
  %205 = call float @llvm.fabs.f32(float %204)
  %or.cond7.1 = fcmp ogt float %205, 0x3E80000000000000
  br i1 %or.cond7.1, label %206, label %213

206:                                              ; preds = %199
  %207 = load i32, ptr %12, align 4, !tbaa !11
  %208 = add nsw i32 %207, 1
  store i32 %208, ptr %12, align 4, !tbaa !11
  %209 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 286)
  %210 = fpext float %203 to double
  %211 = fpext float %204 to double
  %212 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef -1.600000e+01, double noundef %210, double noundef %211)
  %.pre148 = load i32, ptr %0, align 4, !tbaa !8
  br label %213

213:                                              ; preds = %206, %199
  %214 = phi i32 [ %.pre148, %206 ], [ %201, %199 ]
  %215 = add nsw i32 %214, 1
  store i32 %215, ptr %0, align 4, !tbaa !8
  %216 = getelementptr inbounds [4 x [4 x float]], ptr %1, i64 0, i64 %indvars.iv135, i64 2
  %217 = load float, ptr %216, align 8, !tbaa !5
  %218 = fadd float %217, 1.600000e+01
  %219 = call float @llvm.fabs.f32(float %218)
  %or.cond7.2 = fcmp ogt float %219, 0x3E80000000000000
  br i1 %or.cond7.2, label %220, label %227

220:                                              ; preds = %213
  %221 = load i32, ptr %12, align 4, !tbaa !11
  %222 = add nsw i32 %221, 1
  store i32 %222, ptr %12, align 4, !tbaa !11
  %223 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 286)
  %224 = fpext float %217 to double
  %225 = fpext float %218 to double
  %226 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef -1.600000e+01, double noundef %224, double noundef %225)
  %.pre149 = load i32, ptr %0, align 4, !tbaa !8
  br label %227

227:                                              ; preds = %220, %213
  %228 = phi i32 [ %.pre149, %220 ], [ %215, %213 ]
  %229 = add nsw i32 %228, 1
  store i32 %229, ptr %0, align 4, !tbaa !8
  %230 = getelementptr inbounds [4 x [4 x float]], ptr %1, i64 0, i64 %indvars.iv135, i64 3
  %231 = load float, ptr %230, align 4, !tbaa !5
  %232 = fadd float %231, 1.600000e+01
  %233 = call float @llvm.fabs.f32(float %232)
  %or.cond7.3 = fcmp ogt float %233, 0x3E80000000000000
  br i1 %or.cond7.3, label %234, label %241

234:                                              ; preds = %227
  %235 = load i32, ptr %12, align 4, !tbaa !11
  %236 = add nsw i32 %235, 1
  store i32 %236, ptr %12, align 4, !tbaa !11
  %237 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.15, i32 noundef 286)
  %238 = fpext float %231 to double
  %239 = fpext float %232 to double
  %240 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.18, double noundef -1.600000e+01, double noundef %238, double noundef %239)
  br label %241

241:                                              ; preds = %234, %227
  %indvars.iv.next136 = add nuw nsw i64 %indvars.iv135, 1
  %exitcond138.not = icmp eq i64 %indvars.iv.next136, 4
  br i1 %exitcond138.not, label %191, label %.preheader, !llvm.loop !16
}

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZL9HMM_SubM48HMM_Mat4S_(ptr dead_on_unwind noalias writable sret(%union.HMM_Mat4) align 16, ptr noundef byval(%union.HMM_Mat4) align 16, ptr noundef byval(%union.HMM_Mat4) align 16) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_ZL7HMM_Sub8HMM_Mat4S_(ptr dead_on_unwind noalias writable sret(%union.HMM_Mat4) align 16, ptr noundef byval(%union.HMM_Mat4) align 16, ptr noundef byval(%union.HMM_Mat4) align 16) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden void @_Zmi8HMM_Mat4S_(ptr dead_on_unwind noalias writable sret(%union.HMM_Mat4) align 16, ptr noundef byval(%union.HMM_Mat4) align 16, ptr noundef byval(%union.HMM_Mat4) align 16) local_unnamed_addr #2

; Function Attrs: inlinehint mustprogress uwtable
declare hidden noundef nonnull align 16 dereferenceable(64) ptr @_ZmIR8HMM_Mat4S_(ptr noundef nonnull align 16 dereferenceable(64), ptr noundef byval(%union.HMM_Mat4) align 16) local_unnamed_addr #2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fabs.f32(float) #4

attributes #0 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { inlinehint mustprogress 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 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C++ TBAA"}
!8 = !{!9, !10, i64 0}
!9 = !{!"_ZTS21hmt_testresult_struct", !10, i64 0, !10, i64 4}
!10 = !{!"int", !6, i64 0}
!11 = !{!9, !10, i64 4}
!12 = distinct !{!12, !13}
!13 = !{!"llvm.loop.mustprogress"}
!14 = distinct !{!14, !13}
!15 = distinct !{!15, !13}
!16 = distinct !{!16, !13}


; Effective O3 passes: DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,MemCpyOptPass,PostOrderFunctionAttrsPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass