; LLVM IR from AlgoGenesis/C :: 2D Arrays/MatrixInversion (Program)

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

@.str.2 = external hidden unnamed_addr constant [44 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

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

; 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 i32 @invertMatrix(ptr noundef %0, ptr noundef %1) #2 {
  %3 = alloca i32, align 4
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca [3 x [3 x float]], align 16
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca float, align 4
  %14 = alloca i32, align 4
  %15 = alloca i32, align 4
  %16 = alloca float, align 4
  %17 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 36, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  store i32 0, ptr %7, align 4, !tbaa !9
  br label %18

18:                                               ; preds = %52, %2
  %19 = load i32, ptr %7, align 4, !tbaa !9
  %20 = icmp slt i32 %19, 3
  br i1 %20, label %22, label %21

21:                                               ; preds = %18
  store i32 2, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  br label %55

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

23:                                               ; preds = %48, %22
  %24 = load i32, ptr %9, align 4, !tbaa !9
  %25 = icmp slt i32 %24, 3
  br i1 %25, label %27, label %26

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

27:                                               ; preds = %23
  %28 = load i32, ptr %7, align 4, !tbaa !9
  %29 = load i32, ptr %9, align 4, !tbaa !9
  %30 = icmp eq i32 %28, %29
  br i1 %30, label %31, label %39

31:                                               ; preds = %27
  %32 = load ptr, ptr %5, align 8, !tbaa !5
  %33 = load i32, ptr %7, align 4, !tbaa !9
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds [3 x float], ptr %32, i64 %34
  %36 = load i32, ptr %9, align 4, !tbaa !9
  %37 = sext i32 %36 to i64
  %38 = getelementptr inbounds [3 x float], ptr %35, i64 0, i64 %37
  store float 1.000000e+00, ptr %38, align 4, !tbaa !11
  br label %47

39:                                               ; preds = %27
  %40 = load ptr, ptr %5, align 8, !tbaa !5
  %41 = load i32, ptr %7, align 4, !tbaa !9
  %42 = sext i32 %41 to i64
  %43 = getelementptr inbounds [3 x float], ptr %40, i64 %42
  %44 = load i32, ptr %9, align 4, !tbaa !9
  %45 = sext i32 %44 to i64
  %46 = getelementptr inbounds [3 x float], ptr %43, i64 0, i64 %45
  store float 0.000000e+00, ptr %46, align 4, !tbaa !11
  br label %47

47:                                               ; preds = %39, %31
  br label %48

48:                                               ; preds = %47
  %49 = load i32, ptr %9, align 4, !tbaa !9
  %50 = add nsw i32 %49, 1
  store i32 %50, ptr %9, align 4, !tbaa !9
  br label %23, !llvm.loop !13

51:                                               ; preds = %26
  br label %52

52:                                               ; preds = %51
  %53 = load i32, ptr %7, align 4, !tbaa !9
  %54 = add nsw i32 %53, 1
  store i32 %54, ptr %7, align 4, !tbaa !9
  br label %18, !llvm.loop !15

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

56:                                               ; preds = %84, %55
  %57 = load i32, ptr %10, align 4, !tbaa !9
  %58 = icmp slt i32 %57, 3
  br i1 %58, label %60, label %59

59:                                               ; preds = %56
  store i32 8, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  br label %87

60:                                               ; preds = %56
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  store i32 0, ptr %11, align 4, !tbaa !9
  br label %61

61:                                               ; preds = %80, %60
  %62 = load i32, ptr %11, align 4, !tbaa !9
  %63 = icmp slt i32 %62, 3
  br i1 %63, label %65, label %64

64:                                               ; preds = %61
  store i32 11, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  br label %83

65:                                               ; preds = %61
  %66 = load ptr, ptr %4, align 8, !tbaa !5
  %67 = load i32, ptr %10, align 4, !tbaa !9
  %68 = sext i32 %67 to i64
  %69 = getelementptr inbounds [3 x float], ptr %66, i64 %68
  %70 = load i32, ptr %11, align 4, !tbaa !9
  %71 = sext i32 %70 to i64
  %72 = getelementptr inbounds [3 x float], ptr %69, i64 0, i64 %71
  %73 = load float, ptr %72, align 4, !tbaa !11
  %74 = load i32, ptr %10, align 4, !tbaa !9
  %75 = sext i32 %74 to i64
  %76 = getelementptr inbounds [3 x [3 x float]], ptr %6, i64 0, i64 %75
  %77 = load i32, ptr %11, align 4, !tbaa !9
  %78 = sext i32 %77 to i64
  %79 = getelementptr inbounds [3 x float], ptr %76, i64 0, i64 %78
  store float %73, ptr %79, align 4, !tbaa !11
  br label %80

80:                                               ; preds = %65
  %81 = load i32, ptr %11, align 4, !tbaa !9
  %82 = add nsw i32 %81, 1
  store i32 %82, ptr %11, align 4, !tbaa !9
  br label %61, !llvm.loop !16

83:                                               ; preds = %64
  br label %84

84:                                               ; preds = %83
  %85 = load i32, ptr %10, align 4, !tbaa !9
  %86 = add nsw i32 %85, 1
  store i32 %86, ptr %10, align 4, !tbaa !9
  br label %56, !llvm.loop !17

87:                                               ; preds = %59
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  store i32 0, ptr %12, align 4, !tbaa !9
  br label %88

88:                                               ; preds = %202, %87
  %89 = load i32, ptr %12, align 4, !tbaa !9
  %90 = icmp slt i32 %89, 3
  br i1 %90, label %92, label %91

91:                                               ; preds = %88
  store i32 14, ptr %8, align 4
  br label %205

92:                                               ; preds = %88
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #4
  %93 = load i32, ptr %12, align 4, !tbaa !9
  %94 = sext i32 %93 to i64
  %95 = getelementptr inbounds [3 x [3 x float]], ptr %6, i64 0, i64 %94
  %96 = load i32, ptr %12, align 4, !tbaa !9
  %97 = sext i32 %96 to i64
  %98 = getelementptr inbounds [3 x float], ptr %95, i64 0, i64 %97
  %99 = load float, ptr %98, align 4, !tbaa !11
  store float %99, ptr %13, align 4, !tbaa !11
  %100 = load float, ptr %13, align 4, !tbaa !11
  %101 = fcmp oeq float %100, 0.000000e+00
  br i1 %101, label %102, label %104

102:                                              ; preds = %92
  %103 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  store i32 -1, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %199

104:                                              ; preds = %92
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #4
  store i32 0, ptr %14, align 4, !tbaa !9
  br label %105

105:                                              ; preds = %129, %104
  %106 = load i32, ptr %14, align 4, !tbaa !9
  %107 = icmp slt i32 %106, 3
  br i1 %107, label %109, label %108

108:                                              ; preds = %105
  store i32 17, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #4
  br label %132

109:                                              ; preds = %105
  %110 = load float, ptr %13, align 4, !tbaa !11
  %111 = load i32, ptr %12, align 4, !tbaa !9
  %112 = sext i32 %111 to i64
  %113 = getelementptr inbounds [3 x [3 x float]], ptr %6, i64 0, i64 %112
  %114 = load i32, ptr %14, align 4, !tbaa !9
  %115 = sext i32 %114 to i64
  %116 = getelementptr inbounds [3 x float], ptr %113, i64 0, i64 %115
  %117 = load float, ptr %116, align 4, !tbaa !11
  %118 = fdiv float %117, %110
  store float %118, ptr %116, align 4, !tbaa !11
  %119 = load float, ptr %13, align 4, !tbaa !11
  %120 = load ptr, ptr %5, align 8, !tbaa !5
  %121 = load i32, ptr %12, align 4, !tbaa !9
  %122 = sext i32 %121 to i64
  %123 = getelementptr inbounds [3 x float], ptr %120, i64 %122
  %124 = load i32, ptr %14, align 4, !tbaa !9
  %125 = sext i32 %124 to i64
  %126 = getelementptr inbounds [3 x float], ptr %123, i64 0, i64 %125
  %127 = load float, ptr %126, align 4, !tbaa !11
  %128 = fdiv float %127, %119
  store float %128, ptr %126, align 4, !tbaa !11
  br label %129

129:                                              ; preds = %109
  %130 = load i32, ptr %14, align 4, !tbaa !9
  %131 = add nsw i32 %130, 1
  store i32 %131, ptr %14, align 4, !tbaa !9
  br label %105, !llvm.loop !18

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

133:                                              ; preds = %195, %132
  %134 = load i32, ptr %15, align 4, !tbaa !9
  %135 = icmp slt i32 %134, 3
  br i1 %135, label %137, label %136

136:                                              ; preds = %133
  store i32 20, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #4
  br label %198

137:                                              ; preds = %133
  %138 = load i32, ptr %15, align 4, !tbaa !9
  %139 = load i32, ptr %12, align 4, !tbaa !9
  %140 = icmp ne i32 %138, %139
  br i1 %140, label %141, label %194

141:                                              ; preds = %137
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #4
  %142 = load i32, ptr %15, align 4, !tbaa !9
  %143 = sext i32 %142 to i64
  %144 = getelementptr inbounds [3 x [3 x float]], ptr %6, i64 0, i64 %143
  %145 = load i32, ptr %12, align 4, !tbaa !9
  %146 = sext i32 %145 to i64
  %147 = getelementptr inbounds [3 x float], ptr %144, i64 0, i64 %146
  %148 = load float, ptr %147, align 4, !tbaa !11
  store float %148, ptr %16, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 4, ptr %17) #4
  store i32 0, ptr %17, align 4, !tbaa !9
  br label %149

149:                                              ; preds = %190, %141
  %150 = load i32, ptr %17, align 4, !tbaa !9
  %151 = icmp slt i32 %150, 3
  br i1 %151, label %153, label %152

152:                                              ; preds = %149
  store i32 23, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %17) #4
  br label %193

153:                                              ; preds = %149
  %154 = load float, ptr %16, align 4, !tbaa !11
  %155 = load i32, ptr %12, align 4, !tbaa !9
  %156 = sext i32 %155 to i64
  %157 = getelementptr inbounds [3 x [3 x float]], ptr %6, i64 0, i64 %156
  %158 = load i32, ptr %17, align 4, !tbaa !9
  %159 = sext i32 %158 to i64
  %160 = getelementptr inbounds [3 x float], ptr %157, i64 0, i64 %159
  %161 = load float, ptr %160, align 4, !tbaa !11
  %162 = load i32, ptr %15, align 4, !tbaa !9
  %163 = sext i32 %162 to i64
  %164 = getelementptr inbounds [3 x [3 x float]], ptr %6, i64 0, i64 %163
  %165 = load i32, ptr %17, align 4, !tbaa !9
  %166 = sext i32 %165 to i64
  %167 = getelementptr inbounds [3 x float], ptr %164, i64 0, i64 %166
  %168 = load float, ptr %167, align 4, !tbaa !11
  %169 = fneg float %154
  %170 = call float @llvm.fmuladd.f32(float %169, float %161, float %168)
  store float %170, ptr %167, align 4, !tbaa !11
  %171 = load float, ptr %16, align 4, !tbaa !11
  %172 = load ptr, ptr %5, align 8, !tbaa !5
  %173 = load i32, ptr %12, align 4, !tbaa !9
  %174 = sext i32 %173 to i64
  %175 = getelementptr inbounds [3 x float], ptr %172, i64 %174
  %176 = load i32, ptr %17, align 4, !tbaa !9
  %177 = sext i32 %176 to i64
  %178 = getelementptr inbounds [3 x float], ptr %175, i64 0, i64 %177
  %179 = load float, ptr %178, align 4, !tbaa !11
  %180 = load ptr, ptr %5, align 8, !tbaa !5
  %181 = load i32, ptr %15, align 4, !tbaa !9
  %182 = sext i32 %181 to i64
  %183 = getelementptr inbounds [3 x float], ptr %180, i64 %182
  %184 = load i32, ptr %17, align 4, !tbaa !9
  %185 = sext i32 %184 to i64
  %186 = getelementptr inbounds [3 x float], ptr %183, i64 0, i64 %185
  %187 = load float, ptr %186, align 4, !tbaa !11
  %188 = fneg float %171
  %189 = call float @llvm.fmuladd.f32(float %188, float %179, float %187)
  store float %189, ptr %186, align 4, !tbaa !11
  br label %190

190:                                              ; preds = %153
  %191 = load i32, ptr %17, align 4, !tbaa !9
  %192 = add nsw i32 %191, 1
  store i32 %192, ptr %17, align 4, !tbaa !9
  br label %149, !llvm.loop !19

193:                                              ; preds = %152
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #4
  br label %194

194:                                              ; preds = %193, %137
  br label %195

195:                                              ; preds = %194
  %196 = load i32, ptr %15, align 4, !tbaa !9
  %197 = add nsw i32 %196, 1
  store i32 %197, ptr %15, align 4, !tbaa !9
  br label %133, !llvm.loop !20

198:                                              ; preds = %136
  store i32 0, ptr %8, align 4
  br label %199

199:                                              ; preds = %198, %102
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #4
  %200 = load i32, ptr %8, align 4
  switch i32 %200, label %205 [
    i32 0, label %201
  ]

201:                                              ; preds = %199
  br label %202

202:                                              ; preds = %201
  %203 = load i32, ptr %12, align 4, !tbaa !9
  %204 = add nsw i32 %203, 1
  store i32 %204, ptr %12, align 4, !tbaa !9
  br label %88, !llvm.loop !21

205:                                              ; preds = %199, %91
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  %206 = load i32, ptr %8, align 4
  switch i32 %206, label %208 [
    i32 14, label %207
  ]

207:                                              ; preds = %205
  store i32 0, ptr %3, align 4
  store i32 1, ptr %8, align 4
  br label %208

208:                                              ; preds = %207, %205
  call void @llvm.lifetime.end.p0(i64 36, ptr %6) #4
  %209 = load i32, ptr %3, align 4
  ret i32 %209
}

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

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { "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 = { 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}
!16 = distinct !{!16, !14}
!17 = distinct !{!17, !14}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !14}
!20 = distinct !{!20, !14}
!21 = distinct !{!21, !14}


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

@.str.2 = external hidden unnamed_addr constant [44 x i8], align 1

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

; Function Attrs: nofree nounwind uwtable
define dso_local noundef i32 @invertMatrix(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1) local_unnamed_addr #1 {
.preheader72.preheader:
  %2 = getelementptr inbounds i8, ptr %1, i64 8
  %3 = getelementptr inbounds i8, ptr %1, i64 12
  store <4 x float> <float 1.000000e+00, float 0.000000e+00, float 0.000000e+00, float 0.000000e+00>, ptr %1, align 4
  %4 = getelementptr inbounds i8, ptr %1, i64 16
  %5 = getelementptr inbounds i8, ptr %1, i64 20
  %6 = getelementptr inbounds i8, ptr %1, i64 24
  store <4 x float> <float 1.000000e+00, float 0.000000e+00, float 0.000000e+00, float 0.000000e+00>, ptr %4, align 4
  %7 = getelementptr inbounds i8, ptr %1, i64 32
  store float 1.000000e+00, ptr %7, align 4
  %.sroa.0.0.copyload = load float, ptr %0, align 4, !tbaa !5
  %8 = fcmp une float %.sroa.0.0.copyload, 0.000000e+00
  br i1 %8, label %.preheader70.1, label %.thread

.preheader70.1:                                   ; preds = %.preheader72.preheader
  %.sroa.101.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 32
  %.sroa.101.0.copyload = load float, ptr %.sroa.101.0..sroa_idx, align 4, !tbaa !5
  %.sroa.89.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 28
  %.sroa.89.0.copyload = load float, ptr %.sroa.89.0..sroa_idx, align 4, !tbaa !5
  %.sroa.77.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 24
  %.sroa.77.0.copyload = load float, ptr %.sroa.77.0..sroa_idx, align 4, !tbaa !5
  %.sroa.65.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 20
  %.sroa.65.0.copyload = load float, ptr %.sroa.65.0..sroa_idx, align 4, !tbaa !5
  %.sroa.52.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 16
  %.sroa.52.0.copyload = load float, ptr %.sroa.52.0..sroa_idx, align 4, !tbaa !5
  %.sroa.40.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 12
  %.sroa.40.0.copyload = load float, ptr %.sroa.40.0..sroa_idx, align 4, !tbaa !5
  %.sroa.28.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 8
  %.sroa.28.0.copyload = load float, ptr %.sroa.28.0..sroa_idx, align 4, !tbaa !5
  %.sroa.16.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 4
  %.sroa.16.0.copyload = load float, ptr %.sroa.16.0..sroa_idx, align 4, !tbaa !5
  %9 = insertelement <2 x float> poison, float %.sroa.0.0.copyload, i64 0
  %10 = shufflevector <2 x float> %9, <2 x float> poison, <2 x i32> zeroinitializer
  %11 = fdiv <2 x float> <float 1.000000e+00, float 0.000000e+00>, %10
  %12 = fdiv float %.sroa.16.0.copyload, %.sroa.0.0.copyload
  %13 = extractelement <2 x float> %11, i64 1
  %14 = fneg float %.sroa.40.0.copyload
  %15 = tail call float @llvm.fmuladd.f32(float %14, float %12, float %.sroa.52.0.copyload)
  %16 = tail call float @llvm.fmuladd.f32(float %14, float %13, float 0.000000e+00)
  store float %16, ptr %5, align 4, !tbaa !5
  %17 = fneg float %.sroa.77.0.copyload
  %18 = insertelement <2 x float> poison, float %14, i64 0
  %19 = shufflevector <2 x float> %18, <2 x float> poison, <2 x i32> zeroinitializer
  %20 = tail call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %19, <2 x float> %11, <2 x float> <float 0.000000e+00, float 1.000000e+00>)
  %21 = shufflevector <2 x float> %11, <2 x float> %20, <4 x i32> <i32 0, i32 1, i32 1, i32 2>
  store <4 x float> %21, ptr %1, align 4, !tbaa !5
  %22 = extractelement <2 x float> %20, i64 1
  store float %22, ptr %4, align 4, !tbaa !5
  %23 = insertelement <2 x float> poison, float %17, i64 0
  %24 = shufflevector <2 x float> %23, <2 x float> poison, <2 x i32> zeroinitializer
  %25 = tail call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %24, <2 x float> %11, <2 x float> zeroinitializer)
  store <2 x float> %25, ptr %6, align 4, !tbaa !5
  %26 = tail call float @llvm.fmuladd.f32(float %17, float %13, float 1.000000e+00)
  store float %26, ptr %7, align 4, !tbaa !5
  %27 = fcmp une float %15, 0.000000e+00
  br i1 %27, label %.preheader70.2, label %.thread

.preheader70.2:                                   ; preds = %.preheader70.1
  %28 = fdiv float %.sroa.28.0.copyload, %.sroa.0.0.copyload
  %29 = tail call float @llvm.fmuladd.f32(float %17, float %28, float %.sroa.101.0.copyload)
  %30 = tail call float @llvm.fmuladd.f32(float %17, float %12, float %.sroa.89.0.copyload)
  %31 = tail call float @llvm.fmuladd.f32(float %14, float %28, float %.sroa.65.0.copyload)
  %32 = insertelement <2 x float> poison, float %15, i64 0
  %33 = shufflevector <2 x float> %32, <2 x float> poison, <2 x i32> zeroinitializer
  %34 = fdiv <2 x float> %20, %33
  store <2 x float> %34, ptr %3, align 4, !tbaa !5
  %35 = fdiv float %31, %15
  %36 = fdiv float %16, %15
  store float %36, ptr %5, align 4, !tbaa !5
  %37 = fneg float %12
  %38 = insertelement <2 x float> poison, float %37, i64 0
  %39 = shufflevector <2 x float> %38, <2 x float> poison, <2 x i32> zeroinitializer
  %40 = tail call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %39, <2 x float> %34, <2 x float> %11)
  store <2 x float> %40, ptr %1, align 4, !tbaa !5
  %41 = tail call float @llvm.fmuladd.f32(float %37, float %36, float %13)
  store float %41, ptr %2, align 4, !tbaa !5
  %42 = fneg float %30
  %43 = insertelement <2 x float> poison, float %42, i64 0
  %44 = shufflevector <2 x float> %43, <2 x float> poison, <2 x i32> zeroinitializer
  %45 = tail call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %44, <2 x float> %34, <2 x float> %25)
  store <2 x float> %45, ptr %6, align 4, !tbaa !5
  %46 = tail call float @llvm.fmuladd.f32(float %42, float %35, float %29)
  %47 = tail call float @llvm.fmuladd.f32(float %42, float %36, float %26)
  store float %47, ptr %7, align 4, !tbaa !5
  %48 = fcmp une float %46, 0.000000e+00
  br i1 %48, label %.loopexit71.loopexit, label %.thread

.thread:                                          ; preds = %.preheader70.2, %.preheader70.1, %.preheader72.preheader
  %49 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2)
  br label %.loopexit71

.loopexit71.loopexit:                             ; preds = %.preheader70.2
  %50 = tail call float @llvm.fmuladd.f32(float %37, float %35, float %28)
  %51 = insertelement <2 x float> poison, float %46, i64 0
  %52 = shufflevector <2 x float> %51, <2 x float> poison, <2 x i32> zeroinitializer
  %53 = fdiv <2 x float> %45, %52
  store <2 x float> %53, ptr %6, align 4, !tbaa !5
  %54 = fdiv float %47, %46
  store float %54, ptr %7, align 4, !tbaa !5
  %55 = insertelement <2 x float> poison, float %50, i64 0
  %56 = insertelement <2 x float> %55, float %35, i64 1
  %57 = fneg <2 x float> %56
  %58 = shufflevector <2 x float> %57, <2 x float> poison, <4 x i32> <i32 0, i32 0, i32 0, i32 1>
  %59 = shufflevector <2 x float> %53, <2 x float> poison, <4 x i32> <i32 0, i32 1, i32 poison, i32 0>
  %60 = insertelement <4 x float> %59, float %54, i64 2
  %61 = shufflevector <2 x float> %34, <2 x float> %40, <4 x i32> <i32 2, i32 3, i32 poison, i32 0>
  %62 = insertelement <4 x float> %61, float %41, i64 2
  %63 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %58, <4 x float> %60, <4 x float> %62)
  store <4 x float> %63, ptr %1, align 4, !tbaa !5
  %64 = shufflevector <2 x float> %57, <2 x float> poison, <2 x i32> <i32 1, i32 1>
  %65 = shufflevector <2 x float> %53, <2 x float> poison, <2 x i32> <i32 1, i32 poison>
  %66 = insertelement <2 x float> %65, float %54, i64 1
  %67 = shufflevector <2 x float> %34, <2 x float> poison, <2 x i32> <i32 1, i32 poison>
  %68 = insertelement <2 x float> %67, float %36, i64 1
  %69 = tail call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %64, <2 x float> %66, <2 x float> %68)
  store <2 x float> %69, ptr %4, align 4, !tbaa !5
  br label %.loopexit71

.loopexit71:                                      ; preds = %.loopexit71.loopexit, %.thread
  %spec.select = phi i32 [ -1, %.thread ], [ 0, %.loopexit71.loopexit ]
  ret i32 %spec.select
}

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x float> @llvm.fmuladd.v2f32(<2 x float>, <2 x float>, <2 x float>) #3

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <4 x float> @llvm.fmuladd.v4f32(<4 x float>, <4 x float>, <4 x float>) #3

attributes #0 = { 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 #1 = { nofree 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 #2 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }

!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"}


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LCSSAPass,LICMPass,LoopIdiomRecognizePass,LoopRotatePass,LoopSimplifyPass,MergedLoadStoreMotionPass,PostOrderFunctionAttrsPass,SCCPPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass,VectorCombinePass