; LLVM IR from jgaeddert/liquid-dsp :: src/matrix/tests (smatrixf_autotest)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@__const.autotest_smatrixf_vmul.x = external hidden unnamed_addr constant [5 x float], align 16
@__const.autotest_smatrixf_vmul.y_test = external hidden unnamed_addr constant [4 x float], align 16
@.str = external hidden unnamed_addr constant [91 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [24 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @autotest_smatrixf_vmul() #0 {
  %1 = alloca float, align 4
  %2 = alloca ptr, align 8
  %3 = alloca [5 x float], align 16
  %4 = alloca [4 x float], align 16
  %5 = alloca [4 x float], align 16
  call void @llvm.lifetime.start.p0(i64 4, ptr %1) #6
  store float 0x3EB0C6F7A0000000, ptr %1, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #6
  %6 = call ptr @smatrixf_create(i32 noundef 4, i32 noundef 5)
  store ptr %6, ptr %2, align 8, !tbaa !9
  %7 = load ptr, ptr %2, align 8, !tbaa !9
  %8 = call i32 @smatrixf_set(ptr noundef %7, i32 noundef 0, i32 noundef 4, float noundef 4.000000e+00)
  %9 = load ptr, ptr %2, align 8, !tbaa !9
  %10 = call i32 @smatrixf_set(ptr noundef %9, i32 noundef 2, i32 noundef 3, float noundef 3.000000e+00)
  %11 = load ptr, ptr %2, align 8, !tbaa !9
  %12 = call i32 @smatrixf_set(ptr noundef %11, i32 noundef 3, i32 noundef 0, float noundef 2.000000e+00)
  %13 = load ptr, ptr %2, align 8, !tbaa !9
  %14 = call i32 @smatrixf_set(ptr noundef %13, i32 noundef 3, i32 noundef 4, float noundef 0.000000e+00)
  %15 = load ptr, ptr %2, align 8, !tbaa !9
  %16 = call i32 @smatrixf_set(ptr noundef %15, i32 noundef 3, i32 noundef 4, float noundef 1.000000e+00)
  call void @llvm.lifetime.start.p0(i64 20, ptr %3) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %3, ptr align 16 @__const.autotest_smatrixf_vmul.x, i64 20, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr %4) #6
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %4, ptr align 16 @__const.autotest_smatrixf_vmul.y_test, i64 16, i1 false)
  call void @llvm.lifetime.start.p0(i64 16, ptr %5) #6
  %17 = load ptr, ptr %2, align 8, !tbaa !9
  %18 = getelementptr inbounds [5 x float], ptr %3, i64 0, i64 0
  %19 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 0
  %20 = call i32 @smatrixf_vmul(ptr noundef %17, ptr noundef %18, ptr noundef %19)
  %21 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 0
  %22 = load float, ptr %21, align 16, !tbaa !5
  %23 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 0
  %24 = load float, ptr %23, align 16, !tbaa !5
  %25 = fsub float %22, %24
  %26 = fpext float %25 to double
  %27 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 0
  %28 = load float, ptr %27, align 16, !tbaa !5
  %29 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 0
  %30 = load float, ptr %29, align 16, !tbaa !5
  %31 = fsub float %28, %30
  %32 = fpext float %31 to double
  %33 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 0
  %34 = load float, ptr %33, align 16, !tbaa !5
  %35 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 0
  %36 = load float, ptr %35, align 16, !tbaa !5
  %37 = fsub float %34, %36
  %38 = fpext float %37 to double
  %39 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 0
  %40 = load float, ptr %39, align 16, !tbaa !5
  %41 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 0
  %42 = load float, ptr %41, align 16, !tbaa !5
  %43 = fsub float %40, %42
  %44 = fpext float %43 to double
  %45 = call double @llvm.fmuladd.f64(double %26, double %32, double 0.000000e+00)
  %46 = call double @sqrt(double noundef %45) #6
  %47 = load float, ptr %1, align 4, !tbaa !5
  %48 = fpext float %47 to double
  %49 = fcmp ogt double %46, %48
  br i1 %49, label %66, label %50

50:                                               ; preds = %0
  %51 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 0
  %52 = load float, ptr %51, align 16, !tbaa !5
  %53 = call i1 @llvm.is.fpclass.f32(float %52, i32 3)
  br i1 %53, label %66, label %54

54:                                               ; preds = %50
  %55 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 0
  %56 = load float, ptr %55, align 16, !tbaa !5
  %57 = call i1 @llvm.is.fpclass.f32(float 0.000000e+00, i32 3)
  br i1 %57, label %66, label %58

58:                                               ; preds = %54
  %59 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 0
  %60 = load float, ptr %59, align 16, !tbaa !5
  %61 = call i1 @llvm.is.fpclass.f32(float %60, i32 3)
  br i1 %61, label %66, label %62

62:                                               ; preds = %58
  %63 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 0
  %64 = load float, ptr %63, align 16, !tbaa !5
  %65 = call i1 @llvm.is.fpclass.f32(float 0.000000e+00, i32 3)
  br i1 %65, label %66, label %95

66:                                               ; preds = %62, %58, %54, %50, %0
  %67 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 0
  %68 = load float, ptr %67, align 16, !tbaa !5
  %69 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 0
  %70 = load float, ptr %69, align 16, !tbaa !5
  %71 = fsub float %68, %70
  %72 = fpext float %71 to double
  %73 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 0
  %74 = load float, ptr %73, align 16, !tbaa !5
  %75 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 0
  %76 = load float, ptr %75, align 16, !tbaa !5
  %77 = fsub float %74, %76
  %78 = fpext float %77 to double
  %79 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 0
  %80 = load float, ptr %79, align 16, !tbaa !5
  %81 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 0
  %82 = load float, ptr %81, align 16, !tbaa !5
  %83 = fsub float %80, %82
  %84 = fpext float %83 to double
  %85 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 0
  %86 = load float, ptr %85, align 16, !tbaa !5
  %87 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 0
  %88 = load float, ptr %87, align 16, !tbaa !5
  %89 = fsub float %86, %88
  %90 = fpext float %89 to double
  %91 = call double @llvm.fmuladd.f64(double %72, double %78, double 0.000000e+00)
  %92 = call double @sqrt(double noundef %91) #6
  %93 = load float, ptr %1, align 4, !tbaa !5
  %94 = fpext float %93 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 61, ptr noundef @.str.1, double noundef %92, ptr noundef @.str.2, ptr noundef @.str.3, double noundef %94)
  br label %96

95:                                               ; preds = %62
  call void (...) @liquid_autotest_passed()
  br label %96

96:                                               ; preds = %95, %66
  %97 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 1
  %98 = load float, ptr %97, align 4, !tbaa !5
  %99 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 1
  %100 = load float, ptr %99, align 4, !tbaa !5
  %101 = fsub float %98, %100
  %102 = fpext float %101 to double
  %103 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 1
  %104 = load float, ptr %103, align 4, !tbaa !5
  %105 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 1
  %106 = load float, ptr %105, align 4, !tbaa !5
  %107 = fsub float %104, %106
  %108 = fpext float %107 to double
  %109 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 1
  %110 = load float, ptr %109, align 4, !tbaa !5
  %111 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 1
  %112 = load float, ptr %111, align 4, !tbaa !5
  %113 = fsub float %110, %112
  %114 = fpext float %113 to double
  %115 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 1
  %116 = load float, ptr %115, align 4, !tbaa !5
  %117 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 1
  %118 = load float, ptr %117, align 4, !tbaa !5
  %119 = fsub float %116, %118
  %120 = fpext float %119 to double
  %121 = call double @llvm.fmuladd.f64(double %102, double %108, double 0.000000e+00)
  %122 = call double @sqrt(double noundef %121) #6
  %123 = load float, ptr %1, align 4, !tbaa !5
  %124 = fpext float %123 to double
  %125 = fcmp ogt double %122, %124
  br i1 %125, label %142, label %126

126:                                              ; preds = %96
  %127 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 1
  %128 = load float, ptr %127, align 4, !tbaa !5
  %129 = call i1 @llvm.is.fpclass.f32(float %128, i32 3)
  br i1 %129, label %142, label %130

130:                                              ; preds = %126
  %131 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 1
  %132 = load float, ptr %131, align 4, !tbaa !5
  %133 = call i1 @llvm.is.fpclass.f32(float 0.000000e+00, i32 3)
  br i1 %133, label %142, label %134

134:                                              ; preds = %130
  %135 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 1
  %136 = load float, ptr %135, align 4, !tbaa !5
  %137 = call i1 @llvm.is.fpclass.f32(float %136, i32 3)
  br i1 %137, label %142, label %138

138:                                              ; preds = %134
  %139 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 1
  %140 = load float, ptr %139, align 4, !tbaa !5
  %141 = call i1 @llvm.is.fpclass.f32(float 0.000000e+00, i32 3)
  br i1 %141, label %142, label %171

142:                                              ; preds = %138, %134, %130, %126, %96
  %143 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 1
  %144 = load float, ptr %143, align 4, !tbaa !5
  %145 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 1
  %146 = load float, ptr %145, align 4, !tbaa !5
  %147 = fsub float %144, %146
  %148 = fpext float %147 to double
  %149 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 1
  %150 = load float, ptr %149, align 4, !tbaa !5
  %151 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 1
  %152 = load float, ptr %151, align 4, !tbaa !5
  %153 = fsub float %150, %152
  %154 = fpext float %153 to double
  %155 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 1
  %156 = load float, ptr %155, align 4, !tbaa !5
  %157 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 1
  %158 = load float, ptr %157, align 4, !tbaa !5
  %159 = fsub float %156, %158
  %160 = fpext float %159 to double
  %161 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 1
  %162 = load float, ptr %161, align 4, !tbaa !5
  %163 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 1
  %164 = load float, ptr %163, align 4, !tbaa !5
  %165 = fsub float %162, %164
  %166 = fpext float %165 to double
  %167 = call double @llvm.fmuladd.f64(double %148, double %154, double 0.000000e+00)
  %168 = call double @sqrt(double noundef %167) #6
  %169 = load float, ptr %1, align 4, !tbaa !5
  %170 = fpext float %169 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 62, ptr noundef @.str.4, double noundef %168, ptr noundef @.str.2, ptr noundef @.str.3, double noundef %170)
  br label %172

171:                                              ; preds = %138
  call void (...) @liquid_autotest_passed()
  br label %172

172:                                              ; preds = %171, %142
  %173 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 2
  %174 = load float, ptr %173, align 8, !tbaa !5
  %175 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 2
  %176 = load float, ptr %175, align 8, !tbaa !5
  %177 = fsub float %174, %176
  %178 = fpext float %177 to double
  %179 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 2
  %180 = load float, ptr %179, align 8, !tbaa !5
  %181 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 2
  %182 = load float, ptr %181, align 8, !tbaa !5
  %183 = fsub float %180, %182
  %184 = fpext float %183 to double
  %185 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 2
  %186 = load float, ptr %185, align 8, !tbaa !5
  %187 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 2
  %188 = load float, ptr %187, align 8, !tbaa !5
  %189 = fsub float %186, %188
  %190 = fpext float %189 to double
  %191 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 2
  %192 = load float, ptr %191, align 8, !tbaa !5
  %193 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 2
  %194 = load float, ptr %193, align 8, !tbaa !5
  %195 = fsub float %192, %194
  %196 = fpext float %195 to double
  %197 = call double @llvm.fmuladd.f64(double %178, double %184, double 0.000000e+00)
  %198 = call double @sqrt(double noundef %197) #6
  %199 = load float, ptr %1, align 4, !tbaa !5
  %200 = fpext float %199 to double
  %201 = fcmp ogt double %198, %200
  br i1 %201, label %218, label %202

202:                                              ; preds = %172
  %203 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 2
  %204 = load float, ptr %203, align 8, !tbaa !5
  %205 = call i1 @llvm.is.fpclass.f32(float %204, i32 3)
  br i1 %205, label %218, label %206

206:                                              ; preds = %202
  %207 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 2
  %208 = load float, ptr %207, align 8, !tbaa !5
  %209 = call i1 @llvm.is.fpclass.f32(float 0.000000e+00, i32 3)
  br i1 %209, label %218, label %210

210:                                              ; preds = %206
  %211 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 2
  %212 = load float, ptr %211, align 8, !tbaa !5
  %213 = call i1 @llvm.is.fpclass.f32(float %212, i32 3)
  br i1 %213, label %218, label %214

214:                                              ; preds = %210
  %215 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 2
  %216 = load float, ptr %215, align 8, !tbaa !5
  %217 = call i1 @llvm.is.fpclass.f32(float 0.000000e+00, i32 3)
  br i1 %217, label %218, label %247

218:                                              ; preds = %214, %210, %206, %202, %172
  %219 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 2
  %220 = load float, ptr %219, align 8, !tbaa !5
  %221 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 2
  %222 = load float, ptr %221, align 8, !tbaa !5
  %223 = fsub float %220, %222
  %224 = fpext float %223 to double
  %225 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 2
  %226 = load float, ptr %225, align 8, !tbaa !5
  %227 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 2
  %228 = load float, ptr %227, align 8, !tbaa !5
  %229 = fsub float %226, %228
  %230 = fpext float %229 to double
  %231 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 2
  %232 = load float, ptr %231, align 8, !tbaa !5
  %233 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 2
  %234 = load float, ptr %233, align 8, !tbaa !5
  %235 = fsub float %232, %234
  %236 = fpext float %235 to double
  %237 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 2
  %238 = load float, ptr %237, align 8, !tbaa !5
  %239 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 2
  %240 = load float, ptr %239, align 8, !tbaa !5
  %241 = fsub float %238, %240
  %242 = fpext float %241 to double
  %243 = call double @llvm.fmuladd.f64(double %224, double %230, double 0.000000e+00)
  %244 = call double @sqrt(double noundef %243) #6
  %245 = load float, ptr %1, align 4, !tbaa !5
  %246 = fpext float %245 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 63, ptr noundef @.str.5, double noundef %244, ptr noundef @.str.2, ptr noundef @.str.3, double noundef %246)
  br label %248

247:                                              ; preds = %214
  call void (...) @liquid_autotest_passed()
  br label %248

248:                                              ; preds = %247, %218
  %249 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 3
  %250 = load float, ptr %249, align 4, !tbaa !5
  %251 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 3
  %252 = load float, ptr %251, align 4, !tbaa !5
  %253 = fsub float %250, %252
  %254 = fpext float %253 to double
  %255 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 3
  %256 = load float, ptr %255, align 4, !tbaa !5
  %257 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 3
  %258 = load float, ptr %257, align 4, !tbaa !5
  %259 = fsub float %256, %258
  %260 = fpext float %259 to double
  %261 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 3
  %262 = load float, ptr %261, align 4, !tbaa !5
  %263 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 3
  %264 = load float, ptr %263, align 4, !tbaa !5
  %265 = fsub float %262, %264
  %266 = fpext float %265 to double
  %267 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 3
  %268 = load float, ptr %267, align 4, !tbaa !5
  %269 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 3
  %270 = load float, ptr %269, align 4, !tbaa !5
  %271 = fsub float %268, %270
  %272 = fpext float %271 to double
  %273 = call double @llvm.fmuladd.f64(double %254, double %260, double 0.000000e+00)
  %274 = call double @sqrt(double noundef %273) #6
  %275 = load float, ptr %1, align 4, !tbaa !5
  %276 = fpext float %275 to double
  %277 = fcmp ogt double %274, %276
  br i1 %277, label %294, label %278

278:                                              ; preds = %248
  %279 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 3
  %280 = load float, ptr %279, align 4, !tbaa !5
  %281 = call i1 @llvm.is.fpclass.f32(float %280, i32 3)
  br i1 %281, label %294, label %282

282:                                              ; preds = %278
  %283 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 3
  %284 = load float, ptr %283, align 4, !tbaa !5
  %285 = call i1 @llvm.is.fpclass.f32(float 0.000000e+00, i32 3)
  br i1 %285, label %294, label %286

286:                                              ; preds = %282
  %287 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 3
  %288 = load float, ptr %287, align 4, !tbaa !5
  %289 = call i1 @llvm.is.fpclass.f32(float %288, i32 3)
  br i1 %289, label %294, label %290

290:                                              ; preds = %286
  %291 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 3
  %292 = load float, ptr %291, align 4, !tbaa !5
  %293 = call i1 @llvm.is.fpclass.f32(float 0.000000e+00, i32 3)
  br i1 %293, label %294, label %323

294:                                              ; preds = %290, %286, %282, %278, %248
  %295 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 3
  %296 = load float, ptr %295, align 4, !tbaa !5
  %297 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 3
  %298 = load float, ptr %297, align 4, !tbaa !5
  %299 = fsub float %296, %298
  %300 = fpext float %299 to double
  %301 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 3
  %302 = load float, ptr %301, align 4, !tbaa !5
  %303 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 3
  %304 = load float, ptr %303, align 4, !tbaa !5
  %305 = fsub float %302, %304
  %306 = fpext float %305 to double
  %307 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 3
  %308 = load float, ptr %307, align 4, !tbaa !5
  %309 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 3
  %310 = load float, ptr %309, align 4, !tbaa !5
  %311 = fsub float %308, %310
  %312 = fpext float %311 to double
  %313 = getelementptr inbounds [4 x float], ptr %5, i64 0, i64 3
  %314 = load float, ptr %313, align 4, !tbaa !5
  %315 = getelementptr inbounds [4 x float], ptr %4, i64 0, i64 3
  %316 = load float, ptr %315, align 4, !tbaa !5
  %317 = fsub float %314, %316
  %318 = fpext float %317 to double
  %319 = call double @llvm.fmuladd.f64(double %300, double %306, double 0.000000e+00)
  %320 = call double @sqrt(double noundef %319) #6
  %321 = load float, ptr %1, align 4, !tbaa !5
  %322 = fpext float %321 to double
  call void @liquid_autotest_failed_expr(ptr noundef @.str, i32 noundef 64, ptr noundef @.str.6, double noundef %320, ptr noundef @.str.2, ptr noundef @.str.3, double noundef %322)
  br label %324

323:                                              ; preds = %290
  call void (...) @liquid_autotest_passed()
  br label %324

324:                                              ; preds = %323, %294
  %325 = load ptr, ptr %2, align 8, !tbaa !9
  %326 = call i32 @smatrixf_destroy(ptr noundef %325)
  call void @llvm.lifetime.end.p0(i64 16, ptr %5) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr %4) #6
  call void @llvm.lifetime.end.p0(i64 20, ptr %3) #6
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #6
  ret void
}

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

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

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

; 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) #3

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

; Function Attrs: nounwind
declare double @sqrt(double noundef) #4

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #5

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i1 @llvm.is.fpclass.f32(float, i32 immarg) #5

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

declare void @liquid_autotest_passed(...) #2

declare i32 @smatrixf_destroy(ptr noundef) #2

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

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { 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 #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { 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}


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

@__const.autotest_smatrixf_vmul.x = external hidden unnamed_addr constant [5 x float], align 16
@__const.autotest_smatrixf_vmul.y_test = external hidden unnamed_addr constant [4 x float], align 16
@.str = external hidden unnamed_addr constant [91 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [4 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [24 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local void @autotest_smatrixf_vmul() local_unnamed_addr #0 {
  %1 = alloca [5 x float], align 16
  %2 = alloca [4 x float], align 16
  %3 = tail call ptr @smatrixf_create(i32 noundef 4, i32 noundef 5) #6
  %4 = tail call i32 @smatrixf_set(ptr noundef %3, i32 noundef 0, i32 noundef 4, float noundef 4.000000e+00) #6
  %5 = tail call i32 @smatrixf_set(ptr noundef %3, i32 noundef 2, i32 noundef 3, float noundef 3.000000e+00) #6
  %6 = tail call i32 @smatrixf_set(ptr noundef %3, i32 noundef 3, i32 noundef 0, float noundef 2.000000e+00) #6
  %7 = tail call i32 @smatrixf_set(ptr noundef %3, i32 noundef 3, i32 noundef 4, float noundef 0.000000e+00) #6
  %8 = tail call i32 @smatrixf_set(ptr noundef %3, i32 noundef 3, i32 noundef 4, float noundef 1.000000e+00) #6
  call void @llvm.lifetime.start.p0(i64 20, ptr nonnull %1) #6
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(20) %1, ptr noundef nonnull align 16 dereferenceable(20) @__const.autotest_smatrixf_vmul.x, i64 20, i1 false)
  %.sroa.0.0.copyload = load float, ptr @__const.autotest_smatrixf_vmul.y_test, align 16
  %.sroa.13.0.copyload = load float, ptr getelementptr inbounds (i8, ptr @__const.autotest_smatrixf_vmul.y_test, i64 4), align 4
  %.sroa.23.0.copyload = load float, ptr getelementptr inbounds (i8, ptr @__const.autotest_smatrixf_vmul.y_test, i64 8), align 8
  %.sroa.33.0.copyload = load float, ptr getelementptr inbounds (i8, ptr @__const.autotest_smatrixf_vmul.y_test, i64 12), align 4
  call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2) #6
  %9 = call i32 @smatrixf_vmul(ptr noundef %3, ptr noundef nonnull %1, ptr noundef nonnull %2) #6
  %10 = load float, ptr %2, align 16
  %11 = fsub float %10, %.sroa.0.0.copyload
  %12 = fpext float %11 to double
  %13 = call double @llvm.fmuladd.f64(double %12, double %12, double 0.000000e+00)
  %sqrt = call double @llvm.sqrt.f64(double %13)
  %14 = fcmp ogt double %sqrt, 0x3EB0C6F7A0000000
  %15 = fcmp uno float %10, 0.000000e+00
  %or.cond = select i1 %14, i1 true, i1 %15
  %16 = fcmp uno float %.sroa.0.0.copyload, 0.000000e+00
  %or.cond52 = select i1 %or.cond, i1 true, i1 %16
  br i1 %or.cond52, label %17, label %18

17:                                               ; preds = %0
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 61, ptr noundef nonnull @.str.1, double noundef %sqrt, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, double noundef 0x3EB0C6F7A0000000) #6
  br label %19

18:                                               ; preds = %0
  call void (...) @liquid_autotest_passed() #6
  br label %19

19:                                               ; preds = %18, %17
  %20 = getelementptr inbounds i8, ptr %2, i64 4
  %21 = load float, ptr %20, align 4
  %22 = fsub float %21, %.sroa.13.0.copyload
  %23 = fpext float %22 to double
  %24 = call double @llvm.fmuladd.f64(double %23, double %23, double 0.000000e+00)
  %sqrt63 = call double @llvm.sqrt.f64(double %24)
  %25 = fcmp ogt double %sqrt63, 0x3EB0C6F7A0000000
  %26 = fcmp uno float %21, 0.000000e+00
  %or.cond54 = select i1 %25, i1 true, i1 %26
  %27 = fcmp uno float %.sroa.13.0.copyload, 0.000000e+00
  %or.cond55 = select i1 %or.cond54, i1 true, i1 %27
  br i1 %or.cond55, label %28, label %29

28:                                               ; preds = %19
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 62, ptr noundef nonnull @.str.4, double noundef %sqrt63, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, double noundef 0x3EB0C6F7A0000000) #6
  br label %30

29:                                               ; preds = %19
  call void (...) @liquid_autotest_passed() #6
  br label %30

30:                                               ; preds = %29, %28
  %31 = getelementptr inbounds i8, ptr %2, i64 8
  %32 = load float, ptr %31, align 8
  %33 = fsub float %32, %.sroa.23.0.copyload
  %34 = fpext float %33 to double
  %35 = call double @llvm.fmuladd.f64(double %34, double %34, double 0.000000e+00)
  %sqrt65 = call double @llvm.sqrt.f64(double %35)
  %36 = fcmp ogt double %sqrt65, 0x3EB0C6F7A0000000
  %37 = fcmp uno float %32, 0.000000e+00
  %or.cond57 = select i1 %36, i1 true, i1 %37
  %38 = fcmp uno float %.sroa.23.0.copyload, 0.000000e+00
  %or.cond58 = select i1 %or.cond57, i1 true, i1 %38
  br i1 %or.cond58, label %39, label %40

39:                                               ; preds = %30
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 63, ptr noundef nonnull @.str.5, double noundef %sqrt65, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, double noundef 0x3EB0C6F7A0000000) #6
  br label %41

40:                                               ; preds = %30
  call void (...) @liquid_autotest_passed() #6
  br label %41

41:                                               ; preds = %40, %39
  %42 = getelementptr inbounds i8, ptr %2, i64 12
  %43 = load float, ptr %42, align 4
  %44 = fsub float %43, %.sroa.33.0.copyload
  %45 = fpext float %44 to double
  %46 = call double @llvm.fmuladd.f64(double %45, double %45, double 0.000000e+00)
  %sqrt67 = call double @llvm.sqrt.f64(double %46)
  %47 = fcmp ogt double %sqrt67, 0x3EB0C6F7A0000000
  %48 = fcmp uno float %43, 0.000000e+00
  %or.cond60 = select i1 %47, i1 true, i1 %48
  %49 = fcmp uno float %.sroa.33.0.copyload, 0.000000e+00
  %or.cond61 = select i1 %or.cond60, i1 true, i1 %49
  br i1 %or.cond61, label %50, label %51

50:                                               ; preds = %41
  call void @liquid_autotest_failed_expr(ptr noundef nonnull @.str, i32 noundef 64, ptr noundef nonnull @.str.6, double noundef %sqrt67, ptr noundef nonnull @.str.2, ptr noundef nonnull @.str.3, double noundef 0x3EB0C6F7A0000000) #6
  br label %52

51:                                               ; preds = %41
  call void (...) @liquid_autotest_passed() #6
  br label %52

52:                                               ; preds = %51, %50
  %53 = call i32 @smatrixf_destroy(ptr noundef %3) #6
  call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %2) #6
  call void @llvm.lifetime.end.p0(i64 20, ptr nonnull %1) #6
  ret void
}

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

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

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

; 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) #3

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

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #4

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

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

declare i32 @smatrixf_destroy(ptr noundef) local_unnamed_addr #2

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.sqrt.f64(double) #5

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #6 = { 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)"}


; Effective O3 passes: AggressiveInstCombinePass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,SROAPass,SimplifyCFGPass,TailCallElimPass