; LLVM IR from darnstrom/daqp :: src (daqp)

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

%struct.DAQPWorkspace = type { ptr, i32, i32, i32, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, ptr, double, ptr, ptr, ptr, ptr, i32, ptr, i32, i32, i32, double, ptr, ptr, i32, ptr }

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

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

; Function Attrs: nounwind uwtable
define dso_local void @ldp2qp_solution(ptr noundef %0) #1 {
  %2 = alloca ptr, align 8
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  store ptr %0, ptr %2, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #3
  %6 = load ptr, ptr %2, align 8, !tbaa !5
  %7 = getelementptr inbounds %struct.DAQPWorkspace, ptr %6, i32 0, i32 8
  %8 = load ptr, ptr %7, align 8, !tbaa !9
  %9 = icmp ne ptr %8, null
  br i1 %9, label %10, label %43

10:                                               ; preds = %1
  store i32 0, ptr %3, align 4, !tbaa !13
  br label %11

11:                                               ; preds = %39, %10
  %12 = load i32, ptr %3, align 4, !tbaa !13
  %13 = load ptr, ptr %2, align 8, !tbaa !5
  %14 = getelementptr inbounds %struct.DAQPWorkspace, ptr %13, i32 0, i32 1
  %15 = load i32, ptr %14, align 8, !tbaa !14
  %16 = icmp slt i32 %12, %15
  br i1 %16, label %17, label %42

17:                                               ; preds = %11
  %18 = load ptr, ptr %2, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct.DAQPWorkspace, ptr %18, i32 0, i32 16
  %20 = load ptr, ptr %19, align 8, !tbaa !15
  %21 = load i32, ptr %3, align 4, !tbaa !13
  %22 = sext i32 %21 to i64
  %23 = getelementptr inbounds double, ptr %20, i64 %22
  %24 = load double, ptr %23, align 8, !tbaa !16
  %25 = load ptr, ptr %2, align 8, !tbaa !5
  %26 = getelementptr inbounds %struct.DAQPWorkspace, ptr %25, i32 0, i32 8
  %27 = load ptr, ptr %26, align 8, !tbaa !9
  %28 = load i32, ptr %3, align 4, !tbaa !13
  %29 = sext i32 %28 to i64
  %30 = getelementptr inbounds double, ptr %27, i64 %29
  %31 = load double, ptr %30, align 8, !tbaa !16
  %32 = fsub double %24, %31
  %33 = load ptr, ptr %2, align 8, !tbaa !5
  %34 = getelementptr inbounds %struct.DAQPWorkspace, ptr %33, i32 0, i32 12
  %35 = load ptr, ptr %34, align 8, !tbaa !17
  %36 = load i32, ptr %3, align 4, !tbaa !13
  %37 = sext i32 %36 to i64
  %38 = getelementptr inbounds double, ptr %35, i64 %37
  store double %32, ptr %38, align 8, !tbaa !16
  br label %39

39:                                               ; preds = %17
  %40 = load i32, ptr %3, align 4, !tbaa !13
  %41 = add nsw i32 %40, 1
  store i32 %41, ptr %3, align 4, !tbaa !13
  br label %11, !llvm.loop !18

42:                                               ; preds = %11
  br label %68

43:                                               ; preds = %1
  store i32 0, ptr %3, align 4, !tbaa !13
  br label %44

44:                                               ; preds = %64, %43
  %45 = load i32, ptr %3, align 4, !tbaa !13
  %46 = load ptr, ptr %2, align 8, !tbaa !5
  %47 = getelementptr inbounds %struct.DAQPWorkspace, ptr %46, i32 0, i32 1
  %48 = load i32, ptr %47, align 8, !tbaa !14
  %49 = icmp slt i32 %45, %48
  br i1 %49, label %50, label %67

50:                                               ; preds = %44
  %51 = load ptr, ptr %2, align 8, !tbaa !5
  %52 = getelementptr inbounds %struct.DAQPWorkspace, ptr %51, i32 0, i32 16
  %53 = load ptr, ptr %52, align 8, !tbaa !15
  %54 = load i32, ptr %3, align 4, !tbaa !13
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds double, ptr %53, i64 %55
  %57 = load double, ptr %56, align 8, !tbaa !16
  %58 = load ptr, ptr %2, align 8, !tbaa !5
  %59 = getelementptr inbounds %struct.DAQPWorkspace, ptr %58, i32 0, i32 12
  %60 = load ptr, ptr %59, align 8, !tbaa !17
  %61 = load i32, ptr %3, align 4, !tbaa !13
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds double, ptr %60, i64 %62
  store double %57, ptr %63, align 8, !tbaa !16
  br label %64

64:                                               ; preds = %50
  %65 = load i32, ptr %3, align 4, !tbaa !13
  %66 = add nsw i32 %65, 1
  store i32 %66, ptr %3, align 4, !tbaa !13
  br label %44, !llvm.loop !20

67:                                               ; preds = %44
  br label %68

68:                                               ; preds = %67, %42
  %69 = load ptr, ptr %2, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.DAQPWorkspace, ptr %69, i32 0, i32 7
  %71 = load ptr, ptr %70, align 8, !tbaa !21
  %72 = icmp ne ptr %71, null
  br i1 %72, label %73, label %169

73:                                               ; preds = %68
  store i32 0, ptr %3, align 4, !tbaa !13
  store i32 0, ptr %5, align 4, !tbaa !13
  br label %74

74:                                               ; preds = %133, %73
  %75 = load i32, ptr %3, align 4, !tbaa !13
  %76 = load ptr, ptr %2, align 8, !tbaa !5
  %77 = getelementptr inbounds %struct.DAQPWorkspace, ptr %76, i32 0, i32 1
  %78 = load i32, ptr %77, align 8, !tbaa !14
  %79 = icmp slt i32 %75, %78
  br i1 %79, label %80, label %136

80:                                               ; preds = %74
  %81 = load ptr, ptr %2, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.DAQPWorkspace, ptr %81, i32 0, i32 7
  %83 = load ptr, ptr %82, align 8, !tbaa !21
  %84 = load i32, ptr %5, align 4, !tbaa !13
  %85 = add nsw i32 %84, 1
  store i32 %85, ptr %5, align 4, !tbaa !13
  %86 = sext i32 %84 to i64
  %87 = getelementptr inbounds double, ptr %83, i64 %86
  %88 = load double, ptr %87, align 8, !tbaa !16
  %89 = load ptr, ptr %2, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.DAQPWorkspace, ptr %89, i32 0, i32 12
  %91 = load ptr, ptr %90, align 8, !tbaa !17
  %92 = load i32, ptr %3, align 4, !tbaa !13
  %93 = sext i32 %92 to i64
  %94 = getelementptr inbounds double, ptr %91, i64 %93
  %95 = load double, ptr %94, align 8, !tbaa !16
  %96 = fmul double %95, %88
  store double %96, ptr %94, align 8, !tbaa !16
  %97 = load i32, ptr %3, align 4, !tbaa !13
  %98 = add nsw i32 %97, 1
  store i32 %98, ptr %4, align 4, !tbaa !13
  br label %99

99:                                               ; preds = %129, %80
  %100 = load i32, ptr %4, align 4, !tbaa !13
  %101 = load ptr, ptr %2, align 8, !tbaa !5
  %102 = getelementptr inbounds %struct.DAQPWorkspace, ptr %101, i32 0, i32 1
  %103 = load i32, ptr %102, align 8, !tbaa !14
  %104 = icmp slt i32 %100, %103
  br i1 %104, label %105, label %132

105:                                              ; preds = %99
  %106 = load ptr, ptr %2, align 8, !tbaa !5
  %107 = getelementptr inbounds %struct.DAQPWorkspace, ptr %106, i32 0, i32 7
  %108 = load ptr, ptr %107, align 8, !tbaa !21
  %109 = load i32, ptr %5, align 4, !tbaa !13
  %110 = add nsw i32 %109, 1
  store i32 %110, ptr %5, align 4, !tbaa !13
  %111 = sext i32 %109 to i64
  %112 = getelementptr inbounds double, ptr %108, i64 %111
  %113 = load double, ptr %112, align 8, !tbaa !16
  %114 = load ptr, ptr %2, align 8, !tbaa !5
  %115 = getelementptr inbounds %struct.DAQPWorkspace, ptr %114, i32 0, i32 12
  %116 = load ptr, ptr %115, align 8, !tbaa !17
  %117 = load i32, ptr %4, align 4, !tbaa !13
  %118 = sext i32 %117 to i64
  %119 = getelementptr inbounds double, ptr %116, i64 %118
  %120 = load double, ptr %119, align 8, !tbaa !16
  %121 = load ptr, ptr %2, align 8, !tbaa !5
  %122 = getelementptr inbounds %struct.DAQPWorkspace, ptr %121, i32 0, i32 12
  %123 = load ptr, ptr %122, align 8, !tbaa !17
  %124 = load i32, ptr %3, align 4, !tbaa !13
  %125 = sext i32 %124 to i64
  %126 = getelementptr inbounds double, ptr %123, i64 %125
  %127 = load double, ptr %126, align 8, !tbaa !16
  %128 = call double @llvm.fmuladd.f64(double %113, double %120, double %127)
  store double %128, ptr %126, align 8, !tbaa !16
  br label %129

129:                                              ; preds = %105
  %130 = load i32, ptr %4, align 4, !tbaa !13
  %131 = add nsw i32 %130, 1
  store i32 %131, ptr %4, align 4, !tbaa !13
  br label %99, !llvm.loop !22

132:                                              ; preds = %99
  br label %133

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

136:                                              ; preds = %74
  %137 = load ptr, ptr %2, align 8, !tbaa !5
  %138 = getelementptr inbounds %struct.DAQPWorkspace, ptr %137, i32 0, i32 10
  %139 = load ptr, ptr %138, align 8, !tbaa !24
  %140 = icmp ne ptr %139, null
  br i1 %140, label %141, label %168

141:                                              ; preds = %136
  store i32 0, ptr %3, align 4, !tbaa !13
  br label %142

142:                                              ; preds = %164, %141
  %143 = load i32, ptr %3, align 4, !tbaa !13
  %144 = load ptr, ptr %2, align 8, !tbaa !5
  %145 = getelementptr inbounds %struct.DAQPWorkspace, ptr %144, i32 0, i32 3
  %146 = load i32, ptr %145, align 8, !tbaa !25
  %147 = icmp slt i32 %143, %146
  br i1 %147, label %148, label %167

148:                                              ; preds = %142
  %149 = load ptr, ptr %2, align 8, !tbaa !5
  %150 = getelementptr inbounds %struct.DAQPWorkspace, ptr %149, i32 0, i32 10
  %151 = load ptr, ptr %150, align 8, !tbaa !24
  %152 = load i32, ptr %3, align 4, !tbaa !13
  %153 = sext i32 %152 to i64
  %154 = getelementptr inbounds double, ptr %151, i64 %153
  %155 = load double, ptr %154, align 8, !tbaa !16
  %156 = load ptr, ptr %2, align 8, !tbaa !5
  %157 = getelementptr inbounds %struct.DAQPWorkspace, ptr %156, i32 0, i32 12
  %158 = load ptr, ptr %157, align 8, !tbaa !17
  %159 = load i32, ptr %3, align 4, !tbaa !13
  %160 = sext i32 %159 to i64
  %161 = getelementptr inbounds double, ptr %158, i64 %160
  %162 = load double, ptr %161, align 8, !tbaa !16
  %163 = fdiv double %162, %155
  store double %163, ptr %161, align 8, !tbaa !16
  br label %164

164:                                              ; preds = %148
  %165 = load i32, ptr %3, align 4, !tbaa !13
  %166 = add nsw i32 %165, 1
  store i32 %166, ptr %3, align 4, !tbaa !13
  br label %142, !llvm.loop !26

167:                                              ; preds = %142
  br label %168

168:                                              ; preds = %167, %136
  br label %202

169:                                              ; preds = %68
  %170 = load ptr, ptr %2, align 8, !tbaa !5
  %171 = getelementptr inbounds %struct.DAQPWorkspace, ptr %170, i32 0, i32 11
  %172 = load ptr, ptr %171, align 8, !tbaa !27
  %173 = icmp ne ptr %172, null
  br i1 %173, label %174, label %201

174:                                              ; preds = %169
  store i32 0, ptr %3, align 4, !tbaa !13
  br label %175

175:                                              ; preds = %197, %174
  %176 = load i32, ptr %3, align 4, !tbaa !13
  %177 = load ptr, ptr %2, align 8, !tbaa !5
  %178 = getelementptr inbounds %struct.DAQPWorkspace, ptr %177, i32 0, i32 1
  %179 = load i32, ptr %178, align 8, !tbaa !14
  %180 = icmp slt i32 %176, %179
  br i1 %180, label %181, label %200

181:                                              ; preds = %175
  %182 = load ptr, ptr %2, align 8, !tbaa !5
  %183 = getelementptr inbounds %struct.DAQPWorkspace, ptr %182, i32 0, i32 11
  %184 = load ptr, ptr %183, align 8, !tbaa !27
  %185 = load i32, ptr %3, align 4, !tbaa !13
  %186 = sext i32 %185 to i64
  %187 = getelementptr inbounds double, ptr %184, i64 %186
  %188 = load double, ptr %187, align 8, !tbaa !16
  %189 = load ptr, ptr %2, align 8, !tbaa !5
  %190 = getelementptr inbounds %struct.DAQPWorkspace, ptr %189, i32 0, i32 12
  %191 = load ptr, ptr %190, align 8, !tbaa !17
  %192 = load i32, ptr %3, align 4, !tbaa !13
  %193 = sext i32 %192 to i64
  %194 = getelementptr inbounds double, ptr %191, i64 %193
  %195 = load double, ptr %194, align 8, !tbaa !16
  %196 = fmul double %195, %188
  store double %196, ptr %194, align 8, !tbaa !16
  br label %197

197:                                              ; preds = %181
  %198 = load i32, ptr %3, align 4, !tbaa !13
  %199 = add nsw i32 %198, 1
  store i32 %199, ptr %3, align 4, !tbaa !13
  br label %175, !llvm.loop !28

200:                                              ; preds = %175
  br label %201

201:                                              ; preds = %200, %169
  br label %202

202:                                              ; preds = %201, %168
  %203 = load ptr, ptr %2, align 8, !tbaa !5
  %204 = getelementptr inbounds %struct.DAQPWorkspace, ptr %203, i32 0, i32 10
  %205 = load ptr, ptr %204, align 8, !tbaa !24
  %206 = icmp ne ptr %205, null
  br i1 %206, label %207, label %240

207:                                              ; preds = %202
  store i32 0, ptr %3, align 4, !tbaa !13
  br label %208

208:                                              ; preds = %236, %207
  %209 = load i32, ptr %3, align 4, !tbaa !13
  %210 = load ptr, ptr %2, align 8, !tbaa !5
  %211 = getelementptr inbounds %struct.DAQPWorkspace, ptr %210, i32 0, i32 24
  %212 = load i32, ptr %211, align 8, !tbaa !29
  %213 = icmp slt i32 %209, %212
  br i1 %213, label %214, label %239

214:                                              ; preds = %208
  %215 = load ptr, ptr %2, align 8, !tbaa !5
  %216 = getelementptr inbounds %struct.DAQPWorkspace, ptr %215, i32 0, i32 10
  %217 = load ptr, ptr %216, align 8, !tbaa !24
  %218 = load ptr, ptr %2, align 8, !tbaa !5
  %219 = getelementptr inbounds %struct.DAQPWorkspace, ptr %218, i32 0, i32 23
  %220 = load ptr, ptr %219, align 8, !tbaa !30
  %221 = load i32, ptr %3, align 4, !tbaa !13
  %222 = sext i32 %221 to i64
  %223 = getelementptr inbounds i32, ptr %220, i64 %222
  %224 = load i32, ptr %223, align 4, !tbaa !13
  %225 = sext i32 %224 to i64
  %226 = getelementptr inbounds double, ptr %217, i64 %225
  %227 = load double, ptr %226, align 8, !tbaa !16
  %228 = load ptr, ptr %2, align 8, !tbaa !5
  %229 = getelementptr inbounds %struct.DAQPWorkspace, ptr %228, i32 0, i32 15
  %230 = load ptr, ptr %229, align 8, !tbaa !31
  %231 = load i32, ptr %3, align 4, !tbaa !13
  %232 = sext i32 %231 to i64
  %233 = getelementptr inbounds double, ptr %230, i64 %232
  %234 = load double, ptr %233, align 8, !tbaa !16
  %235 = fmul double %234, %227
  store double %235, ptr %233, align 8, !tbaa !16
  br label %236

236:                                              ; preds = %214
  %237 = load i32, ptr %3, align 4, !tbaa !13
  %238 = add nsw i32 %237, 1
  store i32 %238, ptr %3, align 4, !tbaa !13
  br label %208, !llvm.loop !32

239:                                              ; preds = %208
  br label %240

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

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !6, i64 56}
!10 = !{!"", !6, i64 0, !11, i64 8, !11, i64 12, !11, i64 16, !6, i64 24, !6, i64 32, !6, i64 40, !6, i64 48, !6, i64 56, !6, i64 64, !6, i64 72, !6, i64 80, !6, i64 88, !6, i64 96, !6, i64 104, !6, i64 112, !6, i64 120, !12, i64 128, !6, i64 136, !6, i64 144, !6, i64 152, !6, i64 160, !11, i64 168, !6, i64 176, !11, i64 184, !11, i64 188, !11, i64 192, !12, i64 200, !6, i64 208, !6, i64 216, !11, i64 224, !6, i64 232}
!11 = !{!"int", !7, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!11, !11, i64 0}
!14 = !{!10, !11, i64 8}
!15 = !{!10, !6, i64 120}
!16 = !{!12, !12, i64 0}
!17 = !{!10, !6, i64 88}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}
!21 = !{!10, !6, i64 48}
!22 = distinct !{!22, !19}
!23 = distinct !{!23, !19}
!24 = !{!10, !6, i64 72}
!25 = !{!10, !11, i64 16}
!26 = distinct !{!26, !19}
!27 = !{!10, !6, i64 80}
!28 = distinct !{!28, !19}
!29 = !{!10, !11, i64 184}
!30 = !{!10, !6, i64 176}
!31 = !{!10, !6, i64 112}
!32 = distinct !{!32, !19}


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

; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable
define dso_local void @ldp2qp_solution(ptr nocapture noundef readonly %0) local_unnamed_addr #0 {
  %2 = getelementptr inbounds i8, ptr %0, i64 56
  %3 = load ptr, ptr %2, align 8, !tbaa !5
  %4 = ptrtoint ptr %3 to i64
  %.not = icmp eq ptr %3, null
  %5 = getelementptr inbounds i8, ptr %0, i64 8
  %6 = load i32, ptr %5, align 8, !tbaa !12
  %7 = icmp sgt i32 %6, 0
  br i1 %.not, label %.preheader72, label %.preheader74

.preheader74:                                     ; preds = %1
  br i1 %7, label %.lr.ph, label %.loopexit73

.lr.ph:                                           ; preds = %.preheader74
  %8 = getelementptr inbounds i8, ptr %0, i64 120
  %9 = load ptr, ptr %8, align 8, !tbaa !13
  %10 = getelementptr inbounds i8, ptr %0, i64 88
  %11 = load ptr, ptr %10, align 8, !tbaa !14
  %wide.trip.count = zext nneg i32 %6 to i64
  %min.iters.check = icmp ult i32 %6, 8
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.memcheck

scalar.ph.preheader:                              ; preds = %middle.block, %vector.memcheck, %.lr.ph
  %indvars.iv.ph = phi i64 [ 0, %vector.memcheck ], [ 0, %.lr.ph ], [ %n.vec, %middle.block ]
  %xtraiter = and i64 %wide.trip.count, 3
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %scalar.ph.prol.loopexit, label %scalar.ph.prol

scalar.ph.prol:                                   ; preds = %scalar.ph.preheader, %scalar.ph.prol
  %indvars.iv.prol = phi i64 [ %indvars.iv.next.prol, %scalar.ph.prol ], [ %indvars.iv.ph, %scalar.ph.preheader ]
  %prol.iter = phi i64 [ %prol.iter.next, %scalar.ph.prol ], [ 0, %scalar.ph.preheader ]
  %12 = getelementptr inbounds double, ptr %9, i64 %indvars.iv.prol
  %13 = load double, ptr %12, align 8, !tbaa !15
  %14 = getelementptr inbounds double, ptr %3, i64 %indvars.iv.prol
  %15 = load double, ptr %14, align 8, !tbaa !15
  %16 = fsub double %13, %15
  %17 = getelementptr inbounds double, ptr %11, i64 %indvars.iv.prol
  store double %16, ptr %17, align 8, !tbaa !15
  %indvars.iv.next.prol = add nuw nsw i64 %indvars.iv.prol, 1
  %prol.iter.next = add i64 %prol.iter, 1
  %prol.iter.cmp.not = icmp eq i64 %prol.iter.next, %xtraiter
  br i1 %prol.iter.cmp.not, label %scalar.ph.prol.loopexit, label %scalar.ph.prol, !llvm.loop !16

scalar.ph.prol.loopexit:                          ; preds = %scalar.ph.prol, %scalar.ph.preheader
  %indvars.iv.unr = phi i64 [ %indvars.iv.ph, %scalar.ph.preheader ], [ %indvars.iv.next.prol, %scalar.ph.prol ]
  %18 = sub nsw i64 %indvars.iv.ph, %wide.trip.count
  %19 = icmp ugt i64 %18, -4
  br i1 %19, label %.loopexit73, label %scalar.ph

vector.memcheck:                                  ; preds = %.lr.ph
  %20 = ptrtoint ptr %11 to i64
  %21 = ptrtoint ptr %9 to i64
  %22 = sub i64 %20, %21
  %diff.check = icmp ult i64 %22, 32
  %23 = sub i64 %20, %4
  %diff.check136 = icmp ult i64 %23, 32
  %conflict.rdx = or i1 %diff.check, %diff.check136
  br i1 %conflict.rdx, label %scalar.ph.preheader, label %vector.ph

vector.ph:                                        ; preds = %vector.memcheck
  %n.vec = and i64 %wide.trip.count, 2147483644
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %24 = getelementptr inbounds double, ptr %9, i64 %index
  %25 = getelementptr inbounds i8, ptr %24, i64 16
  %wide.load = load <2 x double>, ptr %24, align 8, !tbaa !15
  %wide.load137 = load <2 x double>, ptr %25, align 8, !tbaa !15
  %26 = getelementptr inbounds double, ptr %3, i64 %index
  %27 = getelementptr inbounds i8, ptr %26, i64 16
  %wide.load138 = load <2 x double>, ptr %26, align 8, !tbaa !15
  %wide.load139 = load <2 x double>, ptr %27, align 8, !tbaa !15
  %28 = fsub <2 x double> %wide.load, %wide.load138
  %29 = fsub <2 x double> %wide.load137, %wide.load139
  %30 = getelementptr inbounds double, ptr %11, i64 %index
  %31 = getelementptr inbounds i8, ptr %30, i64 16
  store <2 x double> %28, ptr %30, align 8, !tbaa !15
  store <2 x double> %29, ptr %31, align 8, !tbaa !15
  %index.next = add nuw i64 %index, 4
  %32 = icmp eq i64 %index.next, %n.vec
  br i1 %32, label %middle.block, label %vector.body, !llvm.loop !18

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %wide.trip.count
  br i1 %cmp.n, label %.loopexit73, label %scalar.ph.preheader

.preheader72:                                     ; preds = %1
  br i1 %7, label %.lr.ph78, label %.loopexit73

.lr.ph78:                                         ; preds = %.preheader72
  %33 = getelementptr inbounds i8, ptr %0, i64 120
  %34 = load ptr, ptr %33, align 8, !tbaa !13
  %35 = getelementptr inbounds i8, ptr %0, i64 88
  %36 = load ptr, ptr %35, align 8, !tbaa !14
  %wide.trip.count99 = zext nneg i32 %6 to i64
  %min.iters.check144 = icmp ult i32 %6, 6
  %37 = ptrtoint ptr %36 to i64
  %38 = ptrtoint ptr %34 to i64
  %39 = sub i64 %37, %38
  %diff.check141 = icmp ult i64 %39, 32
  %or.cond193 = select i1 %min.iters.check144, i1 true, i1 %diff.check141
  br i1 %or.cond193, label %scalar.ph143.preheader, label %vector.ph145

scalar.ph143.preheader:                           ; preds = %middle.block142, %.lr.ph78
  %indvars.iv96.ph = phi i64 [ 0, %.lr.ph78 ], [ %n.vec147, %middle.block142 ]
  %xtraiter196 = and i64 %wide.trip.count99, 3
  %lcmp.mod197.not = icmp eq i64 %xtraiter196, 0
  br i1 %lcmp.mod197.not, label %scalar.ph143.prol.loopexit, label %scalar.ph143.prol

scalar.ph143.prol:                                ; preds = %scalar.ph143.preheader, %scalar.ph143.prol
  %indvars.iv96.prol = phi i64 [ %indvars.iv.next97.prol, %scalar.ph143.prol ], [ %indvars.iv96.ph, %scalar.ph143.preheader ]
  %prol.iter198 = phi i64 [ %prol.iter198.next, %scalar.ph143.prol ], [ 0, %scalar.ph143.preheader ]
  %40 = getelementptr inbounds double, ptr %34, i64 %indvars.iv96.prol
  %41 = load double, ptr %40, align 8, !tbaa !15
  %42 = getelementptr inbounds double, ptr %36, i64 %indvars.iv96.prol
  store double %41, ptr %42, align 8, !tbaa !15
  %indvars.iv.next97.prol = add nuw nsw i64 %indvars.iv96.prol, 1
  %prol.iter198.next = add i64 %prol.iter198, 1
  %prol.iter198.cmp.not = icmp eq i64 %prol.iter198.next, %xtraiter196
  br i1 %prol.iter198.cmp.not, label %scalar.ph143.prol.loopexit, label %scalar.ph143.prol, !llvm.loop !22

scalar.ph143.prol.loopexit:                       ; preds = %scalar.ph143.prol, %scalar.ph143.preheader
  %indvars.iv96.unr = phi i64 [ %indvars.iv96.ph, %scalar.ph143.preheader ], [ %indvars.iv.next97.prol, %scalar.ph143.prol ]
  %43 = sub nsw i64 %indvars.iv96.ph, %wide.trip.count99
  %44 = icmp ugt i64 %43, -4
  br i1 %44, label %.loopexit73, label %scalar.ph143

vector.ph145:                                     ; preds = %.lr.ph78
  %n.vec147 = and i64 %wide.trip.count99, 2147483644
  br label %vector.body149

vector.body149:                                   ; preds = %vector.body149, %vector.ph145
  %index150 = phi i64 [ 0, %vector.ph145 ], [ %index.next153, %vector.body149 ]
  %45 = getelementptr inbounds double, ptr %34, i64 %index150
  %46 = getelementptr inbounds i8, ptr %45, i64 16
  %wide.load151 = load <2 x double>, ptr %45, align 8, !tbaa !15
  %wide.load152 = load <2 x double>, ptr %46, align 8, !tbaa !15
  %47 = getelementptr inbounds double, ptr %36, i64 %index150
  %48 = getelementptr inbounds i8, ptr %47, i64 16
  store <2 x double> %wide.load151, ptr %47, align 8, !tbaa !15
  store <2 x double> %wide.load152, ptr %48, align 8, !tbaa !15
  %index.next153 = add nuw i64 %index150, 4
  %49 = icmp eq i64 %index.next153, %n.vec147
  br i1 %49, label %middle.block142, label %vector.body149, !llvm.loop !23

middle.block142:                                  ; preds = %vector.body149
  %cmp.n154 = icmp eq i64 %n.vec147, %wide.trip.count99
  br i1 %cmp.n154, label %.loopexit73, label %scalar.ph143.preheader

scalar.ph:                                        ; preds = %scalar.ph.prol.loopexit, %scalar.ph
  %indvars.iv = phi i64 [ %indvars.iv.next.3, %scalar.ph ], [ %indvars.iv.unr, %scalar.ph.prol.loopexit ]
  %50 = getelementptr inbounds double, ptr %9, i64 %indvars.iv
  %51 = load double, ptr %50, align 8, !tbaa !15
  %52 = getelementptr inbounds double, ptr %3, i64 %indvars.iv
  %53 = load double, ptr %52, align 8, !tbaa !15
  %54 = fsub double %51, %53
  %55 = getelementptr inbounds double, ptr %11, i64 %indvars.iv
  store double %54, ptr %55, align 8, !tbaa !15
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %56 = getelementptr inbounds double, ptr %9, i64 %indvars.iv.next
  %57 = load double, ptr %56, align 8, !tbaa !15
  %58 = getelementptr inbounds double, ptr %3, i64 %indvars.iv.next
  %59 = load double, ptr %58, align 8, !tbaa !15
  %60 = fsub double %57, %59
  %61 = getelementptr inbounds double, ptr %11, i64 %indvars.iv.next
  store double %60, ptr %61, align 8, !tbaa !15
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %62 = getelementptr inbounds double, ptr %9, i64 %indvars.iv.next.1
  %63 = load double, ptr %62, align 8, !tbaa !15
  %64 = getelementptr inbounds double, ptr %3, i64 %indvars.iv.next.1
  %65 = load double, ptr %64, align 8, !tbaa !15
  %66 = fsub double %63, %65
  %67 = getelementptr inbounds double, ptr %11, i64 %indvars.iv.next.1
  store double %66, ptr %67, align 8, !tbaa !15
  %indvars.iv.next.2 = add nuw nsw i64 %indvars.iv, 3
  %68 = getelementptr inbounds double, ptr %9, i64 %indvars.iv.next.2
  %69 = load double, ptr %68, align 8, !tbaa !15
  %70 = getelementptr inbounds double, ptr %3, i64 %indvars.iv.next.2
  %71 = load double, ptr %70, align 8, !tbaa !15
  %72 = fsub double %69, %71
  %73 = getelementptr inbounds double, ptr %11, i64 %indvars.iv.next.2
  store double %72, ptr %73, align 8, !tbaa !15
  %indvars.iv.next.3 = add nuw nsw i64 %indvars.iv, 4
  %exitcond.not.3 = icmp eq i64 %indvars.iv.next.3, %wide.trip.count
  br i1 %exitcond.not.3, label %.loopexit73, label %scalar.ph, !llvm.loop !24

scalar.ph143:                                     ; preds = %scalar.ph143.prol.loopexit, %scalar.ph143
  %indvars.iv96 = phi i64 [ %indvars.iv.next97.3, %scalar.ph143 ], [ %indvars.iv96.unr, %scalar.ph143.prol.loopexit ]
  %74 = getelementptr inbounds double, ptr %34, i64 %indvars.iv96
  %75 = load double, ptr %74, align 8, !tbaa !15
  %76 = getelementptr inbounds double, ptr %36, i64 %indvars.iv96
  store double %75, ptr %76, align 8, !tbaa !15
  %indvars.iv.next97 = add nuw nsw i64 %indvars.iv96, 1
  %77 = getelementptr inbounds double, ptr %34, i64 %indvars.iv.next97
  %78 = load double, ptr %77, align 8, !tbaa !15
  %79 = getelementptr inbounds double, ptr %36, i64 %indvars.iv.next97
  store double %78, ptr %79, align 8, !tbaa !15
  %indvars.iv.next97.1 = add nuw nsw i64 %indvars.iv96, 2
  %80 = getelementptr inbounds double, ptr %34, i64 %indvars.iv.next97.1
  %81 = load double, ptr %80, align 8, !tbaa !15
  %82 = getelementptr inbounds double, ptr %36, i64 %indvars.iv.next97.1
  store double %81, ptr %82, align 8, !tbaa !15
  %indvars.iv.next97.2 = add nuw nsw i64 %indvars.iv96, 3
  %83 = getelementptr inbounds double, ptr %34, i64 %indvars.iv.next97.2
  %84 = load double, ptr %83, align 8, !tbaa !15
  %85 = getelementptr inbounds double, ptr %36, i64 %indvars.iv.next97.2
  store double %84, ptr %85, align 8, !tbaa !15
  %indvars.iv.next97.3 = add nuw nsw i64 %indvars.iv96, 4
  %exitcond100.not.3 = icmp eq i64 %indvars.iv.next97.3, %wide.trip.count99
  br i1 %exitcond100.not.3, label %.loopexit73, label %scalar.ph143, !llvm.loop !25

.loopexit73:                                      ; preds = %scalar.ph.prol.loopexit, %scalar.ph, %scalar.ph143.prol.loopexit, %scalar.ph143, %middle.block, %middle.block142, %.preheader74, %.preheader72
  %86 = getelementptr inbounds i8, ptr %0, i64 48
  %87 = load ptr, ptr %86, align 8, !tbaa !26
  %.not62 = icmp eq ptr %87, null
  br i1 %.not62, label %149, label %.preheader71

.preheader71:                                     ; preds = %.loopexit73
  %88 = icmp sgt i32 %6, 0
  br i1 %88, label %.lr.ph85, label %._crit_edge

.lr.ph85:                                         ; preds = %.preheader71
  %89 = getelementptr inbounds i8, ptr %0, i64 88
  %90 = load ptr, ptr %89, align 8, !tbaa !14
  %91 = zext nneg i32 %6 to i64
  %wide.trip.count115 = zext nneg i32 %6 to i64
  br label %93

.loopexit70.loopexit:                             ; preds = %102
  %92 = trunc nsw i64 %indvars.iv.next102 to i32
  br label %.loopexit70

.loopexit70:                                      ; preds = %.loopexit70.loopexit, %93
  %.1.lcssa = phi i32 [ %.179, %93 ], [ %92, %.loopexit70.loopexit ]
  %indvars.iv.next104 = add nuw nsw i64 %indvars.iv103, 1
  %exitcond116.not = icmp eq i64 %indvars.iv.next113, %wide.trip.count115
  br i1 %exitcond116.not, label %._crit_edge, label %93, !llvm.loop !27

93:                                               ; preds = %.lr.ph85, %.loopexit70
  %indvars.iv112 = phi i64 [ 0, %.lr.ph85 ], [ %indvars.iv.next113, %.loopexit70 ]
  %indvars.iv103 = phi i64 [ 1, %.lr.ph85 ], [ %indvars.iv.next104, %.loopexit70 ]
  %.084 = phi i32 [ 0, %.lr.ph85 ], [ %.1.lcssa, %.loopexit70 ]
  %94 = sext i32 %.084 to i64
  %95 = getelementptr inbounds double, ptr %87, i64 %94
  %96 = load double, ptr %95, align 8, !tbaa !15
  %97 = getelementptr inbounds double, ptr %90, i64 %indvars.iv112
  %98 = load double, ptr %97, align 8, !tbaa !15
  %99 = fmul double %96, %98
  store double %99, ptr %97, align 8, !tbaa !15
  %indvars.iv.next113 = add nuw nsw i64 %indvars.iv112, 1
  %.179 = add i32 %.084, 1
  %100 = icmp ult i64 %indvars.iv.next113, %91
  br i1 %100, label %.lr.ph82, label %.loopexit70

.lr.ph82:                                         ; preds = %93
  %101 = sext i32 %.179 to i64
  br label %102

102:                                              ; preds = %.lr.ph82, %102
  %indvars.iv105 = phi i64 [ %indvars.iv103, %.lr.ph82 ], [ %indvars.iv.next106, %102 ]
  %indvars.iv101 = phi i64 [ %101, %.lr.ph82 ], [ %indvars.iv.next102, %102 ]
  %103 = phi double [ %99, %.lr.ph82 ], [ %108, %102 ]
  %104 = getelementptr inbounds double, ptr %87, i64 %indvars.iv101
  %105 = load double, ptr %104, align 8, !tbaa !15
  %106 = getelementptr inbounds double, ptr %90, i64 %indvars.iv105
  %107 = load double, ptr %106, align 8, !tbaa !15
  %108 = tail call double @llvm.fmuladd.f64(double %105, double %107, double %103)
  store double %108, ptr %97, align 8, !tbaa !15
  %indvars.iv.next106 = add nuw nsw i64 %indvars.iv105, 1
  %indvars.iv.next102 = add nsw i64 %indvars.iv101, 1
  %exitcond111.not = icmp eq i64 %indvars.iv.next106, %wide.trip.count115
  br i1 %exitcond111.not, label %.loopexit70.loopexit, label %102, !llvm.loop !28

._crit_edge:                                      ; preds = %.loopexit70, %.preheader71
  %109 = getelementptr inbounds i8, ptr %0, i64 72
  %110 = load ptr, ptr %109, align 8, !tbaa !29
  %.not64 = icmp eq ptr %110, null
  br i1 %.not64, label %.loopexit67, label %.preheader68

.preheader68:                                     ; preds = %._crit_edge
  %111 = getelementptr inbounds i8, ptr %0, i64 16
  %112 = load i32, ptr %111, align 8, !tbaa !30
  %113 = icmp sgt i32 %112, 0
  br i1 %113, label %.lr.ph87, label %.loopexit67

.lr.ph87:                                         ; preds = %.preheader68
  %114 = getelementptr inbounds i8, ptr %0, i64 88
  %115 = load ptr, ptr %114, align 8, !tbaa !14
  %wide.trip.count120 = zext nneg i32 %112 to i64
  %min.iters.check159 = icmp eq i32 %112, 1
  br i1 %min.iters.check159, label %scalar.ph158.preheader, label %vector.memcheck155

vector.memcheck155:                               ; preds = %.lr.ph87
  %116 = shl nuw nsw i64 %wide.trip.count120, 3
  %scevgep = getelementptr i8, ptr %115, i64 %116
  %scevgep156 = getelementptr i8, ptr %110, i64 %116
  %bound0 = icmp ult ptr %115, %scevgep156
  %bound1 = icmp ult ptr %110, %scevgep
  %found.conflict = and i1 %bound0, %bound1
  br i1 %found.conflict, label %scalar.ph158.preheader, label %vector.ph160

vector.ph160:                                     ; preds = %vector.memcheck155
  %n.vec162 = and i64 %wide.trip.count120, 2147483646
  br label %vector.body164

vector.body164:                                   ; preds = %vector.body164, %vector.ph160
  %index165 = phi i64 [ 0, %vector.ph160 ], [ %index.next168, %vector.body164 ]
  %117 = getelementptr inbounds double, ptr %110, i64 %index165
  %wide.load166 = load <2 x double>, ptr %117, align 8, !tbaa !15, !alias.scope !31
  %118 = getelementptr inbounds double, ptr %115, i64 %index165
  %wide.load167 = load <2 x double>, ptr %118, align 8, !tbaa !15, !alias.scope !34, !noalias !31
  %119 = fdiv <2 x double> %wide.load167, %wide.load166
  store <2 x double> %119, ptr %118, align 8, !tbaa !15, !alias.scope !34, !noalias !31
  %index.next168 = add nuw i64 %index165, 2
  %120 = icmp eq i64 %index.next168, %n.vec162
  br i1 %120, label %middle.block157, label %vector.body164, !llvm.loop !36

middle.block157:                                  ; preds = %vector.body164
  %cmp.n169 = icmp eq i64 %n.vec162, %wide.trip.count120
  br i1 %cmp.n169, label %.loopexit67, label %scalar.ph158.preheader

scalar.ph158.preheader:                           ; preds = %middle.block157, %vector.memcheck155, %.lr.ph87
  %indvars.iv117.ph = phi i64 [ 0, %vector.memcheck155 ], [ 0, %.lr.ph87 ], [ %n.vec162, %middle.block157 ]
  %121 = sub nsw i64 %wide.trip.count120, %indvars.iv117.ph
  %xtraiter199 = and i64 %121, 3
  %lcmp.mod200.not = icmp eq i64 %xtraiter199, 0
  br i1 %lcmp.mod200.not, label %scalar.ph158.prol.loopexit, label %scalar.ph158.prol

scalar.ph158.prol:                                ; preds = %scalar.ph158.preheader, %scalar.ph158.prol
  %indvars.iv117.prol = phi i64 [ %indvars.iv.next118.prol, %scalar.ph158.prol ], [ %indvars.iv117.ph, %scalar.ph158.preheader ]
  %prol.iter201 = phi i64 [ %prol.iter201.next, %scalar.ph158.prol ], [ 0, %scalar.ph158.preheader ]
  %122 = getelementptr inbounds double, ptr %110, i64 %indvars.iv117.prol
  %123 = load double, ptr %122, align 8, !tbaa !15
  %124 = getelementptr inbounds double, ptr %115, i64 %indvars.iv117.prol
  %125 = load double, ptr %124, align 8, !tbaa !15
  %126 = fdiv double %125, %123
  store double %126, ptr %124, align 8, !tbaa !15
  %indvars.iv.next118.prol = add nuw nsw i64 %indvars.iv117.prol, 1
  %prol.iter201.next = add i64 %prol.iter201, 1
  %prol.iter201.cmp.not = icmp eq i64 %prol.iter201.next, %xtraiter199
  br i1 %prol.iter201.cmp.not, label %scalar.ph158.prol.loopexit, label %scalar.ph158.prol, !llvm.loop !37

scalar.ph158.prol.loopexit:                       ; preds = %scalar.ph158.prol, %scalar.ph158.preheader
  %indvars.iv117.unr = phi i64 [ %indvars.iv117.ph, %scalar.ph158.preheader ], [ %indvars.iv.next118.prol, %scalar.ph158.prol ]
  %127 = sub nsw i64 %indvars.iv117.ph, %wide.trip.count120
  %128 = icmp ugt i64 %127, -4
  br i1 %128, label %.loopexit67, label %scalar.ph158

scalar.ph158:                                     ; preds = %scalar.ph158.prol.loopexit, %scalar.ph158
  %indvars.iv117 = phi i64 [ %indvars.iv.next118.3, %scalar.ph158 ], [ %indvars.iv117.unr, %scalar.ph158.prol.loopexit ]
  %129 = getelementptr inbounds double, ptr %110, i64 %indvars.iv117
  %130 = load double, ptr %129, align 8, !tbaa !15
  %131 = getelementptr inbounds double, ptr %115, i64 %indvars.iv117
  %132 = load double, ptr %131, align 8, !tbaa !15
  %133 = fdiv double %132, %130
  store double %133, ptr %131, align 8, !tbaa !15
  %indvars.iv.next118 = add nuw nsw i64 %indvars.iv117, 1
  %134 = getelementptr inbounds double, ptr %110, i64 %indvars.iv.next118
  %135 = load double, ptr %134, align 8, !tbaa !15
  %136 = getelementptr inbounds double, ptr %115, i64 %indvars.iv.next118
  %137 = load double, ptr %136, align 8, !tbaa !15
  %138 = fdiv double %137, %135
  store double %138, ptr %136, align 8, !tbaa !15
  %indvars.iv.next118.1 = add nuw nsw i64 %indvars.iv117, 2
  %139 = getelementptr inbounds double, ptr %110, i64 %indvars.iv.next118.1
  %140 = load double, ptr %139, align 8, !tbaa !15
  %141 = getelementptr inbounds double, ptr %115, i64 %indvars.iv.next118.1
  %142 = load double, ptr %141, align 8, !tbaa !15
  %143 = fdiv double %142, %140
  store double %143, ptr %141, align 8, !tbaa !15
  %indvars.iv.next118.2 = add nuw nsw i64 %indvars.iv117, 3
  %144 = getelementptr inbounds double, ptr %110, i64 %indvars.iv.next118.2
  %145 = load double, ptr %144, align 8, !tbaa !15
  %146 = getelementptr inbounds double, ptr %115, i64 %indvars.iv.next118.2
  %147 = load double, ptr %146, align 8, !tbaa !15
  %148 = fdiv double %147, %145
  store double %148, ptr %146, align 8, !tbaa !15
  %indvars.iv.next118.3 = add nuw nsw i64 %indvars.iv117, 4
  %exitcond121.not.3 = icmp eq i64 %indvars.iv.next118.3, %wide.trip.count120
  br i1 %exitcond121.not.3, label %.loopexit67, label %scalar.ph158, !llvm.loop !38

149:                                              ; preds = %.loopexit73
  %150 = getelementptr inbounds i8, ptr %0, i64 80
  %151 = load ptr, ptr %150, align 8, !tbaa !39
  %.not63 = icmp ne ptr %151, null
  %152 = icmp sgt i32 %6, 0
  %or.cond = select i1 %.not63, i1 %152, i1 false
  br i1 %or.cond, label %.lr.ph89, label %.loopexit67

.lr.ph89:                                         ; preds = %149
  %153 = getelementptr inbounds i8, ptr %0, i64 88
  %154 = load ptr, ptr %153, align 8, !tbaa !14
  %wide.trip.count125 = zext nneg i32 %6 to i64
  %min.iters.check178 = icmp ult i32 %6, 6
  br i1 %min.iters.check178, label %scalar.ph177.preheader, label %vector.memcheck170

vector.memcheck170:                               ; preds = %.lr.ph89
  %155 = shl nuw nsw i64 %wide.trip.count125, 3
  %scevgep171 = getelementptr i8, ptr %154, i64 %155
  %scevgep172 = getelementptr i8, ptr %151, i64 %155
  %bound0173 = icmp ult ptr %154, %scevgep172
  %bound1174 = icmp ult ptr %151, %scevgep171
  %found.conflict175 = and i1 %bound0173, %bound1174
  br i1 %found.conflict175, label %scalar.ph177.preheader, label %vector.ph179

vector.ph179:                                     ; preds = %vector.memcheck170
  %n.vec181 = and i64 %wide.trip.count125, 2147483644
  br label %vector.body183

vector.body183:                                   ; preds = %vector.body183, %vector.ph179
  %index184 = phi i64 [ 0, %vector.ph179 ], [ %index.next189, %vector.body183 ]
  %156 = getelementptr inbounds double, ptr %151, i64 %index184
  %157 = getelementptr inbounds i8, ptr %156, i64 16
  %wide.load185 = load <2 x double>, ptr %156, align 8, !tbaa !15, !alias.scope !40
  %wide.load186 = load <2 x double>, ptr %157, align 8, !tbaa !15, !alias.scope !40
  %158 = getelementptr inbounds double, ptr %154, i64 %index184
  %159 = getelementptr inbounds i8, ptr %158, i64 16
  %wide.load187 = load <2 x double>, ptr %158, align 8, !tbaa !15, !alias.scope !43, !noalias !40
  %wide.load188 = load <2 x double>, ptr %159, align 8, !tbaa !15, !alias.scope !43, !noalias !40
  %160 = fmul <2 x double> %wide.load185, %wide.load187
  %161 = fmul <2 x double> %wide.load186, %wide.load188
  store <2 x double> %160, ptr %158, align 8, !tbaa !15, !alias.scope !43, !noalias !40
  store <2 x double> %161, ptr %159, align 8, !tbaa !15, !alias.scope !43, !noalias !40
  %index.next189 = add nuw i64 %index184, 4
  %162 = icmp eq i64 %index.next189, %n.vec181
  br i1 %162, label %middle.block176, label %vector.body183, !llvm.loop !45

middle.block176:                                  ; preds = %vector.body183
  %cmp.n190 = icmp eq i64 %n.vec181, %wide.trip.count125
  br i1 %cmp.n190, label %.loopexit67, label %scalar.ph177.preheader

scalar.ph177.preheader:                           ; preds = %middle.block176, %vector.memcheck170, %.lr.ph89
  %indvars.iv122.ph = phi i64 [ 0, %vector.memcheck170 ], [ 0, %.lr.ph89 ], [ %n.vec181, %middle.block176 ]
  %xtraiter202 = and i64 %wide.trip.count125, 3
  %lcmp.mod203.not = icmp eq i64 %xtraiter202, 0
  br i1 %lcmp.mod203.not, label %scalar.ph177.prol.loopexit, label %scalar.ph177.prol

scalar.ph177.prol:                                ; preds = %scalar.ph177.preheader, %scalar.ph177.prol
  %indvars.iv122.prol = phi i64 [ %indvars.iv.next123.prol, %scalar.ph177.prol ], [ %indvars.iv122.ph, %scalar.ph177.preheader ]
  %prol.iter204 = phi i64 [ %prol.iter204.next, %scalar.ph177.prol ], [ 0, %scalar.ph177.preheader ]
  %163 = getelementptr inbounds double, ptr %151, i64 %indvars.iv122.prol
  %164 = load double, ptr %163, align 8, !tbaa !15
  %165 = getelementptr inbounds double, ptr %154, i64 %indvars.iv122.prol
  %166 = load double, ptr %165, align 8, !tbaa !15
  %167 = fmul double %164, %166
  store double %167, ptr %165, align 8, !tbaa !15
  %indvars.iv.next123.prol = add nuw nsw i64 %indvars.iv122.prol, 1
  %prol.iter204.next = add i64 %prol.iter204, 1
  %prol.iter204.cmp.not = icmp eq i64 %prol.iter204.next, %xtraiter202
  br i1 %prol.iter204.cmp.not, label %scalar.ph177.prol.loopexit, label %scalar.ph177.prol, !llvm.loop !46

scalar.ph177.prol.loopexit:                       ; preds = %scalar.ph177.prol, %scalar.ph177.preheader
  %indvars.iv122.unr = phi i64 [ %indvars.iv122.ph, %scalar.ph177.preheader ], [ %indvars.iv.next123.prol, %scalar.ph177.prol ]
  %168 = sub nsw i64 %indvars.iv122.ph, %wide.trip.count125
  %169 = icmp ugt i64 %168, -4
  br i1 %169, label %.loopexit67, label %scalar.ph177

scalar.ph177:                                     ; preds = %scalar.ph177.prol.loopexit, %scalar.ph177
  %indvars.iv122 = phi i64 [ %indvars.iv.next123.3, %scalar.ph177 ], [ %indvars.iv122.unr, %scalar.ph177.prol.loopexit ]
  %170 = getelementptr inbounds double, ptr %151, i64 %indvars.iv122
  %171 = load double, ptr %170, align 8, !tbaa !15
  %172 = getelementptr inbounds double, ptr %154, i64 %indvars.iv122
  %173 = load double, ptr %172, align 8, !tbaa !15
  %174 = fmul double %171, %173
  store double %174, ptr %172, align 8, !tbaa !15
  %indvars.iv.next123 = add nuw nsw i64 %indvars.iv122, 1
  %175 = getelementptr inbounds double, ptr %151, i64 %indvars.iv.next123
  %176 = load double, ptr %175, align 8, !tbaa !15
  %177 = getelementptr inbounds double, ptr %154, i64 %indvars.iv.next123
  %178 = load double, ptr %177, align 8, !tbaa !15
  %179 = fmul double %176, %178
  store double %179, ptr %177, align 8, !tbaa !15
  %indvars.iv.next123.1 = add nuw nsw i64 %indvars.iv122, 2
  %180 = getelementptr inbounds double, ptr %151, i64 %indvars.iv.next123.1
  %181 = load double, ptr %180, align 8, !tbaa !15
  %182 = getelementptr inbounds double, ptr %154, i64 %indvars.iv.next123.1
  %183 = load double, ptr %182, align 8, !tbaa !15
  %184 = fmul double %181, %183
  store double %184, ptr %182, align 8, !tbaa !15
  %indvars.iv.next123.2 = add nuw nsw i64 %indvars.iv122, 3
  %185 = getelementptr inbounds double, ptr %151, i64 %indvars.iv.next123.2
  %186 = load double, ptr %185, align 8, !tbaa !15
  %187 = getelementptr inbounds double, ptr %154, i64 %indvars.iv.next123.2
  %188 = load double, ptr %187, align 8, !tbaa !15
  %189 = fmul double %186, %188
  store double %189, ptr %187, align 8, !tbaa !15
  %indvars.iv.next123.3 = add nuw nsw i64 %indvars.iv122, 4
  %exitcond126.not.3 = icmp eq i64 %indvars.iv.next123.3, %wide.trip.count125
  br i1 %exitcond126.not.3, label %.loopexit67, label %scalar.ph177, !llvm.loop !47

.loopexit67:                                      ; preds = %scalar.ph158.prol.loopexit, %scalar.ph158, %scalar.ph177.prol.loopexit, %scalar.ph177, %middle.block157, %middle.block176, %.preheader68, %149, %._crit_edge
  %190 = getelementptr inbounds i8, ptr %0, i64 72
  %191 = load ptr, ptr %190, align 8, !tbaa !29
  %.not65 = icmp eq ptr %191, null
  br i1 %.not65, label %.loopexit, label %.preheader

.preheader:                                       ; preds = %.loopexit67
  %192 = getelementptr inbounds i8, ptr %0, i64 184
  %193 = load i32, ptr %192, align 8, !tbaa !48
  %194 = icmp sgt i32 %193, 0
  br i1 %194, label %.lr.ph91, label %.loopexit

.lr.ph91:                                         ; preds = %.preheader
  %195 = getelementptr inbounds i8, ptr %0, i64 176
  %196 = load ptr, ptr %195, align 8, !tbaa !49
  %197 = getelementptr inbounds i8, ptr %0, i64 112
  %198 = load ptr, ptr %197, align 8, !tbaa !50
  %wide.trip.count130 = zext nneg i32 %193 to i64
  %xtraiter205 = and i64 %wide.trip.count130, 1
  %199 = icmp eq i32 %193, 1
  br i1 %199, label %.loopexit.loopexit.unr-lcssa, label %.lr.ph91.new

.lr.ph91.new:                                     ; preds = %.lr.ph91
  %unroll_iter = and i64 %wide.trip.count130, 2147483646
  br label %200

200:                                              ; preds = %200, %.lr.ph91.new
  %indvars.iv127 = phi i64 [ 0, %.lr.ph91.new ], [ %indvars.iv.next128.1, %200 ]
  %niter = phi i64 [ 0, %.lr.ph91.new ], [ %niter.next.1, %200 ]
  %201 = getelementptr inbounds i32, ptr %196, i64 %indvars.iv127
  %202 = load i32, ptr %201, align 4, !tbaa !51
  %203 = sext i32 %202 to i64
  %204 = getelementptr inbounds double, ptr %191, i64 %203
  %205 = load double, ptr %204, align 8, !tbaa !15
  %206 = getelementptr inbounds double, ptr %198, i64 %indvars.iv127
  %207 = load double, ptr %206, align 8, !tbaa !15
  %208 = fmul double %205, %207
  store double %208, ptr %206, align 8, !tbaa !15
  %indvars.iv.next128 = or disjoint i64 %indvars.iv127, 1
  %209 = getelementptr inbounds i32, ptr %196, i64 %indvars.iv.next128
  %210 = load i32, ptr %209, align 4, !tbaa !51
  %211 = sext i32 %210 to i64
  %212 = getelementptr inbounds double, ptr %191, i64 %211
  %213 = load double, ptr %212, align 8, !tbaa !15
  %214 = getelementptr inbounds double, ptr %198, i64 %indvars.iv.next128
  %215 = load double, ptr %214, align 8, !tbaa !15
  %216 = fmul double %213, %215
  store double %216, ptr %214, align 8, !tbaa !15
  %indvars.iv.next128.1 = add nuw nsw i64 %indvars.iv127, 2
  %niter.next.1 = add i64 %niter, 2
  %niter.ncmp.1 = icmp eq i64 %niter.next.1, %unroll_iter
  br i1 %niter.ncmp.1, label %.loopexit.loopexit.unr-lcssa, label %200, !llvm.loop !52

.loopexit.loopexit.unr-lcssa:                     ; preds = %200, %.lr.ph91
  %indvars.iv127.unr = phi i64 [ 0, %.lr.ph91 ], [ %indvars.iv.next128.1, %200 ]
  %lcmp.mod206.not = icmp eq i64 %xtraiter205, 0
  br i1 %lcmp.mod206.not, label %.loopexit, label %.loopexit.loopexit.epilog-lcssa

.loopexit.loopexit.epilog-lcssa:                  ; preds = %.loopexit.loopexit.unr-lcssa
  %217 = getelementptr inbounds i32, ptr %196, i64 %indvars.iv127.unr
  %218 = load i32, ptr %217, align 4, !tbaa !51
  %219 = sext i32 %218 to i64
  %220 = getelementptr inbounds double, ptr %191, i64 %219
  %221 = load double, ptr %220, align 8, !tbaa !15
  %222 = getelementptr inbounds double, ptr %198, i64 %indvars.iv127.unr
  %223 = load double, ptr %222, align 8, !tbaa !15
  %224 = fmul double %221, %223
  store double %224, ptr %222, align 8, !tbaa !15
  br label %.loopexit

.loopexit:                                        ; preds = %.loopexit.loopexit.epilog-lcssa, %.loopexit.loopexit.unr-lcssa, %.preheader, %.loopexit67
  ret void
}

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

attributes #0 = { nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) 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 speculatable willreturn memory(none) }

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !7, i64 56}
!6 = !{!"", !7, i64 0, !10, i64 8, !10, i64 12, !10, i64 16, !7, i64 24, !7, i64 32, !7, i64 40, !7, i64 48, !7, i64 56, !7, i64 64, !7, i64 72, !7, i64 80, !7, i64 88, !7, i64 96, !7, i64 104, !7, i64 112, !7, i64 120, !11, i64 128, !7, i64 136, !7, i64 144, !7, i64 152, !7, i64 160, !10, i64 168, !7, i64 176, !10, i64 184, !10, i64 188, !10, i64 192, !11, i64 200, !7, i64 208, !7, i64 216, !10, i64 224, !7, i64 232}
!7 = !{!"any pointer", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C/C++ TBAA"}
!10 = !{!"int", !8, i64 0}
!11 = !{!"double", !8, i64 0}
!12 = !{!6, !10, i64 8}
!13 = !{!6, !7, i64 120}
!14 = !{!6, !7, i64 88}
!15 = !{!11, !11, i64 0}
!16 = distinct !{!16, !17}
!17 = !{!"llvm.loop.unroll.disable"}
!18 = distinct !{!18, !19, !20, !21}
!19 = !{!"llvm.loop.mustprogress"}
!20 = !{!"llvm.loop.isvectorized", i32 1}
!21 = !{!"llvm.loop.unroll.runtime.disable"}
!22 = distinct !{!22, !17}
!23 = distinct !{!23, !19, !20, !21}
!24 = distinct !{!24, !19, !20}
!25 = distinct !{!25, !19, !20}
!26 = !{!6, !7, i64 48}
!27 = distinct !{!27, !19}
!28 = distinct !{!28, !19}
!29 = !{!6, !7, i64 72}
!30 = !{!6, !10, i64 16}
!31 = !{!32}
!32 = distinct !{!32, !33}
!33 = distinct !{!33, !"LVerDomain"}
!34 = !{!35}
!35 = distinct !{!35, !33}
!36 = distinct !{!36, !19, !20, !21}
!37 = distinct !{!37, !17}
!38 = distinct !{!38, !19, !20}
!39 = !{!6, !7, i64 80}
!40 = !{!41}
!41 = distinct !{!41, !42}
!42 = distinct !{!42, !"LVerDomain"}
!43 = !{!44}
!44 = distinct !{!44, !42}
!45 = distinct !{!45, !19, !20, !21}
!46 = distinct !{!46, !17}
!47 = distinct !{!47, !19, !20}
!48 = !{!6, !10, i64 184}
!49 = !{!6, !7, i64 176}
!50 = !{!6, !7, i64 112}
!51 = !{!10, !10, i64 0}
!52 = distinct !{!52, !19}


; Effective O3 passes: BDCEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,InstSimplifyPass,JumpThreadingPass,LCSSAPass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass