; LLVM IR from nikitakaraevv/ray-tracing-engine :: source/AABB.ll (ZNK4AABB16intersectionTestERK3RayR4Vec3IfES5_)

; 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.Vec3 = type { [3 x float] }
%class.AABB = type { %class.Vec3, %class.Vec3 }

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4AABB12isInsideTestERK4Vec3IfE(ptr noundef nonnull align 4 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(12)) #0 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12), i32 noundef) #2 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK4AABB16intersectionTestERK3RayR4Vec3IfES5_(ptr noundef nonnull align 4 dereferenceable(24) %0, ptr noundef nonnull align 4 dereferenceable(24) %1, ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(12) %3) #0 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca i1, align 1
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca %class.Vec3, align 4
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca i32, align 4
  %14 = alloca float, align 4
  %15 = alloca i32, align 4
  %16 = alloca %class.Vec3, align 4
  %17 = alloca %class.Vec3, align 4
  %18 = alloca %class.Vec3, align 4
  %19 = alloca i32, align 4
  %20 = alloca float, align 4
  %21 = alloca %class.Vec3, align 4
  %22 = alloca %class.Vec3, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  %23 = load ptr, ptr %6, align 8
  %24 = load ptr, ptr %7, align 8, !tbaa !5
  %25 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray6originEv(ptr noundef nonnull align 4 dereferenceable(24) %24)
  %26 = call noundef zeroext i1 @_ZNK4AABB12isInsideTestERK4Vec3IfE(ptr noundef nonnull align 4 dereferenceable(24) %23, ptr noundef nonnull align 4 dereferenceable(12) %25)
  br i1 %26, label %27, label %32

27:                                               ; preds = %4
  %28 = load ptr, ptr %7, align 8, !tbaa !5
  %29 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray6originEv(ptr noundef nonnull align 4 dereferenceable(24) %28)
  %30 = load ptr, ptr %8, align 8, !tbaa !5
  %31 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN4Vec3IfEaSERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %30, ptr noundef nonnull align 4 dereferenceable(12) %29)
  br label %182

32:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 12, ptr %10) #6
  call void @_ZN4Vec3IfEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %10)
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #6
  store i32 0, ptr %11, align 4, !tbaa !9
  br label %33

33:                                               ; preds = %115, %32
  %34 = load i32, ptr %11, align 4, !tbaa !9
  %35 = icmp slt i32 %34, 3
  br i1 %35, label %37, label %36

36:                                               ; preds = %33
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  br label %118

37:                                               ; preds = %33
  %38 = load ptr, ptr %7, align 8, !tbaa !5
  %39 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray9directionEv(ptr noundef nonnull align 4 dereferenceable(24) %38)
          to label %40 unwind label %71

40:                                               ; preds = %37
  %41 = load i32, ptr %11, align 4, !tbaa !9
  %42 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %39, i32 noundef %41)
          to label %43 unwind label %71

43:                                               ; preds = %40
  %44 = load float, ptr %42, align 4, !tbaa !11
  %45 = fcmp ogt float %44, 0.000000e+00
  br i1 %45, label %46, label %75

46:                                               ; preds = %43
  %47 = getelementptr inbounds %class.AABB, ptr %23, i32 0, i32 0
  %48 = load i32, ptr %11, align 4, !tbaa !9
  %49 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %47, i32 noundef %48)
          to label %50 unwind label %71

50:                                               ; preds = %46
  %51 = load float, ptr %49, align 4, !tbaa !11
  %52 = load ptr, ptr %7, align 8, !tbaa !5
  %53 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray6originEv(ptr noundef nonnull align 4 dereferenceable(24) %52)
          to label %54 unwind label %71

54:                                               ; preds = %50
  %55 = load i32, ptr %11, align 4, !tbaa !9
  %56 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %53, i32 noundef %55)
          to label %57 unwind label %71

57:                                               ; preds = %54
  %58 = load float, ptr %56, align 4, !tbaa !11
  %59 = fsub float %51, %58
  %60 = load ptr, ptr %7, align 8, !tbaa !5
  %61 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray9directionEv(ptr noundef nonnull align 4 dereferenceable(24) %60)
          to label %62 unwind label %71

62:                                               ; preds = %57
  %63 = load i32, ptr %11, align 4, !tbaa !9
  %64 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %61, i32 noundef %63)
          to label %65 unwind label %71

65:                                               ; preds = %62
  %66 = load float, ptr %64, align 4, !tbaa !11
  %67 = fdiv float %59, %66
  %68 = load i32, ptr %11, align 4, !tbaa !9
  %69 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %10, i32 noundef %68)
          to label %70 unwind label %71

70:                                               ; preds = %65
  store float %67, ptr %69, align 4, !tbaa !11
  br label %114

71:                                               ; preds = %109, %103, %100, %95, %92, %88, %84, %78, %75, %65, %62, %57, %54, %50, %46, %40, %37
  %72 = landingpad { ptr, i32 }
          cleanup
  %73 = extractvalue { ptr, i32 } %72, 0
  store ptr %73, ptr %12, align 8
  %74 = extractvalue { ptr, i32 } %72, 1
  store i32 %74, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #6
  br label %181

75:                                               ; preds = %43
  %76 = load ptr, ptr %7, align 8, !tbaa !5
  %77 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray9directionEv(ptr noundef nonnull align 4 dereferenceable(24) %76)
          to label %78 unwind label %71

78:                                               ; preds = %75
  %79 = load i32, ptr %11, align 4, !tbaa !9
  %80 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %77, i32 noundef %79)
          to label %81 unwind label %71

81:                                               ; preds = %78
  %82 = load float, ptr %80, align 4, !tbaa !11
  %83 = fcmp olt float %82, 0.000000e+00
  br i1 %83, label %84, label %109

84:                                               ; preds = %81
  %85 = getelementptr inbounds %class.AABB, ptr %23, i32 0, i32 1
  %86 = load i32, ptr %11, align 4, !tbaa !9
  %87 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %85, i32 noundef %86)
          to label %88 unwind label %71

88:                                               ; preds = %84
  %89 = load float, ptr %87, align 4, !tbaa !11
  %90 = load ptr, ptr %7, align 8, !tbaa !5
  %91 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray6originEv(ptr noundef nonnull align 4 dereferenceable(24) %90)
          to label %92 unwind label %71

92:                                               ; preds = %88
  %93 = load i32, ptr %11, align 4, !tbaa !9
  %94 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %91, i32 noundef %93)
          to label %95 unwind label %71

95:                                               ; preds = %92
  %96 = load float, ptr %94, align 4, !tbaa !11
  %97 = fsub float %89, %96
  %98 = load ptr, ptr %7, align 8, !tbaa !5
  %99 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray9directionEv(ptr noundef nonnull align 4 dereferenceable(24) %98)
          to label %100 unwind label %71

100:                                              ; preds = %95
  %101 = load i32, ptr %11, align 4, !tbaa !9
  %102 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %99, i32 noundef %101)
          to label %103 unwind label %71

103:                                              ; preds = %100
  %104 = load float, ptr %102, align 4, !tbaa !11
  %105 = fdiv float %97, %104
  %106 = load i32, ptr %11, align 4, !tbaa !9
  %107 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %10, i32 noundef %106)
          to label %108 unwind label %71

108:                                              ; preds = %103
  store float %105, ptr %107, align 4, !tbaa !11
  br label %113

109:                                              ; preds = %81
  %110 = load i32, ptr %11, align 4, !tbaa !9
  %111 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %10, i32 noundef %110)
          to label %112 unwind label %71

112:                                              ; preds = %109
  store float -1.000000e+00, ptr %111, align 4, !tbaa !11
  br label %113

113:                                              ; preds = %112, %108
  br label %114

114:                                              ; preds = %113, %70
  br label %115

115:                                              ; preds = %114
  %116 = load i32, ptr %11, align 4, !tbaa !9
  %117 = add nsw i32 %116, 1
  store i32 %117, ptr %11, align 4, !tbaa !9
  br label %33, !llvm.loop !13

118:                                              ; preds = %36
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #6
  %119 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %10, i32 noundef 0)
          to label %120 unwind label %137

120:                                              ; preds = %118
  %121 = load float, ptr %119, align 4, !tbaa !11
  %122 = fpext float %121 to double
  %123 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %10, i32 noundef 1)
          to label %124 unwind label %137

124:                                              ; preds = %120
  %125 = load float, ptr %123, align 4, !tbaa !11
  %126 = fpext float %125 to double
  %127 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %10, i32 noundef 2)
          to label %128 unwind label %137

128:                                              ; preds = %124
  %129 = load float, ptr %127, align 4, !tbaa !11
  %130 = fpext float %129 to double
  %131 = call double @llvm.maxnum.f64(double %126, double %130)
  %132 = call double @llvm.maxnum.f64(double %122, double %131)
  %133 = fptrunc double %132 to float
  store float %133, ptr %14, align 4, !tbaa !11
  %134 = load float, ptr %14, align 4, !tbaa !11
  %135 = fcmp olt float %134, 0.000000e+00
  br i1 %135, label %136, label %141

136:                                              ; preds = %128
  store i1 false, ptr %5, align 1
  store i32 1, ptr %15, align 4
  br label %177

137:                                              ; preds = %152, %124, %120, %118
  %138 = landingpad { ptr, i32 }
          cleanup
  %139 = extractvalue { ptr, i32 } %138, 0
  store ptr %139, ptr %12, align 8
  %140 = extractvalue { ptr, i32 } %138, 1
  store i32 %140, ptr %13, align 4
  br label %180

141:                                              ; preds = %128
  call void @llvm.lifetime.start.p0(i64 12, ptr %16) #6
  %142 = load ptr, ptr %7, align 8, !tbaa !5
  %143 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray6originEv(ptr noundef nonnull align 4 dereferenceable(24) %142)
          to label %144 unwind label %157

144:                                              ; preds = %141
  call void @llvm.lifetime.start.p0(i64 12, ptr %17) #6
  %145 = load ptr, ptr %7, align 8, !tbaa !5
  %146 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray9directionEv(ptr noundef nonnull align 4 dereferenceable(24) %145)
          to label %147 unwind label %161

147:                                              ; preds = %144
  invoke void @_ZmlIfE4Vec3IT_ERKS1_RKS2_(ptr dead_on_unwind writable sret(%class.Vec3) align 4 %17, ptr noundef nonnull align 4 dereferenceable(4) %14, ptr noundef nonnull align 4 dereferenceable(12) %146)
          to label %148 unwind label %161

148:                                              ; preds = %147
  invoke void @_ZNK4Vec3IfEplERKS0_(ptr dead_on_unwind writable sret(%class.Vec3) align 4 %16, ptr noundef nonnull align 4 dereferenceable(12) %143, ptr noundef nonnull align 4 dereferenceable(12) %17)
          to label %149 unwind label %165

149:                                              ; preds = %148
  %150 = load ptr, ptr %8, align 8, !tbaa !5
  %151 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZN4Vec3IfEaSERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %150, ptr noundef nonnull align 4 dereferenceable(12) %16)
          to label %152 unwind label %169

152:                                              ; preds = %149
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %16) #6
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %17) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %17) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %16) #6
  %153 = load ptr, ptr %8, align 8, !tbaa !5
  %154 = invoke noundef zeroext i1 @_ZNK4AABB12isInsideTestERK4Vec3IfE(ptr noundef nonnull align 4 dereferenceable(24) %23, ptr noundef nonnull align 4 dereferenceable(12) %153)
          to label %155 unwind label %137

155:                                              ; preds = %152
  br i1 %154, label %176, label %156

156:                                              ; preds = %155
  store i1 false, ptr %5, align 1
  store i32 1, ptr %15, align 4
  br label %177

157:                                              ; preds = %141
  %158 = landingpad { ptr, i32 }
          cleanup
  %159 = extractvalue { ptr, i32 } %158, 0
  store ptr %159, ptr %12, align 8
  %160 = extractvalue { ptr, i32 } %158, 1
  store i32 %160, ptr %13, align 4
  br label %175

161:                                              ; preds = %147, %144
  %162 = landingpad { ptr, i32 }
          cleanup
  %163 = extractvalue { ptr, i32 } %162, 0
  store ptr %163, ptr %12, align 8
  %164 = extractvalue { ptr, i32 } %162, 1
  store i32 %164, ptr %13, align 4
  br label %174

165:                                              ; preds = %148
  %166 = landingpad { ptr, i32 }
          cleanup
  %167 = extractvalue { ptr, i32 } %166, 0
  store ptr %167, ptr %12, align 8
  %168 = extractvalue { ptr, i32 } %166, 1
  store i32 %168, ptr %13, align 4
  br label %173

169:                                              ; preds = %149
  %170 = landingpad { ptr, i32 }
          cleanup
  %171 = extractvalue { ptr, i32 } %170, 0
  store ptr %171, ptr %12, align 8
  %172 = extractvalue { ptr, i32 } %170, 1
  store i32 %172, ptr %13, align 4
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %16) #6
  br label %173

173:                                              ; preds = %169, %165
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %17) #6
  br label %174

174:                                              ; preds = %173, %161
  call void @llvm.lifetime.end.p0(i64 12, ptr %17) #6
  br label %175

175:                                              ; preds = %174, %157
  call void @llvm.lifetime.end.p0(i64 12, ptr %16) #6
  br label %180

176:                                              ; preds = %155
  store i32 0, ptr %15, align 4
  br label %177

177:                                              ; preds = %176, %156, %136
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %10) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %10) #6
  %178 = load i32, ptr %15, align 4
  switch i32 %178, label %327 [
    i32 0, label %179
    i32 1, label %320
  ]

179:                                              ; preds = %177
  br label %182

180:                                              ; preds = %175, %137
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #6
  br label %181

181:                                              ; preds = %180, %71
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %10) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %10) #6
  br label %322

182:                                              ; preds = %179, %27
  call void @llvm.lifetime.start.p0(i64 12, ptr %18) #6
  call void @_ZN4Vec3IfEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %18)
  call void @llvm.lifetime.start.p0(i64 4, ptr %19) #6
  store i32 0, ptr %19, align 4, !tbaa !9
  br label %183

183:                                              ; preds = %265, %182
  %184 = load i32, ptr %19, align 4, !tbaa !9
  %185 = icmp slt i32 %184, 3
  br i1 %185, label %187, label %186

186:                                              ; preds = %183
  store i32 5, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  br label %268

187:                                              ; preds = %183
  %188 = load ptr, ptr %7, align 8, !tbaa !5
  %189 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray9directionEv(ptr noundef nonnull align 4 dereferenceable(24) %188)
          to label %190 unwind label %221

190:                                              ; preds = %187
  %191 = load i32, ptr %19, align 4, !tbaa !9
  %192 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %189, i32 noundef %191)
          to label %193 unwind label %221

193:                                              ; preds = %190
  %194 = load float, ptr %192, align 4, !tbaa !11
  %195 = fcmp ogt float %194, 0.000000e+00
  br i1 %195, label %196, label %225

196:                                              ; preds = %193
  %197 = getelementptr inbounds %class.AABB, ptr %23, i32 0, i32 1
  %198 = load i32, ptr %19, align 4, !tbaa !9
  %199 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %197, i32 noundef %198)
          to label %200 unwind label %221

200:                                              ; preds = %196
  %201 = load float, ptr %199, align 4, !tbaa !11
  %202 = load ptr, ptr %7, align 8, !tbaa !5
  %203 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray6originEv(ptr noundef nonnull align 4 dereferenceable(24) %202)
          to label %204 unwind label %221

204:                                              ; preds = %200
  %205 = load i32, ptr %19, align 4, !tbaa !9
  %206 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %203, i32 noundef %205)
          to label %207 unwind label %221

207:                                              ; preds = %204
  %208 = load float, ptr %206, align 4, !tbaa !11
  %209 = fsub float %201, %208
  %210 = load ptr, ptr %7, align 8, !tbaa !5
  %211 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray9directionEv(ptr noundef nonnull align 4 dereferenceable(24) %210)
          to label %212 unwind label %221

212:                                              ; preds = %207
  %213 = load i32, ptr %19, align 4, !tbaa !9
  %214 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %211, i32 noundef %213)
          to label %215 unwind label %221

215:                                              ; preds = %212
  %216 = load float, ptr %214, align 4, !tbaa !11
  %217 = fdiv float %209, %216
  %218 = load i32, ptr %19, align 4, !tbaa !9
  %219 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %18, i32 noundef %218)
          to label %220 unwind label %221

220:                                              ; preds = %215
  store float %217, ptr %219, align 4, !tbaa !11
  br label %264

221:                                              ; preds = %259, %253, %250, %245, %242, %238, %234, %228, %225, %215, %212, %207, %204, %200, %196, %190, %187
  %222 = landingpad { ptr, i32 }
          cleanup
  %223 = extractvalue { ptr, i32 } %222, 0
  store ptr %223, ptr %12, align 8
  %224 = extractvalue { ptr, i32 } %222, 1
  store i32 %224, ptr %13, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %19) #6
  br label %319

225:                                              ; preds = %193
  %226 = load ptr, ptr %7, align 8, !tbaa !5
  %227 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray9directionEv(ptr noundef nonnull align 4 dereferenceable(24) %226)
          to label %228 unwind label %221

228:                                              ; preds = %225
  %229 = load i32, ptr %19, align 4, !tbaa !9
  %230 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %227, i32 noundef %229)
          to label %231 unwind label %221

231:                                              ; preds = %228
  %232 = load float, ptr %230, align 4, !tbaa !11
  %233 = fcmp olt float %232, 0.000000e+00
  br i1 %233, label %234, label %259

234:                                              ; preds = %231
  %235 = getelementptr inbounds %class.AABB, ptr %23, i32 0, i32 0
  %236 = load i32, ptr %19, align 4, !tbaa !9
  %237 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %235, i32 noundef %236)
          to label %238 unwind label %221

238:                                              ; preds = %234
  %239 = load float, ptr %237, align 4, !tbaa !11
  %240 = load ptr, ptr %7, align 8, !tbaa !5
  %241 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray6originEv(ptr noundef nonnull align 4 dereferenceable(24) %240)
          to label %242 unwind label %221

242:                                              ; preds = %238
  %243 = load i32, ptr %19, align 4, !tbaa !9
  %244 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %241, i32 noundef %243)
          to label %245 unwind label %221

245:                                              ; preds = %242
  %246 = load float, ptr %244, align 4, !tbaa !11
  %247 = fsub float %239, %246
  %248 = load ptr, ptr %7, align 8, !tbaa !5
  %249 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray9directionEv(ptr noundef nonnull align 4 dereferenceable(24) %248)
          to label %250 unwind label %221

250:                                              ; preds = %245
  %251 = load i32, ptr %19, align 4, !tbaa !9
  %252 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %249, i32 noundef %251)
          to label %253 unwind label %221

253:                                              ; preds = %250
  %254 = load float, ptr %252, align 4, !tbaa !11
  %255 = fdiv float %247, %254
  %256 = load i32, ptr %19, align 4, !tbaa !9
  %257 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %18, i32 noundef %256)
          to label %258 unwind label %221

258:                                              ; preds = %253
  store float %255, ptr %257, align 4, !tbaa !11
  br label %263

259:                                              ; preds = %231
  %260 = load i32, ptr %19, align 4, !tbaa !9
  %261 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %18, i32 noundef %260)
          to label %262 unwind label %221

262:                                              ; preds = %259
  store float -1.000000e+00, ptr %261, align 4, !tbaa !11
  br label %263

263:                                              ; preds = %262, %258
  br label %264

264:                                              ; preds = %263, %220
  br label %265

265:                                              ; preds = %264
  %266 = load i32, ptr %19, align 4, !tbaa !9
  %267 = add nsw i32 %266, 1
  store i32 %267, ptr %19, align 4, !tbaa !9
  br label %183, !llvm.loop !15

268:                                              ; preds = %186
  call void @llvm.lifetime.start.p0(i64 4, ptr %20) #6
  %269 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %18, i32 noundef 0)
          to label %270 unwind label %295

270:                                              ; preds = %268
  %271 = load float, ptr %269, align 4, !tbaa !11
  %272 = fpext float %271 to double
  %273 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %18, i32 noundef 1)
          to label %274 unwind label %295

274:                                              ; preds = %270
  %275 = load float, ptr %273, align 4, !tbaa !11
  %276 = fpext float %275 to double
  %277 = invoke noundef nonnull align 4 dereferenceable(4) ptr @_ZN4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %18, i32 noundef 2)
          to label %278 unwind label %295

278:                                              ; preds = %274
  %279 = load float, ptr %277, align 4, !tbaa !11
  %280 = fpext float %279 to double
  %281 = call double @llvm.minnum.f64(double %276, double %280)
  %282 = call double @llvm.minnum.f64(double %272, double %281)
  %283 = fptrunc double %282 to float
  store float %283, ptr %20, align 4, !tbaa !11
  call void @llvm.lifetime.start.p0(i64 12, ptr %21) #6
  %284 = load ptr, ptr %7, align 8, !tbaa !5
  %285 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray6originEv(ptr noundef nonnull align 4 dereferenceable(24) %284)
          to label %286 unwind label %299

286:                                              ; preds = %278
  call void @llvm.lifetime.start.p0(i64 12, ptr %22) #6
  %287 = load ptr, ptr %7, align 8, !tbaa !5
  %288 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray9directionEv(ptr noundef nonnull align 4 dereferenceable(24) %287)
          to label %289 unwind label %303

289:                                              ; preds = %286
  invoke void @_ZmlIfE4Vec3IT_ERKS1_RKS2_(ptr dead_on_unwind writable sret(%class.Vec3) align 4 %22, ptr noundef nonnull align 4 dereferenceable(4) %20, ptr noundef nonnull align 4 dereferenceable(12) %288)
          to label %290 unwind label %303

290:                                              ; preds = %289
  invoke void @_ZNK4Vec3IfEplERKS0_(ptr dead_on_unwind writable sret(%class.Vec3) align 4 %21, ptr noundef nonnull align 4 dereferenceable(12) %285, ptr noundef nonnull align 4 dereferenceable(12) %22)
          to label %291 unwind label %307

291:                                              ; preds = %290
  %292 = load ptr, ptr %9, align 8, !tbaa !5
  %293 = invoke noundef nonnull align 4 dereferenceable(12) ptr @_ZN4Vec3IfEaSERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %292, ptr noundef nonnull align 4 dereferenceable(12) %21)
          to label %294 unwind label %311

294:                                              ; preds = %291
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %21) #6
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %22) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %22) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %21) #6
  store i1 true, ptr %5, align 1
  store i32 1, ptr %15, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %18) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %18) #6
  br label %320

295:                                              ; preds = %274, %270, %268
  %296 = landingpad { ptr, i32 }
          cleanup
  %297 = extractvalue { ptr, i32 } %296, 0
  store ptr %297, ptr %12, align 8
  %298 = extractvalue { ptr, i32 } %296, 1
  store i32 %298, ptr %13, align 4
  br label %318

299:                                              ; preds = %278
  %300 = landingpad { ptr, i32 }
          cleanup
  %301 = extractvalue { ptr, i32 } %300, 0
  store ptr %301, ptr %12, align 8
  %302 = extractvalue { ptr, i32 } %300, 1
  store i32 %302, ptr %13, align 4
  br label %317

303:                                              ; preds = %289, %286
  %304 = landingpad { ptr, i32 }
          cleanup
  %305 = extractvalue { ptr, i32 } %304, 0
  store ptr %305, ptr %12, align 8
  %306 = extractvalue { ptr, i32 } %304, 1
  store i32 %306, ptr %13, align 4
  br label %316

307:                                              ; preds = %290
  %308 = landingpad { ptr, i32 }
          cleanup
  %309 = extractvalue { ptr, i32 } %308, 0
  store ptr %309, ptr %12, align 8
  %310 = extractvalue { ptr, i32 } %308, 1
  store i32 %310, ptr %13, align 4
  br label %315

311:                                              ; preds = %291
  %312 = landingpad { ptr, i32 }
          cleanup
  %313 = extractvalue { ptr, i32 } %312, 0
  store ptr %313, ptr %12, align 8
  %314 = extractvalue { ptr, i32 } %312, 1
  store i32 %314, ptr %13, align 4
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %21) #6
  br label %315

315:                                              ; preds = %311, %307
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %22) #6
  br label %316

316:                                              ; preds = %315, %303
  call void @llvm.lifetime.end.p0(i64 12, ptr %22) #6
  br label %317

317:                                              ; preds = %316, %299
  call void @llvm.lifetime.end.p0(i64 12, ptr %21) #6
  br label %318

318:                                              ; preds = %317, %295
  call void @llvm.lifetime.end.p0(i64 4, ptr %20) #6
  br label %319

319:                                              ; preds = %318, %221
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %18) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr %18) #6
  br label %322

320:                                              ; preds = %294, %177
  %321 = load i1, ptr %5, align 1
  ret i1 %321

322:                                              ; preds = %319, %181
  %323 = load ptr, ptr %12, align 8
  %324 = load i32, ptr %13, align 4
  %325 = insertvalue { ptr, i32 } poison, ptr %323, 0
  %326 = insertvalue { ptr, i32 } %325, i32 %324, 1
  resume { ptr, i32 } %326

327:                                              ; preds = %177
  unreachable
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray6originEv(ptr noundef nonnull align 4 dereferenceable(24)) #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZN4Vec3IfEaSERKS0_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #2 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray9directionEv(ptr noundef nonnull align 4 dereferenceable(24)) #2 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12), i32 noundef) #2 align 2

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK4Vec3IfEplERKS0_(ptr dead_on_unwind noalias writable sret(%class.Vec3) align 4, ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) #4 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZmlIfE4Vec3IT_ERKS1_RKS2_(ptr dead_on_unwind noalias writable sret(%class.Vec3) align 4, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(12)) #4

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12)) unnamed_addr #5 align 2

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

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { 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 #5 = { 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 #6 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !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"

%class.Vec3 = type { [3 x float] }

; Function Attrs: mustprogress uwtable
declare dso_local noundef zeroext i1 @_ZNK4AABB12isInsideTestERK4Vec3IfE(ptr noundef nonnull align 4 dereferenceable(24), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #0 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12), i32 noundef) local_unnamed_addr #2 align 2

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

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_ZNK4AABB16intersectionTestERK3RayR4Vec3IfES5_(ptr noundef nonnull align 4 dereferenceable(24) %0, ptr noundef nonnull align 4 dereferenceable(24) %1, ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(12) %3) local_unnamed_addr #0 align 2 personality ptr @__gxx_personality_v0 {
  %5 = alloca %class.Vec3, align 4
  %6 = alloca float, align 4
  %7 = alloca %class.Vec3, align 4
  %8 = alloca %class.Vec3, align 4
  %9 = alloca %class.Vec3, align 4
  %10 = alloca float, align 4
  %11 = alloca %class.Vec3, align 4
  %12 = alloca %class.Vec3, align 4
  %13 = tail call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray6originEv(ptr noundef nonnull align 4 dereferenceable(24) %1)
  %14 = tail call noundef zeroext i1 @_ZNK4AABB12isInsideTestERK4Vec3IfE(ptr noundef nonnull align 4 dereferenceable(24) %0, ptr noundef nonnull align 4 dereferenceable(12) %13)
  br i1 %14, label %15, label %18

15:                                               ; preds = %4
  %16 = tail call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray6originEv(ptr noundef nonnull align 4 dereferenceable(24) %1)
  %17 = tail call noundef nonnull align 4 dereferenceable(12) ptr @_ZN4Vec3IfEaSERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(12) %16)
  br label %109

18:                                               ; preds = %4
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %5) #6
  call void @_ZN4Vec3IfEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %5)
  %19 = getelementptr inbounds i8, ptr %0, i64 12
  %20 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray9directionEv(ptr noundef nonnull align 4 dereferenceable(24) %1)
  %21 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %20, i32 noundef 0)
  %22 = load float, ptr %21, align 4, !tbaa !5
  %23 = fcmp ogt float %22, 0.000000e+00
  br i1 %23, label %.sink.split, label %24

24:                                               ; preds = %18
  %25 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray9directionEv(ptr noundef nonnull align 4 dereferenceable(24) %1)
  %26 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %25, i32 noundef 0)
  %27 = load float, ptr %26, align 4, !tbaa !5
  %28 = fcmp olt float %27, 0.000000e+00
  br i1 %28, label %.sink.split, label %39

.sink.split:                                      ; preds = %24, %18
  %.sink91 = phi ptr [ %0, %18 ], [ %19, %24 ]
  %29 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %.sink91, i32 noundef 0)
  %30 = load float, ptr %29, align 4, !tbaa !5
  %31 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray6originEv(ptr noundef nonnull align 4 dereferenceable(24) %1)
  %32 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %31, i32 noundef 0)
  %33 = load float, ptr %32, align 4, !tbaa !5
  %34 = fsub float %30, %33
  %35 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray9directionEv(ptr noundef nonnull align 4 dereferenceable(24) %1)
  %36 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %35, i32 noundef 0)
  %37 = load float, ptr %36, align 4, !tbaa !5
  %38 = fdiv float %34, %37
  br label %39

39:                                               ; preds = %.sink.split, %24
  %.sink = phi float [ -1.000000e+00, %24 ], [ %38, %.sink.split ]
  %40 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %5, i32 noundef 0)
  store float %.sink, ptr %40, align 4, !tbaa !5
  %41 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray9directionEv(ptr noundef nonnull align 4 dereferenceable(24) %1)
  %42 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %41, i32 noundef 1)
  %43 = load float, ptr %42, align 4, !tbaa !5
  %44 = fcmp ogt float %43, 0.000000e+00
  br i1 %44, label %.sink.split92, label %45

45:                                               ; preds = %39
  %46 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray9directionEv(ptr noundef nonnull align 4 dereferenceable(24) %1)
  %47 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %46, i32 noundef 1)
  %48 = load float, ptr %47, align 4, !tbaa !5
  %49 = fcmp olt float %48, 0.000000e+00
  br i1 %49, label %.sink.split92, label %60

.sink.split92:                                    ; preds = %39, %45
  %.sink102 = phi ptr [ %19, %45 ], [ %0, %39 ]
  %50 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %.sink102, i32 noundef 1)
  %51 = load float, ptr %50, align 4, !tbaa !5
  %52 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray6originEv(ptr noundef nonnull align 4 dereferenceable(24) %1)
  %53 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %52, i32 noundef 1)
  %54 = load float, ptr %53, align 4, !tbaa !5
  %55 = fsub float %51, %54
  %56 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray9directionEv(ptr noundef nonnull align 4 dereferenceable(24) %1)
  %57 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %56, i32 noundef 1)
  %58 = load float, ptr %57, align 4, !tbaa !5
  %59 = fdiv float %55, %58
  br label %60

60:                                               ; preds = %.sink.split92, %45
  %.sink72 = phi float [ -1.000000e+00, %45 ], [ %59, %.sink.split92 ]
  %61 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %5, i32 noundef 1)
  store float %.sink72, ptr %61, align 4, !tbaa !5
  %62 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray9directionEv(ptr noundef nonnull align 4 dereferenceable(24) %1)
  %63 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %62, i32 noundef 2)
  %64 = load float, ptr %63, align 4, !tbaa !5
  %65 = fcmp ogt float %64, 0.000000e+00
  br i1 %65, label %.sink.split103, label %66

66:                                               ; preds = %60
  %67 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray9directionEv(ptr noundef nonnull align 4 dereferenceable(24) %1)
  %68 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %67, i32 noundef 2)
  %69 = load float, ptr %68, align 4, !tbaa !5
  %70 = fcmp olt float %69, 0.000000e+00
  br i1 %70, label %.sink.split103, label %81

.sink.split103:                                   ; preds = %60, %66
  %.sink113 = phi ptr [ %19, %66 ], [ %0, %60 ]
  %71 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %.sink113, i32 noundef 2)
  %72 = load float, ptr %71, align 4, !tbaa !5
  %73 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray6originEv(ptr noundef nonnull align 4 dereferenceable(24) %1)
  %74 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %73, i32 noundef 2)
  %75 = load float, ptr %74, align 4, !tbaa !5
  %76 = fsub float %72, %75
  %77 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray9directionEv(ptr noundef nonnull align 4 dereferenceable(24) %1)
  %78 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %77, i32 noundef 2)
  %79 = load float, ptr %78, align 4, !tbaa !5
  %80 = fdiv float %76, %79
  br label %81

81:                                               ; preds = %.sink.split103, %66
  %.sink74 = phi float [ -1.000000e+00, %66 ], [ %80, %.sink.split103 ]
  %82 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %5, i32 noundef 2)
  store float %.sink74, ptr %82, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %6) #6
  %83 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %5, i32 noundef 0)
  %84 = load float, ptr %83, align 4, !tbaa !5
  %85 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %5, i32 noundef 1)
  %86 = load float, ptr %85, align 4, !tbaa !5
  %87 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %5, i32 noundef 2)
  %88 = load float, ptr %87, align 4, !tbaa !5
  %89 = call float @llvm.maxnum.f32(float %86, float %88)
  %90 = call float @llvm.maxnum.f32(float %84, float %89)
  store float %90, ptr %6, align 4, !tbaa !5
  %91 = fcmp olt float %90, 0.000000e+00
  br i1 %91, label %.thread, label %94

92:                                               ; preds = %98
  %93 = landingpad { ptr, i32 }
          cleanup
  br label %108

94:                                               ; preds = %81
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %7) #6
  %95 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray6originEv(ptr noundef nonnull align 4 dereferenceable(24) %1)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %8) #6
  %96 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray9directionEv(ptr noundef nonnull align 4 dereferenceable(24) %1)
  invoke void @_ZmlIfE4Vec3IT_ERKS1_RKS2_(ptr dead_on_unwind nonnull writable sret(%class.Vec3) align 4 %8, ptr noundef nonnull align 4 dereferenceable(4) %6, ptr noundef nonnull align 4 dereferenceable(12) %96)
          to label %97 unwind label %102

97:                                               ; preds = %94
  invoke void @_ZNK4Vec3IfEplERKS0_(ptr dead_on_unwind nonnull writable sret(%class.Vec3) align 4 %7, ptr noundef nonnull align 4 dereferenceable(12) %95, ptr noundef nonnull align 4 dereferenceable(12) %8)
          to label %98 unwind label %104

98:                                               ; preds = %97
  %99 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN4Vec3IfEaSERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %2, ptr noundef nonnull align 4 dereferenceable(12) %7)
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %7) #6
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %8) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %7) #6
  %100 = invoke noundef zeroext i1 @_ZNK4AABB12isInsideTestERK4Vec3IfE(ptr noundef nonnull align 4 dereferenceable(24) %0, ptr noundef nonnull align 4 dereferenceable(12) %2)
          to label %101 unwind label %92

101:                                              ; preds = %98
  br i1 %100, label %107, label %.thread

102:                                              ; preds = %94
  %103 = landingpad { ptr, i32 }
          cleanup
  br label %106

104:                                              ; preds = %97
  %105 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %8) #6
  br label %106

106:                                              ; preds = %104, %102
  %.pn = phi { ptr, i32 } [ %105, %104 ], [ %103, %102 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %8) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %7) #6
  br label %108

.thread:                                          ; preds = %81, %101
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #6
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %5) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #6
  br label %192

107:                                              ; preds = %101
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #6
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %5) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #6
  br label %109

108:                                              ; preds = %106, %92
  %.pn62 = phi { ptr, i32 } [ %93, %92 ], [ %.pn, %106 ]
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %6) #6
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %5) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %5) #6
  br label %193

109:                                              ; preds = %107, %15
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %9) #6
  call void @_ZN4Vec3IfEC2Ev(ptr noundef nonnull align 4 dereferenceable(12) %9)
  %110 = getelementptr inbounds i8, ptr %0, i64 12
  %111 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray9directionEv(ptr noundef nonnull align 4 dereferenceable(24) %1)
  %112 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %111, i32 noundef 0)
  %113 = load float, ptr %112, align 4, !tbaa !5
  %114 = fcmp ogt float %113, 0.000000e+00
  br i1 %114, label %.sink.split114, label %115

115:                                              ; preds = %109
  %116 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray9directionEv(ptr noundef nonnull align 4 dereferenceable(24) %1)
  %117 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %116, i32 noundef 0)
  %118 = load float, ptr %117, align 4, !tbaa !5
  %119 = fcmp olt float %118, 0.000000e+00
  br i1 %119, label %.sink.split114, label %130

.sink.split114:                                   ; preds = %115, %109
  %.sink124 = phi ptr [ %110, %109 ], [ %0, %115 ]
  %120 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %.sink124, i32 noundef 0)
  %121 = load float, ptr %120, align 4, !tbaa !5
  %122 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray6originEv(ptr noundef nonnull align 4 dereferenceable(24) %1)
  %123 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %122, i32 noundef 0)
  %124 = load float, ptr %123, align 4, !tbaa !5
  %125 = fsub float %121, %124
  %126 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray9directionEv(ptr noundef nonnull align 4 dereferenceable(24) %1)
  %127 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %126, i32 noundef 0)
  %128 = load float, ptr %127, align 4, !tbaa !5
  %129 = fdiv float %125, %128
  br label %130

130:                                              ; preds = %.sink.split114, %115
  %.sink76 = phi float [ -1.000000e+00, %115 ], [ %129, %.sink.split114 ]
  %131 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %9, i32 noundef 0)
  store float %.sink76, ptr %131, align 4, !tbaa !5
  %132 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray9directionEv(ptr noundef nonnull align 4 dereferenceable(24) %1)
  %133 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %132, i32 noundef 1)
  %134 = load float, ptr %133, align 4, !tbaa !5
  %135 = fcmp ogt float %134, 0.000000e+00
  br i1 %135, label %.sink.split125, label %136

136:                                              ; preds = %130
  %137 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray9directionEv(ptr noundef nonnull align 4 dereferenceable(24) %1)
  %138 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %137, i32 noundef 1)
  %139 = load float, ptr %138, align 4, !tbaa !5
  %140 = fcmp olt float %139, 0.000000e+00
  br i1 %140, label %.sink.split125, label %151

.sink.split125:                                   ; preds = %130, %136
  %.sink135 = phi ptr [ %0, %136 ], [ %110, %130 ]
  %141 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %.sink135, i32 noundef 1)
  %142 = load float, ptr %141, align 4, !tbaa !5
  %143 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray6originEv(ptr noundef nonnull align 4 dereferenceable(24) %1)
  %144 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %143, i32 noundef 1)
  %145 = load float, ptr %144, align 4, !tbaa !5
  %146 = fsub float %142, %145
  %147 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray9directionEv(ptr noundef nonnull align 4 dereferenceable(24) %1)
  %148 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %147, i32 noundef 1)
  %149 = load float, ptr %148, align 4, !tbaa !5
  %150 = fdiv float %146, %149
  br label %151

151:                                              ; preds = %.sink.split125, %136
  %.sink78 = phi float [ -1.000000e+00, %136 ], [ %150, %.sink.split125 ]
  %152 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %9, i32 noundef 1)
  store float %.sink78, ptr %152, align 4, !tbaa !5
  %153 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray9directionEv(ptr noundef nonnull align 4 dereferenceable(24) %1)
  %154 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %153, i32 noundef 2)
  %155 = load float, ptr %154, align 4, !tbaa !5
  %156 = fcmp ogt float %155, 0.000000e+00
  br i1 %156, label %.sink.split136, label %157

157:                                              ; preds = %151
  %158 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray9directionEv(ptr noundef nonnull align 4 dereferenceable(24) %1)
  %159 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %158, i32 noundef 2)
  %160 = load float, ptr %159, align 4, !tbaa !5
  %161 = fcmp olt float %160, 0.000000e+00
  br i1 %161, label %.sink.split136, label %172

.sink.split136:                                   ; preds = %151, %157
  %.sink146 = phi ptr [ %0, %157 ], [ %110, %151 ]
  %162 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %.sink146, i32 noundef 2)
  %163 = load float, ptr %162, align 4, !tbaa !5
  %164 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray6originEv(ptr noundef nonnull align 4 dereferenceable(24) %1)
  %165 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %164, i32 noundef 2)
  %166 = load float, ptr %165, align 4, !tbaa !5
  %167 = fsub float %163, %166
  %168 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray9directionEv(ptr noundef nonnull align 4 dereferenceable(24) %1)
  %169 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZNK4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %168, i32 noundef 2)
  %170 = load float, ptr %169, align 4, !tbaa !5
  %171 = fdiv float %167, %170
  br label %172

172:                                              ; preds = %.sink.split136, %157
  %.sink80 = phi float [ -1.000000e+00, %157 ], [ %171, %.sink.split136 ]
  %173 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %9, i32 noundef 2)
  store float %.sink80, ptr %173, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %10) #6
  %174 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %9, i32 noundef 0)
  %175 = load float, ptr %174, align 4, !tbaa !5
  %176 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %9, i32 noundef 1)
  %177 = load float, ptr %176, align 4, !tbaa !5
  %178 = call noundef nonnull align 4 dereferenceable(4) ptr @_ZN4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12) %9, i32 noundef 2)
  %179 = load float, ptr %178, align 4, !tbaa !5
  %180 = call float @llvm.minnum.f32(float %177, float %179)
  %181 = call float @llvm.minnum.f32(float %175, float %180)
  store float %181, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %11) #6
  %182 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray6originEv(ptr noundef nonnull align 4 dereferenceable(24) %1)
  call void @llvm.lifetime.start.p0(i64 12, ptr nonnull %12) #6
  %183 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray9directionEv(ptr noundef nonnull align 4 dereferenceable(24) %1)
  invoke void @_ZmlIfE4Vec3IT_ERKS1_RKS2_(ptr dead_on_unwind nonnull writable sret(%class.Vec3) align 4 %12, ptr noundef nonnull align 4 dereferenceable(4) %10, ptr noundef nonnull align 4 dereferenceable(12) %183)
          to label %184 unwind label %187

184:                                              ; preds = %172
  invoke void @_ZNK4Vec3IfEplERKS0_(ptr dead_on_unwind nonnull writable sret(%class.Vec3) align 4 %11, ptr noundef nonnull align 4 dereferenceable(12) %182, ptr noundef nonnull align 4 dereferenceable(12) %12)
          to label %185 unwind label %189

185:                                              ; preds = %184
  %186 = call noundef nonnull align 4 dereferenceable(12) ptr @_ZN4Vec3IfEaSERKS0_(ptr noundef nonnull align 4 dereferenceable(12) %3, ptr noundef nonnull align 4 dereferenceable(12) %11)
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %11) #6
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %12) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #6
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %9) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %9) #6
  br label %192

187:                                              ; preds = %172
  %188 = landingpad { ptr, i32 }
          cleanup
  br label %191

189:                                              ; preds = %184
  %190 = landingpad { ptr, i32 }
          cleanup
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %12) #6
  br label %191

191:                                              ; preds = %189, %187
  %.pn64 = phi { ptr, i32 } [ %190, %189 ], [ %188, %187 ]
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %12) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %11) #6
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %10) #6
  call void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12) %9) #6
  call void @llvm.lifetime.end.p0(i64 12, ptr nonnull %9) #6
  br label %193

192:                                              ; preds = %.thread, %185
  %.160 = phi i1 [ true, %185 ], [ false, %.thread ]
  ret i1 %.160

193:                                              ; preds = %191, %108
  %.pn64.pn = phi { ptr, i32 } [ %.pn64, %191 ], [ %.pn62, %108 ]
  resume { ptr, i32 } %.pn64.pn
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray6originEv(ptr noundef nonnull align 4 dereferenceable(24)) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZN4Vec3IfEaSERKS0_(ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #2 align 2

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

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(12) ptr @_ZNK3Ray9directionEv(ptr noundef nonnull align 4 dereferenceable(24)) local_unnamed_addr #2 align 2

declare i32 @__gxx_personality_v0(...)

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef nonnull align 4 dereferenceable(4) ptr @_ZN4Vec3IfEixEi(ptr noundef nonnull align 4 dereferenceable(12), i32 noundef) local_unnamed_addr #2 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZNK4Vec3IfEplERKS0_(ptr dead_on_unwind noalias writable sret(%class.Vec3) align 4, ptr noundef nonnull align 4 dereferenceable(12), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #3 align 2

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZmlIfE4Vec3IT_ERKS1_RKS2_(ptr dead_on_unwind noalias writable sret(%class.Vec3) align 4, ptr noundef nonnull align 4 dereferenceable(4), ptr noundef nonnull align 4 dereferenceable(12)) local_unnamed_addr #3

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @_ZN4Vec3IfED2Ev(ptr noundef nonnull align 4 dereferenceable(12)) unnamed_addr #4 align 2

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

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

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

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"float", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LICMPass,LoopRotatePass,SROAPass,SimplifyCFGPass,TailCallElimPass