; LLVM IR from TheAlgorithms/C-Plus-Plus :: numerical_methods/lu_decompose.ll (Z5test2v)

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

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<std::valarray<int>, std::allocator<std::valarray<int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::valarray<int>, std::allocator<std::valarray<int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::valarray<int>, std::allocator<std::valarray<int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::valarray<int>, std::allocator<std::valarray<int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::initializer_list" = type { ptr, i64 }
%"class.std::valarray.5" = type { i64, ptr }
%"class.std::initializer_list.6" = type { ptr, i64 }
%"class.std::allocator.2" = type { i8 }
%"class.std::vector.7" = type { %"struct.std::_Vector_base.8" }
%"struct.std::_Vector_base.8" = type { %"struct.std::_Vector_base<std::valarray<float>, std::allocator<std::valarray<float>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::valarray<float>, std::allocator<std::valarray<float>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::valarray<float>, std::allocator<std::valarray<float>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::valarray<float>, std::allocator<std::valarray<float>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::initializer_list.12" = type { ptr, i64 }
%"class.std::valarray.13" = type { i64, ptr }
%"class.std::initializer_list.14" = type { ptr, i64 }
%"class.std::allocator.9" = type { i8 }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.5 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [94 x i8], align 1
@__PRETTY_FUNCTION__._Z5test2v = external hidden unnamed_addr constant [13 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [27 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 @__gxx_personality_v0(...)

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) #1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z5test2v() #2 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.std::vector.0", align 8
  %2 = alloca %"class.std::initializer_list", align 8
  %3 = alloca [3 x %"class.std::valarray.5"], align 8
  %4 = alloca ptr, align 8
  %5 = alloca %"class.std::initializer_list.6", align 8
  %6 = alloca [3 x i32], align 4
  %7 = alloca ptr, align 8
  %8 = alloca i32, align 4
  %9 = alloca %"class.std::initializer_list.6", align 8
  %10 = alloca [3 x i32], align 4
  %11 = alloca %"class.std::initializer_list.6", align 8
  %12 = alloca [3 x i32], align 4
  %13 = alloca i1, align 1
  %14 = alloca %"class.std::allocator.2", align 1
  %15 = alloca %"class.std::vector.0", align 8
  %16 = alloca %"class.std::initializer_list", align 8
  %17 = alloca [3 x %"class.std::valarray.5"], align 8
  %18 = alloca ptr, align 8
  %19 = alloca %"class.std::initializer_list.6", align 8
  %20 = alloca [3 x i32], align 4
  %21 = alloca %"class.std::initializer_list.6", align 8
  %22 = alloca [3 x i32], align 4
  %23 = alloca %"class.std::initializer_list.6", align 8
  %24 = alloca [3 x i32], align 4
  %25 = alloca i1, align 1
  %26 = alloca %"class.std::allocator.2", align 1
  %27 = alloca %"class.std::vector.7", align 8
  %28 = alloca %"class.std::initializer_list.12", align 8
  %29 = alloca [3 x %"class.std::valarray.13"], align 8
  %30 = alloca ptr, align 8
  %31 = alloca %"class.std::initializer_list.14", align 8
  %32 = alloca [3 x float], align 4
  %33 = alloca %"class.std::initializer_list.14", align 8
  %34 = alloca [3 x float], align 4
  %35 = alloca %"class.std::initializer_list.14", align 8
  %36 = alloca [3 x float], align 4
  %37 = alloca i1, align 1
  %38 = alloca %"class.std::allocator.9", align 1
  %39 = call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.5)
  call void @llvm.lifetime.start.p0(i64 24, ptr %1) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr %3) #6
  store i1 true, ptr %13, align 1
  store ptr %3, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr %6) #6
  store i32 1, ptr %6, align 4, !tbaa !5
  %40 = getelementptr inbounds i32, ptr %6, i64 1
  store i32 2, ptr %40, align 4, !tbaa !5
  %41 = getelementptr inbounds i32, ptr %6, i64 2
  store i32 3, ptr %41, align 4, !tbaa !5
  %42 = getelementptr inbounds %"class.std::initializer_list.6", ptr %5, i32 0, i32 0
  store ptr %6, ptr %42, align 8, !tbaa !9
  %43 = getelementptr inbounds %"class.std::initializer_list.6", ptr %5, i32 0, i32 1
  store i64 3, ptr %43, align 8, !tbaa !13
  %44 = getelementptr inbounds { ptr, i64 }, ptr %5, i32 0, i32 0
  %45 = load ptr, ptr %44, align 8
  %46 = getelementptr inbounds { ptr, i64 }, ptr %5, i32 0, i32 1
  %47 = load i64, ptr %46, align 8
  invoke void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16) %3, ptr %45, i64 %47)
          to label %48 unwind label %88

48:                                               ; preds = %0
  %49 = getelementptr inbounds %"class.std::valarray.5", ptr %3, i64 1
  store ptr %49, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr %10) #6
  store i32 4, ptr %10, align 4, !tbaa !5
  %50 = getelementptr inbounds i32, ptr %10, i64 1
  store i32 9, ptr %50, align 4, !tbaa !5
  %51 = getelementptr inbounds i32, ptr %10, i64 2
  store i32 6, ptr %51, align 4, !tbaa !5
  %52 = getelementptr inbounds %"class.std::initializer_list.6", ptr %9, i32 0, i32 0
  store ptr %10, ptr %52, align 8, !tbaa !9
  %53 = getelementptr inbounds %"class.std::initializer_list.6", ptr %9, i32 0, i32 1
  store i64 3, ptr %53, align 8, !tbaa !13
  %54 = getelementptr inbounds { ptr, i64 }, ptr %9, i32 0, i32 0
  %55 = load ptr, ptr %54, align 8
  %56 = getelementptr inbounds { ptr, i64 }, ptr %9, i32 0, i32 1
  %57 = load i64, ptr %56, align 8
  invoke void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16) %49, ptr %55, i64 %57)
          to label %58 unwind label %92

58:                                               ; preds = %48
  %59 = getelementptr inbounds %"class.std::valarray.5", ptr %3, i64 2
  store ptr %59, ptr %4, align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr %12) #6
  store i32 7, ptr %12, align 4, !tbaa !5
  %60 = getelementptr inbounds i32, ptr %12, i64 1
  store i32 8, ptr %60, align 4, !tbaa !5
  %61 = getelementptr inbounds i32, ptr %12, i64 2
  store i32 9, ptr %61, align 4, !tbaa !5
  %62 = getelementptr inbounds %"class.std::initializer_list.6", ptr %11, i32 0, i32 0
  store ptr %12, ptr %62, align 8, !tbaa !9
  %63 = getelementptr inbounds %"class.std::initializer_list.6", ptr %11, i32 0, i32 1
  store i64 3, ptr %63, align 8, !tbaa !13
  %64 = getelementptr inbounds { ptr, i64 }, ptr %11, i32 0, i32 0
  %65 = load ptr, ptr %64, align 8
  %66 = getelementptr inbounds { ptr, i64 }, ptr %11, i32 0, i32 1
  %67 = load i64, ptr %66, align 8
  invoke void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16) %59, ptr %65, i64 %67)
          to label %68 unwind label %96

68:                                               ; preds = %58
  store i1 false, ptr %13, align 1
  %69 = getelementptr inbounds %"class.std::initializer_list", ptr %2, i32 0, i32 0
  store ptr %3, ptr %69, align 8, !tbaa !14
  %70 = getelementptr inbounds %"class.std::initializer_list", ptr %2, i32 0, i32 1
  store i64 3, ptr %70, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 1, ptr %14) #6
  call void @_ZNSaISt8valarrayIiEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #6
  %71 = getelementptr inbounds { ptr, i64 }, ptr %2, i32 0, i32 0
  %72 = load ptr, ptr %71, align 8
  %73 = getelementptr inbounds { ptr, i64 }, ptr %2, i32 0, i32 1
  %74 = load i64, ptr %73, align 8
  invoke void @_ZNSt6vectorISt8valarrayIiESaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr %72, i64 %74, ptr noundef nonnull align 1 dereferenceable(1) %14)
          to label %75 unwind label %100

75:                                               ; preds = %68
  call void @_ZNSt15__new_allocatorISt8valarrayIiEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #6
  %76 = getelementptr inbounds [3 x %"class.std::valarray.5"], ptr %3, i32 0, i32 0
  %77 = getelementptr inbounds %"class.std::valarray.5", ptr %76, i64 3
  br label %78

78:                                               ; preds = %78, %75
  %79 = phi ptr [ %77, %75 ], [ %80, %78 ]
  %80 = getelementptr inbounds %"class.std::valarray.5", ptr %79, i64 -1
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %80) #6
  %81 = icmp eq ptr %80, %76
  br i1 %81, label %82, label %78

82:                                               ; preds = %78
  call void @llvm.lifetime.end.p0(i64 12, ptr %12) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %10) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %6) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %3) #6
  %83 = invoke noundef double @_Z14determinant_luIiEdRKSt6vectorISt8valarrayIT_ESaIS3_EE(ptr noundef nonnull align 8 dereferenceable(24) %1)
          to label %84 unwind label %124

84:                                               ; preds = %82
  %85 = fcmp oeq double %83, -4.800000e+01
  br i1 %85, label %86, label %87

86:                                               ; preds = %84
  br label %129

87:                                               ; preds = %84
  call void @__assert_fail(ptr noundef @.str.6, ptr noundef @.str.7, i32 noundef 69, ptr noundef @__PRETTY_FUNCTION__._Z5test2v) #7
  unreachable

88:                                               ; preds = %0
  %89 = landingpad { ptr, i32 }
          cleanup
  %90 = extractvalue { ptr, i32 } %89, 0
  store ptr %90, ptr %7, align 8
  %91 = extractvalue { ptr, i32 } %89, 1
  store i32 %91, ptr %8, align 4
  br label %113

92:                                               ; preds = %48
  %93 = landingpad { ptr, i32 }
          cleanup
  %94 = extractvalue { ptr, i32 } %93, 0
  store ptr %94, ptr %7, align 8
  %95 = extractvalue { ptr, i32 } %93, 1
  store i32 %95, ptr %8, align 4
  br label %112

96:                                               ; preds = %58
  %97 = landingpad { ptr, i32 }
          cleanup
  %98 = extractvalue { ptr, i32 } %97, 0
  store ptr %98, ptr %7, align 8
  %99 = extractvalue { ptr, i32 } %97, 1
  store i32 %99, ptr %8, align 4
  br label %111

100:                                              ; preds = %68
  %101 = landingpad { ptr, i32 }
          cleanup
  %102 = extractvalue { ptr, i32 } %101, 0
  store ptr %102, ptr %7, align 8
  %103 = extractvalue { ptr, i32 } %101, 1
  store i32 %103, ptr %8, align 4
  call void @_ZNSt15__new_allocatorISt8valarrayIiEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %14) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %14) #6
  %104 = getelementptr inbounds [3 x %"class.std::valarray.5"], ptr %3, i32 0, i32 0
  %105 = getelementptr inbounds %"class.std::valarray.5", ptr %104, i64 3
  br label %106

106:                                              ; preds = %106, %100
  %107 = phi ptr [ %105, %100 ], [ %108, %106 ]
  %108 = getelementptr inbounds %"class.std::valarray.5", ptr %107, i64 -1
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %108) #6
  %109 = icmp eq ptr %108, %104
  br i1 %109, label %110, label %106

110:                                              ; preds = %106
  br label %111

111:                                              ; preds = %110, %96
  call void @llvm.lifetime.end.p0(i64 12, ptr %12) #6
  br label %112

112:                                              ; preds = %111, %92
  call void @llvm.lifetime.end.p0(i64 12, ptr %10) #6
  br label %113

113:                                              ; preds = %112, %88
  call void @llvm.lifetime.end.p0(i64 12, ptr %6) #6
  %114 = load i1, ptr %13, align 1
  br i1 %114, label %115, label %123

115:                                              ; preds = %113
  %116 = load ptr, ptr %4, align 8
  %117 = icmp eq ptr %3, %116
  br i1 %117, label %122, label %118

118:                                              ; preds = %118, %115
  %119 = phi ptr [ %116, %115 ], [ %120, %118 ]
  %120 = getelementptr inbounds %"class.std::valarray.5", ptr %119, i64 -1
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %120) #6
  %121 = icmp eq ptr %120, %3
  br i1 %121, label %122, label %118

122:                                              ; preds = %118, %115
  br label %123

123:                                              ; preds = %122, %113
  call void @llvm.lifetime.end.p0(i64 48, ptr %3) #6
  br label %324

124:                                              ; preds = %131, %129, %82
  %125 = landingpad { ptr, i32 }
          cleanup
  %126 = extractvalue { ptr, i32 } %125, 0
  store ptr %126, ptr %7, align 8
  %127 = extractvalue { ptr, i32 } %125, 1
  store i32 %127, ptr %8, align 4
  br label %323

128:                                              ; No predecessors!
  br label %129

129:                                              ; preds = %128, %86
  %130 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.8)
          to label %131 unwind label %124

131:                                              ; preds = %129
  %132 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.9)
          to label %133 unwind label %124

133:                                              ; preds = %131
  call void @llvm.lifetime.start.p0(i64 24, ptr %15) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr %17) #6
  store i1 true, ptr %25, align 1
  store ptr %17, ptr %18, align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr %20) #6
  store i32 1, ptr %20, align 4, !tbaa !5
  %134 = getelementptr inbounds i32, ptr %20, i64 1
  store i32 2, ptr %134, align 4, !tbaa !5
  %135 = getelementptr inbounds i32, ptr %20, i64 2
  store i32 3, ptr %135, align 4, !tbaa !5
  %136 = getelementptr inbounds %"class.std::initializer_list.6", ptr %19, i32 0, i32 0
  store ptr %20, ptr %136, align 8, !tbaa !9
  %137 = getelementptr inbounds %"class.std::initializer_list.6", ptr %19, i32 0, i32 1
  store i64 3, ptr %137, align 8, !tbaa !13
  %138 = getelementptr inbounds { ptr, i64 }, ptr %19, i32 0, i32 0
  %139 = load ptr, ptr %138, align 8
  %140 = getelementptr inbounds { ptr, i64 }, ptr %19, i32 0, i32 1
  %141 = load i64, ptr %140, align 8
  invoke void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16) %17, ptr %139, i64 %141)
          to label %142 unwind label %182

142:                                              ; preds = %133
  %143 = getelementptr inbounds %"class.std::valarray.5", ptr %17, i64 1
  store ptr %143, ptr %18, align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr %22) #6
  store i32 4, ptr %22, align 4, !tbaa !5
  %144 = getelementptr inbounds i32, ptr %22, i64 1
  store i32 5, ptr %144, align 4, !tbaa !5
  %145 = getelementptr inbounds i32, ptr %22, i64 2
  store i32 6, ptr %145, align 4, !tbaa !5
  %146 = getelementptr inbounds %"class.std::initializer_list.6", ptr %21, i32 0, i32 0
  store ptr %22, ptr %146, align 8, !tbaa !9
  %147 = getelementptr inbounds %"class.std::initializer_list.6", ptr %21, i32 0, i32 1
  store i64 3, ptr %147, align 8, !tbaa !13
  %148 = getelementptr inbounds { ptr, i64 }, ptr %21, i32 0, i32 0
  %149 = load ptr, ptr %148, align 8
  %150 = getelementptr inbounds { ptr, i64 }, ptr %21, i32 0, i32 1
  %151 = load i64, ptr %150, align 8
  invoke void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16) %143, ptr %149, i64 %151)
          to label %152 unwind label %186

152:                                              ; preds = %142
  %153 = getelementptr inbounds %"class.std::valarray.5", ptr %17, i64 2
  store ptr %153, ptr %18, align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr %24) #6
  store i32 7, ptr %24, align 4, !tbaa !5
  %154 = getelementptr inbounds i32, ptr %24, i64 1
  store i32 8, ptr %154, align 4, !tbaa !5
  %155 = getelementptr inbounds i32, ptr %24, i64 2
  store i32 9, ptr %155, align 4, !tbaa !5
  %156 = getelementptr inbounds %"class.std::initializer_list.6", ptr %23, i32 0, i32 0
  store ptr %24, ptr %156, align 8, !tbaa !9
  %157 = getelementptr inbounds %"class.std::initializer_list.6", ptr %23, i32 0, i32 1
  store i64 3, ptr %157, align 8, !tbaa !13
  %158 = getelementptr inbounds { ptr, i64 }, ptr %23, i32 0, i32 0
  %159 = load ptr, ptr %158, align 8
  %160 = getelementptr inbounds { ptr, i64 }, ptr %23, i32 0, i32 1
  %161 = load i64, ptr %160, align 8
  invoke void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16) %153, ptr %159, i64 %161)
          to label %162 unwind label %190

162:                                              ; preds = %152
  store i1 false, ptr %25, align 1
  %163 = getelementptr inbounds %"class.std::initializer_list", ptr %16, i32 0, i32 0
  store ptr %17, ptr %163, align 8, !tbaa !14
  %164 = getelementptr inbounds %"class.std::initializer_list", ptr %16, i32 0, i32 1
  store i64 3, ptr %164, align 8, !tbaa !16
  call void @llvm.lifetime.start.p0(i64 1, ptr %26) #6
  call void @_ZNSaISt8valarrayIiEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #6
  %165 = getelementptr inbounds { ptr, i64 }, ptr %16, i32 0, i32 0
  %166 = load ptr, ptr %165, align 8
  %167 = getelementptr inbounds { ptr, i64 }, ptr %16, i32 0, i32 1
  %168 = load i64, ptr %167, align 8
  invoke void @_ZNSt6vectorISt8valarrayIiESaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %15, ptr %166, i64 %168, ptr noundef nonnull align 1 dereferenceable(1) %26)
          to label %169 unwind label %194

169:                                              ; preds = %162
  call void @_ZNSt15__new_allocatorISt8valarrayIiEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #6
  %170 = getelementptr inbounds [3 x %"class.std::valarray.5"], ptr %17, i32 0, i32 0
  %171 = getelementptr inbounds %"class.std::valarray.5", ptr %170, i64 3
  br label %172

172:                                              ; preds = %172, %169
  %173 = phi ptr [ %171, %169 ], [ %174, %172 ]
  %174 = getelementptr inbounds %"class.std::valarray.5", ptr %173, i64 -1
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %174) #6
  %175 = icmp eq ptr %174, %170
  br i1 %175, label %176, label %172

176:                                              ; preds = %172
  call void @llvm.lifetime.end.p0(i64 12, ptr %24) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %20) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %17) #6
  %177 = invoke noundef double @_Z14determinant_luIiEdRKSt6vectorISt8valarrayIT_ESaIS3_EE(ptr noundef nonnull align 8 dereferenceable(24) %15)
          to label %178 unwind label %218

178:                                              ; preds = %176
  %179 = fcmp oeq double %177, 0.000000e+00
  br i1 %179, label %180, label %181

180:                                              ; preds = %178
  br label %223

181:                                              ; preds = %178
  call void @__assert_fail(ptr noundef @.str.10, ptr noundef @.str.7, i32 noundef 74, ptr noundef @__PRETTY_FUNCTION__._Z5test2v) #7
  unreachable

182:                                              ; preds = %133
  %183 = landingpad { ptr, i32 }
          cleanup
  %184 = extractvalue { ptr, i32 } %183, 0
  store ptr %184, ptr %7, align 8
  %185 = extractvalue { ptr, i32 } %183, 1
  store i32 %185, ptr %8, align 4
  br label %207

186:                                              ; preds = %142
  %187 = landingpad { ptr, i32 }
          cleanup
  %188 = extractvalue { ptr, i32 } %187, 0
  store ptr %188, ptr %7, align 8
  %189 = extractvalue { ptr, i32 } %187, 1
  store i32 %189, ptr %8, align 4
  br label %206

190:                                              ; preds = %152
  %191 = landingpad { ptr, i32 }
          cleanup
  %192 = extractvalue { ptr, i32 } %191, 0
  store ptr %192, ptr %7, align 8
  %193 = extractvalue { ptr, i32 } %191, 1
  store i32 %193, ptr %8, align 4
  br label %205

194:                                              ; preds = %162
  %195 = landingpad { ptr, i32 }
          cleanup
  %196 = extractvalue { ptr, i32 } %195, 0
  store ptr %196, ptr %7, align 8
  %197 = extractvalue { ptr, i32 } %195, 1
  store i32 %197, ptr %8, align 4
  call void @_ZNSt15__new_allocatorISt8valarrayIiEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %26) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %26) #6
  %198 = getelementptr inbounds [3 x %"class.std::valarray.5"], ptr %17, i32 0, i32 0
  %199 = getelementptr inbounds %"class.std::valarray.5", ptr %198, i64 3
  br label %200

200:                                              ; preds = %200, %194
  %201 = phi ptr [ %199, %194 ], [ %202, %200 ]
  %202 = getelementptr inbounds %"class.std::valarray.5", ptr %201, i64 -1
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %202) #6
  %203 = icmp eq ptr %202, %198
  br i1 %203, label %204, label %200

204:                                              ; preds = %200
  br label %205

205:                                              ; preds = %204, %190
  call void @llvm.lifetime.end.p0(i64 12, ptr %24) #6
  br label %206

206:                                              ; preds = %205, %186
  call void @llvm.lifetime.end.p0(i64 12, ptr %22) #6
  br label %207

207:                                              ; preds = %206, %182
  call void @llvm.lifetime.end.p0(i64 12, ptr %20) #6
  %208 = load i1, ptr %25, align 1
  br i1 %208, label %209, label %217

209:                                              ; preds = %207
  %210 = load ptr, ptr %18, align 8
  %211 = icmp eq ptr %17, %210
  br i1 %211, label %216, label %212

212:                                              ; preds = %212, %209
  %213 = phi ptr [ %210, %209 ], [ %214, %212 ]
  %214 = getelementptr inbounds %"class.std::valarray.5", ptr %213, i64 -1
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %214) #6
  %215 = icmp eq ptr %214, %17
  br i1 %215, label %216, label %212

216:                                              ; preds = %212, %209
  br label %217

217:                                              ; preds = %216, %207
  call void @llvm.lifetime.end.p0(i64 48, ptr %17) #6
  br label %322

218:                                              ; preds = %225, %223, %176
  %219 = landingpad { ptr, i32 }
          cleanup
  %220 = extractvalue { ptr, i32 } %219, 0
  store ptr %220, ptr %7, align 8
  %221 = extractvalue { ptr, i32 } %219, 1
  store i32 %221, ptr %8, align 4
  br label %321

222:                                              ; No predecessors!
  br label %223

223:                                              ; preds = %222, %180
  %224 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.8)
          to label %225 unwind label %218

225:                                              ; preds = %223
  %226 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.11)
          to label %227 unwind label %218

227:                                              ; preds = %225
  call void @llvm.lifetime.start.p0(i64 24, ptr %27) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr %29) #6
  store i1 true, ptr %37, align 1
  store ptr %29, ptr %30, align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr %32) #6
  store float 0x3FF3333340000000, ptr %32, align 4, !tbaa !17
  %228 = getelementptr inbounds float, ptr %32, i64 1
  store float 0x4002666660000000, ptr %228, align 4, !tbaa !17
  %229 = getelementptr inbounds float, ptr %32, i64 2
  store float 0x400B333340000000, ptr %229, align 4, !tbaa !17
  %230 = getelementptr inbounds %"class.std::initializer_list.14", ptr %31, i32 0, i32 0
  store ptr %32, ptr %230, align 8, !tbaa !19
  %231 = getelementptr inbounds %"class.std::initializer_list.14", ptr %31, i32 0, i32 1
  store i64 3, ptr %231, align 8, !tbaa !21
  %232 = getelementptr inbounds { ptr, i64 }, ptr %31, i32 0, i32 0
  %233 = load ptr, ptr %232, align 8
  %234 = getelementptr inbounds { ptr, i64 }, ptr %31, i32 0, i32 1
  %235 = load i64, ptr %234, align 8
  invoke void @_ZNSt8valarrayIfEC2ESt16initializer_listIfE(ptr noundef nonnull align 8 dereferenceable(16) %29, ptr %233, i64 %235)
          to label %236 unwind label %276

236:                                              ; preds = %227
  %237 = getelementptr inbounds %"class.std::valarray.13", ptr %29, i64 1
  store ptr %237, ptr %30, align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr %34) #6
  store float 4.500000e+00, ptr %34, align 4, !tbaa !17
  %238 = getelementptr inbounds float, ptr %34, i64 1
  store float 0x4016666660000000, ptr %238, align 4, !tbaa !17
  %239 = getelementptr inbounds float, ptr %34, i64 2
  store float 0x401ACCCCC0000000, ptr %239, align 4, !tbaa !17
  %240 = getelementptr inbounds %"class.std::initializer_list.14", ptr %33, i32 0, i32 0
  store ptr %34, ptr %240, align 8, !tbaa !19
  %241 = getelementptr inbounds %"class.std::initializer_list.14", ptr %33, i32 0, i32 1
  store i64 3, ptr %241, align 8, !tbaa !21
  %242 = getelementptr inbounds { ptr, i64 }, ptr %33, i32 0, i32 0
  %243 = load ptr, ptr %242, align 8
  %244 = getelementptr inbounds { ptr, i64 }, ptr %33, i32 0, i32 1
  %245 = load i64, ptr %244, align 8
  invoke void @_ZNSt8valarrayIfEC2ESt16initializer_listIfE(ptr noundef nonnull align 8 dereferenceable(16) %237, ptr %243, i64 %245)
          to label %246 unwind label %280

246:                                              ; preds = %236
  %247 = getelementptr inbounds %"class.std::valarray.13", ptr %29, i64 2
  store ptr %247, ptr %30, align 8
  call void @llvm.lifetime.start.p0(i64 12, ptr %36) #6
  store float 0x401F333340000000, ptr %36, align 4, !tbaa !17
  %248 = getelementptr inbounds float, ptr %36, i64 1
  store float 0x4021CCCCC0000000, ptr %248, align 4, !tbaa !17
  %249 = getelementptr inbounds float, ptr %36, i64 2
  store float 9.000000e+00, ptr %249, align 4, !tbaa !17
  %250 = getelementptr inbounds %"class.std::initializer_list.14", ptr %35, i32 0, i32 0
  store ptr %36, ptr %250, align 8, !tbaa !19
  %251 = getelementptr inbounds %"class.std::initializer_list.14", ptr %35, i32 0, i32 1
  store i64 3, ptr %251, align 8, !tbaa !21
  %252 = getelementptr inbounds { ptr, i64 }, ptr %35, i32 0, i32 0
  %253 = load ptr, ptr %252, align 8
  %254 = getelementptr inbounds { ptr, i64 }, ptr %35, i32 0, i32 1
  %255 = load i64, ptr %254, align 8
  invoke void @_ZNSt8valarrayIfEC2ESt16initializer_listIfE(ptr noundef nonnull align 8 dereferenceable(16) %247, ptr %253, i64 %255)
          to label %256 unwind label %284

256:                                              ; preds = %246
  store i1 false, ptr %37, align 1
  %257 = getelementptr inbounds %"class.std::initializer_list.12", ptr %28, i32 0, i32 0
  store ptr %29, ptr %257, align 8, !tbaa !22
  %258 = getelementptr inbounds %"class.std::initializer_list.12", ptr %28, i32 0, i32 1
  store i64 3, ptr %258, align 8, !tbaa !24
  call void @llvm.lifetime.start.p0(i64 1, ptr %38) #6
  call void @_ZNSaISt8valarrayIfEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #6
  %259 = getelementptr inbounds { ptr, i64 }, ptr %28, i32 0, i32 0
  %260 = load ptr, ptr %259, align 8
  %261 = getelementptr inbounds { ptr, i64 }, ptr %28, i32 0, i32 1
  %262 = load i64, ptr %261, align 8
  invoke void @_ZNSt6vectorISt8valarrayIfESaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %27, ptr %260, i64 %262, ptr noundef nonnull align 1 dereferenceable(1) %38)
          to label %263 unwind label %288

263:                                              ; preds = %256
  call void @_ZNSt15__new_allocatorISt8valarrayIfEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #6
  %264 = getelementptr inbounds [3 x %"class.std::valarray.13"], ptr %29, i32 0, i32 0
  %265 = getelementptr inbounds %"class.std::valarray.13", ptr %264, i64 3
  br label %266

266:                                              ; preds = %266, %263
  %267 = phi ptr [ %265, %263 ], [ %268, %266 ]
  %268 = getelementptr inbounds %"class.std::valarray.13", ptr %267, i64 -1
  call void @_ZNSt8valarrayIfED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %268) #6
  %269 = icmp eq ptr %268, %264
  br i1 %269, label %270, label %266

270:                                              ; preds = %266
  call void @llvm.lifetime.end.p0(i64 12, ptr %36) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %34) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %32) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr %29) #6
  %271 = invoke noundef double @_Z14determinant_luIfEdRKSt6vectorISt8valarrayIT_ESaIS3_EE(ptr noundef nonnull align 8 dereferenceable(24) %27)
          to label %272 unwind label %312

272:                                              ; preds = %270
  %273 = fcmp oeq double %271, 3.630000e+00
  br i1 %273, label %274, label %275

274:                                              ; preds = %272
  br label %317

275:                                              ; preds = %272
  call void @__assert_fail(ptr noundef @.str.12, ptr noundef @.str.7, i32 noundef 79, ptr noundef @__PRETTY_FUNCTION__._Z5test2v) #7
  unreachable

276:                                              ; preds = %227
  %277 = landingpad { ptr, i32 }
          cleanup
  %278 = extractvalue { ptr, i32 } %277, 0
  store ptr %278, ptr %7, align 8
  %279 = extractvalue { ptr, i32 } %277, 1
  store i32 %279, ptr %8, align 4
  br label %301

280:                                              ; preds = %236
  %281 = landingpad { ptr, i32 }
          cleanup
  %282 = extractvalue { ptr, i32 } %281, 0
  store ptr %282, ptr %7, align 8
  %283 = extractvalue { ptr, i32 } %281, 1
  store i32 %283, ptr %8, align 4
  br label %300

284:                                              ; preds = %246
  %285 = landingpad { ptr, i32 }
          cleanup
  %286 = extractvalue { ptr, i32 } %285, 0
  store ptr %286, ptr %7, align 8
  %287 = extractvalue { ptr, i32 } %285, 1
  store i32 %287, ptr %8, align 4
  br label %299

288:                                              ; preds = %256
  %289 = landingpad { ptr, i32 }
          cleanup
  %290 = extractvalue { ptr, i32 } %289, 0
  store ptr %290, ptr %7, align 8
  %291 = extractvalue { ptr, i32 } %289, 1
  store i32 %291, ptr %8, align 4
  call void @_ZNSt15__new_allocatorISt8valarrayIfEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %38) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr %38) #6
  %292 = getelementptr inbounds [3 x %"class.std::valarray.13"], ptr %29, i32 0, i32 0
  %293 = getelementptr inbounds %"class.std::valarray.13", ptr %292, i64 3
  br label %294

294:                                              ; preds = %294, %288
  %295 = phi ptr [ %293, %288 ], [ %296, %294 ]
  %296 = getelementptr inbounds %"class.std::valarray.13", ptr %295, i64 -1
  call void @_ZNSt8valarrayIfED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %296) #6
  %297 = icmp eq ptr %296, %292
  br i1 %297, label %298, label %294

298:                                              ; preds = %294
  br label %299

299:                                              ; preds = %298, %284
  call void @llvm.lifetime.end.p0(i64 12, ptr %36) #6
  br label %300

300:                                              ; preds = %299, %280
  call void @llvm.lifetime.end.p0(i64 12, ptr %34) #6
  br label %301

301:                                              ; preds = %300, %276
  call void @llvm.lifetime.end.p0(i64 12, ptr %32) #6
  %302 = load i1, ptr %37, align 1
  br i1 %302, label %303, label %311

303:                                              ; preds = %301
  %304 = load ptr, ptr %30, align 8
  %305 = icmp eq ptr %29, %304
  br i1 %305, label %310, label %306

306:                                              ; preds = %306, %303
  %307 = phi ptr [ %304, %303 ], [ %308, %306 ]
  %308 = getelementptr inbounds %"class.std::valarray.13", ptr %307, i64 -1
  call void @_ZNSt8valarrayIfED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %308) #6
  %309 = icmp eq ptr %308, %29
  br i1 %309, label %310, label %306

310:                                              ; preds = %306, %303
  br label %311

311:                                              ; preds = %310, %301
  call void @llvm.lifetime.end.p0(i64 48, ptr %29) #6
  br label %320

312:                                              ; preds = %317, %270
  %313 = landingpad { ptr, i32 }
          cleanup
  %314 = extractvalue { ptr, i32 } %313, 0
  store ptr %314, ptr %7, align 8
  %315 = extractvalue { ptr, i32 } %313, 1
  store i32 %315, ptr %8, align 4
  call void @_ZNSt6vectorISt8valarrayIfESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #6
  br label %320

316:                                              ; No predecessors!
  br label %317

317:                                              ; preds = %316, %274
  %318 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef @.str.8)
          to label %319 unwind label %312

319:                                              ; preds = %317
  call void @_ZNSt6vectorISt8valarrayIfESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %27) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %27) #6
  call void @_ZNSt6vectorISt8valarrayIiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #6
  call void @_ZNSt6vectorISt8valarrayIiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr %1) #6
  ret void

320:                                              ; preds = %312, %311
  call void @llvm.lifetime.end.p0(i64 24, ptr %27) #6
  br label %321

321:                                              ; preds = %320, %218
  call void @_ZNSt6vectorISt8valarrayIiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %15) #6
  br label %322

322:                                              ; preds = %321, %217
  call void @llvm.lifetime.end.p0(i64 24, ptr %15) #6
  br label %323

323:                                              ; preds = %322, %124
  call void @_ZNSt6vectorISt8valarrayIiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  br label %324

324:                                              ; preds = %323, %123
  call void @llvm.lifetime.end.p0(i64 24, ptr %1) #6
  br label %325

325:                                              ; preds = %324
  %326 = load ptr, ptr %7, align 8
  %327 = load i32, ptr %8, align 4
  %328 = insertvalue { ptr, i32 } poison, ptr %326, 0
  %329 = insertvalue { ptr, i32 } %328, i32 %327, 1
  resume { ptr, i32 } %329
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16), ptr, i64) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaISt8valarrayIiEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorISt8valarrayIiESaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24), ptr, i64, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_Z14determinant_luIiEdRKSt6vectorISt8valarrayIT_ESaIS3_EE(ptr noundef nonnull align 8 dereferenceable(24)) #2

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNSt8valarrayIfEC2ESt16initializer_listIfE(ptr noundef nonnull align 8 dereferenceable(16), ptr, i64) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaISt8valarrayIfEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorISt8valarrayIfESaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24), ptr, i64, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt8valarrayIfED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_Z14determinant_luIfEdRKSt6vectorISt8valarrayIT_ESaIS3_EE(ptr noundef nonnull align 8 dereferenceable(24)) #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorISt8valarrayIfESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorISt8valarrayIiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorISt8valarrayIiEED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorISt8valarrayIfEED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { 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 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 #4 = { inlinehint mustprogress nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #5 = { noreturn 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 #6 = { nounwind }
attributes #7 = { noreturn 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"_ZTSSt16initializer_listIiE", !11, i64 0, !12, i64 8}
!11 = !{!"any pointer", !7, i64 0}
!12 = !{!"long", !7, i64 0}
!13 = !{!10, !12, i64 8}
!14 = !{!15, !11, i64 0}
!15 = !{!"_ZTSSt16initializer_listISt8valarrayIiEE", !11, i64 0, !12, i64 8}
!16 = !{!15, !12, i64 8}
!17 = !{!18, !18, i64 0}
!18 = !{!"float", !7, i64 0}
!19 = !{!20, !11, i64 0}
!20 = !{!"_ZTSSt16initializer_listIfE", !11, i64 0, !12, i64 8}
!21 = !{!20, !12, i64 8}
!22 = !{!23, !11, i64 0}
!23 = !{!"_ZTSSt16initializer_listISt8valarrayIfEE", !11, i64 0, !12, i64 8}
!24 = !{!23, !12, i64 8}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%"class.std::basic_ostream" = type { ptr, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }
%"class.std::vector.0" = type { %"struct.std::_Vector_base.1" }
%"struct.std::_Vector_base.1" = type { %"struct.std::_Vector_base<std::valarray<int>, std::allocator<std::valarray<int>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::valarray<int>, std::allocator<std::valarray<int>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::valarray<int>, std::allocator<std::valarray<int>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::valarray<int>, std::allocator<std::valarray<int>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::valarray.5" = type { i64, ptr }
%"class.std::allocator.2" = type { i8 }
%"class.std::vector.7" = type { %"struct.std::_Vector_base.8" }
%"struct.std::_Vector_base.8" = type { %"struct.std::_Vector_base<std::valarray<float>, std::allocator<std::valarray<float>>>::_Vector_impl" }
%"struct.std::_Vector_base<std::valarray<float>, std::allocator<std::valarray<float>>>::_Vector_impl" = type { %"struct.std::_Vector_base<std::valarray<float>, std::allocator<std::valarray<float>>>::_Vector_impl_data" }
%"struct.std::_Vector_base<std::valarray<float>, std::allocator<std::valarray<float>>>::_Vector_impl_data" = type { ptr, ptr, ptr }
%"class.std::valarray.13" = type { i64, ptr }
%"class.std::allocator.9" = type { i8 }

@_ZSt4cout = external global %"class.std::basic_ostream", align 8
@.str.5 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [26 x i8], align 1
@.str.7 = external hidden unnamed_addr constant [94 x i8], align 1
@__PRETTY_FUNCTION__._Z5test2v = external hidden unnamed_addr constant [13 x i8], align 1
@.str.8 = external hidden unnamed_addr constant [8 x i8], align 1
@.str.9 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.10 = external hidden unnamed_addr constant [24 x i8], align 1
@.str.11 = external hidden unnamed_addr constant [22 x i8], align 1
@.str.12 = external hidden unnamed_addr constant [27 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

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: inlinehint mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8), ptr noundef) local_unnamed_addr #1

; Function Attrs: mustprogress uwtable
define dso_local void @_Z5test2v() local_unnamed_addr #2 personality ptr @__gxx_personality_v0 {
  %1 = alloca %"class.std::vector.0", align 8
  %2 = alloca [3 x %"class.std::valarray.5"], align 8
  %3 = alloca [3 x i32], align 4
  %4 = alloca [3 x i32], align 4
  %5 = alloca [3 x i32], align 4
  %6 = alloca %"class.std::allocator.2", align 1
  %7 = alloca %"class.std::vector.0", align 8
  %8 = alloca [3 x %"class.std::valarray.5"], align 8
  %9 = alloca [3 x i32], align 4
  %10 = alloca [3 x i32], align 4
  %11 = alloca [3 x i32], align 4
  %12 = alloca %"class.std::allocator.2", align 1
  %13 = alloca %"class.std::vector.7", align 8
  %14 = alloca [3 x %"class.std::valarray.13"], align 8
  %15 = alloca [3 x float], align 8
  %16 = alloca [3 x float], align 8
  %17 = alloca [3 x float], align 8
  %18 = alloca %"class.std::allocator.9", align 1
  %19 = tail call noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.5)
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %1) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %2) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %3) #6
  store i32 1, ptr %3, align 4, !tbaa !5
  %20 = getelementptr inbounds i8, ptr %3, i64 4
  store i32 2, ptr %20, align 4, !tbaa !5
  %21 = getelementptr inbounds i8, ptr %3, i64 8
  store i32 3, ptr %21, align 4, !tbaa !5
  invoke void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16) %2, ptr nonnull %3, i64 3)
          to label %22 unwind label %.thread

22:                                               ; preds = %0
  %23 = getelementptr inbounds i8, ptr %2, i64 16
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %4) #6
  store i32 4, ptr %4, align 4, !tbaa !5
  %24 = getelementptr inbounds i8, ptr %4, i64 4
  store i32 9, ptr %24, align 4, !tbaa !5
  %25 = getelementptr inbounds i8, ptr %4, i64 8
  store i32 6, ptr %25, align 4, !tbaa !5
  invoke void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16) %23, ptr nonnull %4, i64 3)
          to label %26 unwind label %.thread109

26:                                               ; preds = %22
  %27 = getelementptr inbounds i8, ptr %2, i64 32
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %5) #6
  store i32 7, ptr %5, align 4, !tbaa !5
  %28 = getelementptr inbounds i8, ptr %5, i64 4
  store i32 8, ptr %28, align 4, !tbaa !5
  %29 = getelementptr inbounds i8, ptr %5, i64 8
  store i32 9, ptr %29, align 4, !tbaa !5
  invoke void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16) %27, ptr nonnull %5, i64 3)
          to label %30 unwind label %43

30:                                               ; preds = %26
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %6) #6
  call void @_ZNSaISt8valarrayIiEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #6
  invoke void @_ZNSt6vectorISt8valarrayIiESaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %1, ptr nonnull %2, i64 3, ptr noundef nonnull align 1 dereferenceable(1) %6)
          to label %31 unwind label %.thread115

31:                                               ; preds = %30
  call void @_ZNSt15__new_allocatorISt8valarrayIiEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #6
  %32 = getelementptr inbounds i8, ptr %2, i64 32
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %32) #6
  %33 = getelementptr inbounds i8, ptr %2, i64 16
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %33) #6
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %2) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %2) #6
  %34 = invoke noundef double @_Z14determinant_luIiEdRKSt6vectorISt8valarrayIT_ESaIS3_EE(ptr noundef nonnull align 8 dereferenceable(24) %1)
          to label %35 unwind label %48

35:                                               ; preds = %31
  %36 = fcmp oeq double %34, -4.800000e+01
  br i1 %36, label %50, label %37

37:                                               ; preds = %35
  call void @__assert_fail(ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.7, i32 noundef 69, ptr noundef nonnull @__PRETTY_FUNCTION__._Z5test2v) #7
  unreachable

.thread:                                          ; preds = %0
  %38 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #6
  br label %.loopexit107

.thread109:                                       ; preds = %22
  %39 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #6
  br label %.preheader106.preheader

.thread115:                                       ; preds = %30
  %40 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt8valarrayIiEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %6) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %6) #6
  %41 = getelementptr inbounds i8, ptr %2, i64 32
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %41) #6
  %42 = getelementptr inbounds i8, ptr %2, i64 16
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %42) #6
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %2) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #6
  br label %.loopexit107

43:                                               ; preds = %26
  %44 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %4) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %3) #6
  br label %.preheader106.preheader

.preheader106.preheader:                          ; preds = %43, %.thread109
  %.036114 = phi ptr [ %23, %.thread109 ], [ %27, %43 ]
  %.pn.pn113 = phi { ptr, i32 } [ %39, %.thread109 ], [ %44, %43 ]
  br label %.preheader106

.preheader106:                                    ; preds = %.preheader106.preheader, %.preheader106
  %45 = phi ptr [ %46, %.preheader106 ], [ %.036114, %.preheader106.preheader ]
  %46 = getelementptr inbounds i8, ptr %45, i64 -16
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %46) #6
  %47 = icmp eq ptr %46, %2
  br i1 %47, label %.loopexit107, label %.preheader106

.loopexit107:                                     ; preds = %.preheader106, %.thread115, %.thread
  %.pn.pn.pn89 = phi { ptr, i32 } [ %38, %.thread ], [ %40, %.thread115 ], [ %.pn.pn113, %.preheader106 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %2) #6
  br label %124

48:                                               ; preds = %52, %50, %31
  %49 = landingpad { ptr, i32 }
          cleanup
  br label %123

50:                                               ; preds = %35
  %51 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.8)
          to label %52 unwind label %48

52:                                               ; preds = %50
  %53 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.9)
          to label %54 unwind label %48

54:                                               ; preds = %52
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %8) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %9) #6
  store i32 1, ptr %9, align 4, !tbaa !5
  %55 = getelementptr inbounds i8, ptr %9, i64 4
  store i32 2, ptr %55, align 4, !tbaa !5
  %56 = getelementptr inbounds i8, ptr %9, i64 8
  store i32 3, ptr %56, align 4, !tbaa !5
  invoke void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16) %8, ptr nonnull %9, i64 3)
          to label %57 unwind label %.thread90

57:                                               ; preds = %54
  %58 = getelementptr inbounds i8, ptr %8, i64 16
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %10) #6
  store i32 4, ptr %10, align 4, !tbaa !5
  %59 = getelementptr inbounds i8, ptr %10, i64 4
  store i32 5, ptr %59, align 4, !tbaa !5
  %60 = getelementptr inbounds i8, ptr %10, i64 8
  store i32 6, ptr %60, align 4, !tbaa !5
  invoke void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16) %58, ptr nonnull %10, i64 3)
          to label %61 unwind label %.thread117

61:                                               ; preds = %57
  %62 = getelementptr inbounds i8, ptr %8, i64 32
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %11) #6
  store i32 7, ptr %11, align 4, !tbaa !5
  %63 = getelementptr inbounds i8, ptr %11, i64 4
  store i32 8, ptr %63, align 4, !tbaa !5
  %64 = getelementptr inbounds i8, ptr %11, i64 8
  store i32 9, ptr %64, align 4, !tbaa !5
  invoke void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16) %62, ptr nonnull %11, i64 3)
          to label %65 unwind label %78

65:                                               ; preds = %61
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %12) #6
  call void @_ZNSaISt8valarrayIiEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #6
  invoke void @_ZNSt6vectorISt8valarrayIiESaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr nonnull %8, i64 3, ptr noundef nonnull align 1 dereferenceable(1) %12)
          to label %66 unwind label %.thread123

66:                                               ; preds = %65
  call void @_ZNSt15__new_allocatorISt8valarrayIiEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #6
  %67 = getelementptr inbounds i8, ptr %8, i64 32
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %67) #6
  %68 = getelementptr inbounds i8, ptr %8, i64 16
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %68) #6
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %9) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #6
  %69 = invoke noundef double @_Z14determinant_luIiEdRKSt6vectorISt8valarrayIT_ESaIS3_EE(ptr noundef nonnull align 8 dereferenceable(24) %7)
          to label %70 unwind label %83

70:                                               ; preds = %66
  %71 = fcmp oeq double %69, 0.000000e+00
  br i1 %71, label %85, label %72

72:                                               ; preds = %70
  call void @__assert_fail(ptr noundef nonnull @.str.10, ptr noundef nonnull @.str.7, i32 noundef 74, ptr noundef nonnull @__PRETTY_FUNCTION__._Z5test2v) #7
  unreachable

.thread90:                                        ; preds = %54
  %73 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %9) #6
  br label %.loopexit104

.thread117:                                       ; preds = %57
  %74 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %9) #6
  br label %.preheader103.preheader

.thread123:                                       ; preds = %65
  %75 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt8valarrayIiEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %12) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %12) #6
  %76 = getelementptr inbounds i8, ptr %8, i64 32
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %76) #6
  %77 = getelementptr inbounds i8, ptr %8, i64 16
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %77) #6
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %8) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %9) #6
  br label %.loopexit104

78:                                               ; preds = %61
  %79 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %10) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %9) #6
  br label %.preheader103.preheader

.preheader103.preheader:                          ; preds = %78, %.thread117
  %.pn71.pn122 = phi { ptr, i32 } [ %74, %.thread117 ], [ %79, %78 ]
  %.058121 = phi ptr [ %58, %.thread117 ], [ %62, %78 ]
  br label %.preheader103

.preheader103:                                    ; preds = %.preheader103.preheader, %.preheader103
  %80 = phi ptr [ %81, %.preheader103 ], [ %.058121, %.preheader103.preheader ]
  %81 = getelementptr inbounds i8, ptr %80, i64 -16
  call void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %81) #6
  %82 = icmp eq ptr %81, %8
  br i1 %82, label %.loopexit104, label %.preheader103

.loopexit104:                                     ; preds = %.preheader103, %.thread123, %.thread90
  %.pn71.pn.pn95 = phi { ptr, i32 } [ %73, %.thread90 ], [ %75, %.thread123 ], [ %.pn71.pn122, %.preheader103 ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %8) #6
  br label %122

83:                                               ; preds = %87, %85, %66
  %84 = landingpad { ptr, i32 }
          cleanup
  br label %121

85:                                               ; preds = %70
  %86 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.8)
          to label %87 unwind label %83

87:                                               ; preds = %85
  %88 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.11)
          to label %89 unwind label %83

89:                                               ; preds = %87
  call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %13) #6
  call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %14) #6
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %15) #6
  store <2 x float> <float 0x3FF3333340000000, float 0x4002666660000000>, ptr %15, align 8, !tbaa !9
  %90 = getelementptr inbounds i8, ptr %15, i64 8
  store float 0x400B333340000000, ptr %90, align 8, !tbaa !9
  invoke void @_ZNSt8valarrayIfEC2ESt16initializer_listIfE(ptr noundef nonnull align 8 dereferenceable(16) %14, ptr nonnull %15, i64 3)
          to label %91 unwind label %.thread96

91:                                               ; preds = %89
  %92 = getelementptr inbounds i8, ptr %14, i64 16
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %16) #6
  store <2 x float> <float 4.500000e+00, float 0x4016666660000000>, ptr %16, align 8, !tbaa !9
  %93 = getelementptr inbounds i8, ptr %16, i64 8
  store float 0x401ACCCCC0000000, ptr %93, align 8, !tbaa !9
  invoke void @_ZNSt8valarrayIfEC2ESt16initializer_listIfE(ptr noundef nonnull align 8 dereferenceable(16) %92, ptr nonnull %16, i64 3)
          to label %94 unwind label %.thread125

94:                                               ; preds = %91
  %95 = getelementptr inbounds i8, ptr %14, i64 32
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %17) #6
  store <2 x float> <float 0x401F333340000000, float 0x4021CCCCC0000000>, ptr %17, align 8, !tbaa !9
  %96 = getelementptr inbounds i8, ptr %17, i64 8
  store float 9.000000e+00, ptr %96, align 8, !tbaa !9
  invoke void @_ZNSt8valarrayIfEC2ESt16initializer_listIfE(ptr noundef nonnull align 8 dereferenceable(16) %95, ptr nonnull %17, i64 3)
          to label %97 unwind label %110

97:                                               ; preds = %94
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %18) #6
  call void @_ZNSaISt8valarrayIfEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #6
  invoke void @_ZNSt6vectorISt8valarrayIfESaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24) %13, ptr nonnull %14, i64 3, ptr noundef nonnull align 1 dereferenceable(1) %18)
          to label %98 unwind label %.thread131

98:                                               ; preds = %97
  call void @_ZNSt15__new_allocatorISt8valarrayIfEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #6
  %99 = getelementptr inbounds i8, ptr %14, i64 32
  call void @_ZNSt8valarrayIfED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %99) #6
  %100 = getelementptr inbounds i8, ptr %14, i64 16
  call void @_ZNSt8valarrayIfED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %100) #6
  call void @_ZNSt8valarrayIfED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %15) #6
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %14) #6
  %101 = invoke noundef double @_Z14determinant_luIfEdRKSt6vectorISt8valarrayIT_ESaIS3_EE(ptr noundef nonnull align 8 dereferenceable(24) %13)
          to label %102 unwind label %115

102:                                              ; preds = %98
  %103 = fcmp oeq double %101, 3.630000e+00
  br i1 %103, label %117, label %104

104:                                              ; preds = %102
  call void @__assert_fail(ptr noundef nonnull @.str.12, ptr noundef nonnull @.str.7, i32 noundef 79, ptr noundef nonnull @__PRETTY_FUNCTION__._Z5test2v) #7
  unreachable

.thread96:                                        ; preds = %89
  %105 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %15) #6
  br label %.loopexit

.thread125:                                       ; preds = %91
  %106 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %15) #6
  br label %.preheader.preheader

.thread131:                                       ; preds = %97
  %107 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt15__new_allocatorISt8valarrayIfEED2Ev(ptr noundef nonnull align 1 dereferenceable(1) %18) #6
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %18) #6
  %108 = getelementptr inbounds i8, ptr %14, i64 32
  call void @_ZNSt8valarrayIfED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %108) #6
  %109 = getelementptr inbounds i8, ptr %14, i64 16
  call void @_ZNSt8valarrayIfED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %109) #6
  call void @_ZNSt8valarrayIfED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %14) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %15) #6
  br label %.loopexit

110:                                              ; preds = %94
  %111 = landingpad { ptr, i32 }
          cleanup
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %17) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %16) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %15) #6
  br label %.preheader.preheader

.preheader.preheader:                             ; preds = %110, %.thread125
  %.pn75.pn130 = phi { ptr, i32 } [ %106, %.thread125 ], [ %111, %110 ]
  %.063129 = phi ptr [ %92, %.thread125 ], [ %95, %110 ]
  br label %.preheader

.preheader:                                       ; preds = %.preheader.preheader, %.preheader
  %112 = phi ptr [ %113, %.preheader ], [ %.063129, %.preheader.preheader ]
  %113 = getelementptr inbounds i8, ptr %112, i64 -16
  call void @_ZNSt8valarrayIfED2Ev(ptr noundef nonnull align 8 dereferenceable(16) %113) #6
  %114 = icmp eq ptr %113, %14
  br i1 %114, label %.loopexit, label %.preheader

.loopexit:                                        ; preds = %.preheader, %.thread131, %.thread96
  %.pn75.pn.pn101 = phi { ptr, i32 } [ %105, %.thread96 ], [ %107, %.thread131 ], [ %.pn75.pn130, %.preheader ]
  call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %14) #6
  br label %120

115:                                              ; preds = %117, %98
  %116 = landingpad { ptr, i32 }
          cleanup
  call void @_ZNSt6vectorISt8valarrayIfESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  br label %120

117:                                              ; preds = %102
  %118 = invoke noundef nonnull align 8 dereferenceable(8) ptr @_ZStlsISt11char_traitsIcEERSt13basic_ostreamIcT_ES5_PKc(ptr noundef nonnull align 8 dereferenceable(8) @_ZSt4cout, ptr noundef nonnull @.str.8)
          to label %119 unwind label %115

119:                                              ; preds = %117
  call void @_ZNSt6vectorISt8valarrayIfESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %13) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #6
  call void @_ZNSt6vectorISt8valarrayIiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #6
  call void @_ZNSt6vectorISt8valarrayIiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %1) #6
  ret void

120:                                              ; preds = %115, %.loopexit
  %.pn79 = phi { ptr, i32 } [ %116, %115 ], [ %.pn75.pn.pn101, %.loopexit ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %13) #6
  br label %121

121:                                              ; preds = %120, %83
  %.pn79.pn = phi { ptr, i32 } [ %.pn79, %120 ], [ %84, %83 ]
  call void @_ZNSt6vectorISt8valarrayIiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %7) #6
  br label %122

122:                                              ; preds = %121, %.loopexit104
  %.pn79.pn.pn = phi { ptr, i32 } [ %.pn79.pn, %121 ], [ %.pn71.pn.pn95, %.loopexit104 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %7) #6
  br label %123

123:                                              ; preds = %122, %48
  %.pn79.pn.pn.pn = phi { ptr, i32 } [ %.pn79.pn.pn, %122 ], [ %49, %48 ]
  call void @_ZNSt6vectorISt8valarrayIiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24) %1) #6
  br label %124

124:                                              ; preds = %123, %.loopexit107
  %.pn79.pn.pn.pn.pn = phi { ptr, i32 } [ %.pn79.pn.pn.pn, %123 ], [ %.pn.pn.pn89, %.loopexit107 ]
  call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %1) #6
  resume { ptr, i32 } %.pn79.pn.pn.pn.pn
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNSt8valarrayIiEC2ESt16initializer_listIiE(ptr noundef nonnull align 8 dereferenceable(16), ptr, i64) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaISt8valarrayIiEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorISt8valarrayIiESaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24), ptr, i64, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt8valarrayIiED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_Z14determinant_luIiEdRKSt6vectorISt8valarrayIT_ESaIS3_EE(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2

; Function Attrs: noreturn nounwind
declare void @__assert_fail(ptr noundef, ptr noundef, i32 noundef, ptr noundef) local_unnamed_addr #5

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNSt8valarrayIfEC2ESt16initializer_listIfE(ptr noundef nonnull align 8 dereferenceable(16), ptr, i64) unnamed_addr #1 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSaISt8valarrayIfEEC2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZNSt6vectorISt8valarrayIfESaIS1_EEC2ESt16initializer_listIS1_ERKS2_(ptr noundef nonnull align 8 dereferenceable(24), ptr, i64, ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_ZNSt8valarrayIfED2Ev(ptr noundef nonnull align 8 dereferenceable(16)) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef double @_Z14determinant_luIfEdRKSt6vectorISt8valarrayIT_ESaIS3_EE(ptr noundef nonnull align 8 dereferenceable(24)) local_unnamed_addr #2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorISt8valarrayIfESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt6vectorISt8valarrayIiESaIS1_EED2Ev(ptr noundef nonnull align 8 dereferenceable(24)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorISt8valarrayIiEED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZNSt15__new_allocatorISt8valarrayIfEED2Ev(ptr noundef nonnull align 1 dereferenceable(1)) unnamed_addr #3 align 2

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


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopSimplifyPass,LoopUnrollPass,SLPVectorizerPass,SROAPass,SimplifyCFGPass,TailCallElimPass