; LLVM IR from sympiler/nasoq :: nasoq_driver.ll (ZN7sym_lib21concatenate_two_denseEPN6format5DenseES2_)

; 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.format::Dense" = type { i64, i64, i64, ptr }

@.str.124 = external hidden unnamed_addr constant [78 x i8], align 1
@.str.128 = external hidden unnamed_addr constant [16 x i8], align 1
@__PRETTY_FUNCTION__._ZN7sym_lib21concatenate_two_denseEPN6format5DenseES2_ = external hidden unnamed_addr constant [56 x i8], align 1

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

declare i32 @__gxx_personality_v0(...)

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

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) #2

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) #3

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6format5DenseC2Emmm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef, i64 noundef, i64 noundef) unnamed_addr #4 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7sym_lib10copy_denseEPN6format5DenseE(ptr noundef) #4

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN7sym_lib21concatenate_two_denseEPN6format5DenseES2_(ptr noundef %0, ptr noundef %1) #4 personality ptr @__gxx_personality_v0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca ptr, align 8
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca i32, align 4
  %13 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #5
  %14 = load ptr, ptr %4, align 8, !tbaa !5
  %15 = icmp ne ptr %14, null
  br i1 %15, label %20, label %16

16:                                               ; preds = %2
  %17 = load ptr, ptr %5, align 8, !tbaa !5
  %18 = icmp ne ptr %17, null
  br i1 %18, label %20, label %19

19:                                               ; preds = %16
  store ptr null, ptr %3, align 8
  store i32 1, ptr %7, align 4
  br label %143

20:                                               ; preds = %16, %2
  %21 = load ptr, ptr %4, align 8, !tbaa !5
  %22 = icmp ne ptr %21, null
  br i1 %22, label %27, label %23

23:                                               ; preds = %20
  %24 = load ptr, ptr %5, align 8, !tbaa !5
  %25 = call noundef ptr @_ZN7sym_lib10copy_denseEPN6format5DenseE(ptr noundef %24)
  store ptr %25, ptr %6, align 8, !tbaa !5
  %26 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %26, ptr %3, align 8
  store i32 1, ptr %7, align 4
  br label %143

27:                                               ; preds = %20
  %28 = load ptr, ptr %5, align 8, !tbaa !5
  %29 = icmp ne ptr %28, null
  br i1 %29, label %34, label %30

30:                                               ; preds = %27
  %31 = load ptr, ptr %4, align 8, !tbaa !5
  %32 = call noundef ptr @_ZN7sym_lib10copy_denseEPN6format5DenseE(ptr noundef %31)
  store ptr %32, ptr %6, align 8, !tbaa !5
  %33 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %33, ptr %3, align 8
  store i32 1, ptr %7, align 4
  br label %143

34:                                               ; preds = %27
  %35 = load ptr, ptr %5, align 8, !tbaa !5
  %36 = getelementptr inbounds %"struct.format::Dense", ptr %35, i32 0, i32 1
  %37 = load i64, ptr %36, align 8, !tbaa !9
  %38 = load ptr, ptr %4, align 8, !tbaa !5
  %39 = getelementptr inbounds %"struct.format::Dense", ptr %38, i32 0, i32 1
  store i64 %37, ptr %39, align 8, !tbaa !9
  %40 = icmp ne i64 %37, 0
  br i1 %40, label %41, label %42

41:                                               ; preds = %34
  br label %44

42:                                               ; preds = %34
  call void @__assert_fail(ptr noundef @.str.128, ptr noundef @.str.124, i32 noundef 673, ptr noundef @__PRETTY_FUNCTION__._ZN7sym_lib21concatenate_two_denseEPN6format5DenseES2_) #6
  unreachable

43:                                               ; No predecessors!
  br label %44

44:                                               ; preds = %43, %41
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  %45 = load ptr, ptr %4, align 8, !tbaa !5
  %46 = getelementptr inbounds %"struct.format::Dense", ptr %45, i32 0, i32 0
  %47 = load i64, ptr %46, align 8, !tbaa !12
  %48 = load ptr, ptr %5, align 8, !tbaa !5
  %49 = getelementptr inbounds %"struct.format::Dense", ptr %48, i32 0, i32 0
  %50 = load i64, ptr %49, align 8, !tbaa !12
  %51 = add i64 %47, %50
  %52 = trunc i64 %51 to i32
  store i32 %52, ptr %8, align 4, !tbaa !13
  %53 = call noalias noundef nonnull ptr @_Znwm(i64 noundef 32) #7
  %54 = load i32, ptr %8, align 4, !tbaa !13
  %55 = sext i32 %54 to i64
  %56 = load ptr, ptr %4, align 8, !tbaa !5
  %57 = getelementptr inbounds %"struct.format::Dense", ptr %56, i32 0, i32 1
  %58 = load i64, ptr %57, align 8, !tbaa !9
  invoke void @_ZN6format5DenseC2Emmm(ptr noundef nonnull align 8 dereferenceable(32) %53, i64 noundef %55, i64 noundef %58, i64 noundef 1)
          to label %59 unwind label %68

59:                                               ; preds = %44
  store ptr %53, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  store i32 0, ptr %11, align 4, !tbaa !13
  br label %60

60:                                               ; preds = %138, %59
  %61 = load i32, ptr %11, align 4, !tbaa !13
  %62 = sext i32 %61 to i64
  %63 = load ptr, ptr %4, align 8, !tbaa !5
  %64 = getelementptr inbounds %"struct.format::Dense", ptr %63, i32 0, i32 1
  %65 = load i64, ptr %64, align 8, !tbaa !9
  %66 = icmp ult i64 %62, %65
  br i1 %66, label %72, label %67

67:                                               ; preds = %60
  store i32 2, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  br label %141

68:                                               ; preds = %44
  %69 = landingpad { ptr, i32 }
          cleanup
  %70 = extractvalue { ptr, i32 } %69, 0
  store ptr %70, ptr %9, align 8
  %71 = extractvalue { ptr, i32 } %69, 1
  store i32 %71, ptr %10, align 4
  call void @_ZdlPvm(ptr noundef %53, i64 noundef 32) #8
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  br label %145

72:                                               ; preds = %60
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  store i32 0, ptr %12, align 4, !tbaa !13
  br label %73

73:                                               ; preds = %99, %72
  %74 = load i32, ptr %12, align 4, !tbaa !13
  %75 = sext i32 %74 to i64
  %76 = load ptr, ptr %4, align 8, !tbaa !5
  %77 = getelementptr inbounds %"struct.format::Dense", ptr %76, i32 0, i32 0
  %78 = load i64, ptr %77, align 8, !tbaa !12
  %79 = icmp ult i64 %75, %78
  br i1 %79, label %81, label %80

80:                                               ; preds = %73
  store i32 5, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  br label %102

81:                                               ; preds = %73
  %82 = load ptr, ptr %4, align 8, !tbaa !5
  %83 = getelementptr inbounds %"struct.format::Dense", ptr %82, i32 0, i32 3
  %84 = load ptr, ptr %83, align 8, !tbaa !15
  %85 = load i32, ptr %12, align 4, !tbaa !13
  %86 = sext i32 %85 to i64
  %87 = getelementptr inbounds double, ptr %84, i64 %86
  %88 = load double, ptr %87, align 8, !tbaa !16
  %89 = load ptr, ptr %6, align 8, !tbaa !5
  %90 = getelementptr inbounds %"struct.format::Dense", ptr %89, i32 0, i32 3
  %91 = load ptr, ptr %90, align 8, !tbaa !15
  %92 = load i32, ptr %11, align 4, !tbaa !13
  %93 = load i32, ptr %8, align 4, !tbaa !13
  %94 = mul nsw i32 %92, %93
  %95 = load i32, ptr %12, align 4, !tbaa !13
  %96 = add nsw i32 %94, %95
  %97 = sext i32 %96 to i64
  %98 = getelementptr inbounds double, ptr %91, i64 %97
  store double %88, ptr %98, align 8, !tbaa !16
  br label %99

99:                                               ; preds = %81
  %100 = load i32, ptr %12, align 4, !tbaa !13
  %101 = add nsw i32 %100, 1
  store i32 %101, ptr %12, align 4, !tbaa !13
  br label %73, !llvm.loop !18

102:                                              ; preds = %80
  call void @llvm.lifetime.start.p0(i64 4, ptr %13) #5
  store i32 0, ptr %13, align 4, !tbaa !13
  br label %103

103:                                              ; preds = %134, %102
  %104 = load i32, ptr %13, align 4, !tbaa !13
  %105 = sext i32 %104 to i64
  %106 = load ptr, ptr %5, align 8, !tbaa !5
  %107 = getelementptr inbounds %"struct.format::Dense", ptr %106, i32 0, i32 0
  %108 = load i64, ptr %107, align 8, !tbaa !12
  %109 = icmp ult i64 %105, %108
  br i1 %109, label %111, label %110

110:                                              ; preds = %103
  store i32 8, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %13) #5
  br label %137

111:                                              ; preds = %103
  %112 = load ptr, ptr %5, align 8, !tbaa !5
  %113 = getelementptr inbounds %"struct.format::Dense", ptr %112, i32 0, i32 3
  %114 = load ptr, ptr %113, align 8, !tbaa !15
  %115 = load i32, ptr %13, align 4, !tbaa !13
  %116 = sext i32 %115 to i64
  %117 = getelementptr inbounds double, ptr %114, i64 %116
  %118 = load double, ptr %117, align 8, !tbaa !16
  %119 = load ptr, ptr %6, align 8, !tbaa !5
  %120 = getelementptr inbounds %"struct.format::Dense", ptr %119, i32 0, i32 3
  %121 = load ptr, ptr %120, align 8, !tbaa !15
  %122 = load i32, ptr %11, align 4, !tbaa !13
  %123 = load i32, ptr %8, align 4, !tbaa !13
  %124 = mul nsw i32 %122, %123
  %125 = sext i32 %124 to i64
  %126 = load ptr, ptr %4, align 8, !tbaa !5
  %127 = getelementptr inbounds %"struct.format::Dense", ptr %126, i32 0, i32 0
  %128 = load i64, ptr %127, align 8, !tbaa !12
  %129 = add i64 %125, %128
  %130 = load i32, ptr %13, align 4, !tbaa !13
  %131 = sext i32 %130 to i64
  %132 = add i64 %129, %131
  %133 = getelementptr inbounds double, ptr %121, i64 %132
  store double %118, ptr %133, align 8, !tbaa !16
  br label %134

134:                                              ; preds = %111
  %135 = load i32, ptr %13, align 4, !tbaa !13
  %136 = add nsw i32 %135, 1
  store i32 %136, ptr %13, align 4, !tbaa !13
  br label %103, !llvm.loop !20

137:                                              ; preds = %110
  br label %138

138:                                              ; preds = %137
  %139 = load i32, ptr %11, align 4, !tbaa !13
  %140 = add nsw i32 %139, 1
  store i32 %140, ptr %11, align 4, !tbaa !13
  br label %60, !llvm.loop !21

141:                                              ; preds = %67
  %142 = load ptr, ptr %6, align 8, !tbaa !5
  store ptr %142, ptr %3, align 8
  store i32 1, ptr %7, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  br label %143

143:                                              ; preds = %141, %30, %23, %19
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #5
  %144 = load ptr, ptr %3, align 8
  ret ptr %144

145:                                              ; preds = %68
  %146 = load ptr, ptr %9, align 8
  %147 = load i32, ptr %10, align 4
  %148 = insertvalue { ptr, i32 } poison, ptr %146, 0
  %149 = insertvalue { ptr, i32 } %148, i32 %147, 1
  resume { ptr, i32 } %149
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { nobuiltin allocsize(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 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #4 = { 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 = { nounwind }
attributes #6 = { noreturn nounwind }
attributes #7 = { builtin allocsize(0) }
attributes #8 = { builtin 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, !11, i64 8}
!10 = !{!"_ZTSN6format5DenseE", !11, i64 0, !11, i64 8, !11, i64 16, !6, i64 24}
!11 = !{!"long", !7, i64 0}
!12 = !{!10, !11, i64 0}
!13 = !{!14, !14, i64 0}
!14 = !{!"int", !7, i64 0}
!15 = !{!10, !6, i64 24}
!16 = !{!17, !17, i64 0}
!17 = !{!"double", !7, i64 0}
!18 = distinct !{!18, !19}
!19 = !{!"llvm.loop.mustprogress"}
!20 = distinct !{!20, !19}
!21 = distinct !{!21, !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"

@.str.124 = external hidden unnamed_addr constant [78 x i8], align 1
@.str.128 = external hidden unnamed_addr constant [16 x i8], align 1
@__PRETTY_FUNCTION__._ZN7sym_lib21concatenate_two_denseEPN6format5DenseES2_ = external hidden unnamed_addr constant [56 x i8], align 1

declare i32 @__gxx_personality_v0(...)

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

; Function Attrs: nobuiltin allocsize(0)
declare noundef nonnull ptr @_Znwm(i64 noundef) local_unnamed_addr #1

; Function Attrs: nobuiltin nounwind
declare void @_ZdlPvm(ptr noundef, i64 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare dso_local void @_ZN6format5DenseC2Emmm(ptr noundef nonnull align 8 dereferenceable(32), i64 noundef, i64 noundef, i64 noundef) unnamed_addr #3 align 2

; Function Attrs: mustprogress uwtable
declare dso_local noundef ptr @_ZN7sym_lib10copy_denseEPN6format5DenseE(ptr noundef) local_unnamed_addr #3

; Function Attrs: mustprogress uwtable
define dso_local noundef ptr @_ZN7sym_lib21concatenate_two_denseEPN6format5DenseES2_(ptr noundef %0, ptr noundef %1) local_unnamed_addr #3 personality ptr @__gxx_personality_v0 {
  %3 = icmp ne ptr %0, null
  %4 = icmp ne ptr %1, null
  %or.cond = or i1 %3, %4
  br i1 %or.cond, label %5, label %.loopexit

5:                                                ; preds = %2
  br i1 %3, label %8, label %6

6:                                                ; preds = %5
  %7 = tail call noundef ptr @_ZN7sym_lib10copy_denseEPN6format5DenseE(ptr noundef %1)
  br label %.loopexit

8:                                                ; preds = %5
  br i1 %4, label %11, label %9

9:                                                ; preds = %8
  %10 = tail call noundef ptr @_ZN7sym_lib10copy_denseEPN6format5DenseE(ptr noundef nonnull %0)
  br label %.loopexit

11:                                               ; preds = %8
  %12 = getelementptr inbounds i8, ptr %1, i64 8
  %13 = load i64, ptr %12, align 8, !tbaa !5
  %14 = getelementptr inbounds i8, ptr %0, i64 8
  store i64 %13, ptr %14, align 8, !tbaa !5
  %.not = icmp eq i64 %13, 0
  br i1 %.not, label %15, label %16

15:                                               ; preds = %11
  tail call void @__assert_fail(ptr noundef nonnull @.str.128, ptr noundef nonnull @.str.124, i32 noundef 673, ptr noundef nonnull @__PRETTY_FUNCTION__._ZN7sym_lib21concatenate_two_denseEPN6format5DenseES2_) #4
  unreachable

16:                                               ; preds = %11
  %17 = load i64, ptr %0, align 8, !tbaa !11
  %18 = load i64, ptr %1, align 8, !tbaa !11
  %19 = add i64 %18, %17
  %20 = tail call noalias noundef nonnull dereferenceable(32) ptr @_Znwm(i64 noundef 32) #5
  %sext = shl i64 %19, 32
  %21 = ashr exact i64 %sext, 32
  invoke void @_ZN6format5DenseC2Emmm(ptr noundef nonnull align 8 dereferenceable(32) %20, i64 noundef %21, i64 noundef %13, i64 noundef 1)
          to label %.preheader48 unwind label %143

.preheader48:                                     ; preds = %16
  %22 = load i64, ptr %14, align 8, !tbaa !5
  %.not58 = icmp eq i64 %22, 0
  br i1 %.not58, label %.loopexit, label %.preheader47.lr.ph

.preheader47.lr.ph:                               ; preds = %.preheader48
  %23 = load i64, ptr %0, align 8, !tbaa !11
  %.not59 = icmp eq i64 %23, 0
  %24 = load i64, ptr %1, align 8, !tbaa !11
  %.not60 = icmp eq i64 %24, 0
  %25 = getelementptr inbounds i8, ptr %1, i64 24
  %26 = getelementptr inbounds i8, ptr %20, i64 24
  br i1 %.not59, label %.preheader47.lr.ph.split, label %.preheader47.lr.ph.split.us

.preheader47.lr.ph.split.us:                      ; preds = %.preheader47.lr.ph
  %27 = getelementptr inbounds i8, ptr %0, i64 24
  %28 = load ptr, ptr %27, align 8, !tbaa !12
  %29 = ptrtoint ptr %28 to i64
  %30 = load ptr, ptr %26, align 8, !tbaa !12
  %31 = ptrtoint ptr %30 to i64
  br i1 %.not60, label %.preheader47.us.preheader, label %.preheader47.lr.ph.split.us.split.us

.preheader47.us.preheader:                        ; preds = %.preheader47.lr.ph.split.us
  %sext93 = shl i64 %19, 32
  %32 = ashr exact i64 %sext93, 32
  %33 = sub i64 %31, %29
  %34 = ashr exact i64 %sext93, 29
  %min.iters.check121 = icmp ult i64 %23, 4
  %n.vec124 = and i64 %23, -4
  %cmp.n131 = icmp eq i64 %23, %n.vec124
  %xtraiter153 = and i64 %23, 3
  %lcmp.mod154.not = icmp eq i64 %xtraiter153, 0
  br label %.preheader47.us

.preheader47.lr.ph.split.us.split.us:             ; preds = %.preheader47.lr.ph.split.us
  %35 = load ptr, ptr %25, align 8, !tbaa !12
  %36 = ptrtoint ptr %35 to i64
  %37 = getelementptr double, ptr %30, i64 %23
  %sext92 = shl i64 %19, 32
  %38 = ashr exact i64 %sext92, 32
  %39 = shl i64 %23, 3
  %40 = add i64 %39, %31
  %41 = sub i64 %40, %36
  %42 = ashr exact i64 %sext92, 29
  %43 = sub i64 %31, %29
  %44 = ashr exact i64 %sext92, 29
  %min.iters.check106 = icmp ult i64 %23, 4
  %n.vec109 = and i64 %23, -4
  %cmp.n116 = icmp eq i64 %23, %n.vec109
  %xtraiter = and i64 %23, 3
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  %min.iters.check = icmp ult i64 %24, 4
  %n.vec = and i64 %24, -4
  %cmp.n = icmp eq i64 %24, %n.vec
  %xtraiter150 = and i64 %24, 3
  %lcmp.mod151.not = icmp eq i64 %xtraiter150, 0
  br label %.preheader47.us.us

.preheader47.us.us:                               ; preds = %._crit_edge.us.us, %.preheader47.lr.ph.split.us.split.us
  %indvars.iv69 = phi i64 [ %indvars.iv.next70, %._crit_edge.us.us ], [ 0, %.preheader47.lr.ph.split.us.split.us ]
  %45 = mul i64 %42, %indvars.iv69
  %46 = add i64 %41, %45
  %47 = mul nsw i64 %indvars.iv69, %38
  %invariant.gep = getelementptr double, ptr %30, i64 %47
  br i1 %min.iters.check106, label %scalar.ph105.preheader, label %vector.memcheck102

scalar.ph105.preheader:                           ; preds = %middle.block104, %vector.memcheck102, %.preheader47.us.us
  %indvars.iv.ph = phi i64 [ 0, %vector.memcheck102 ], [ 0, %.preheader47.us.us ], [ %n.vec109, %middle.block104 ]
  br i1 %lcmp.mod.not, label %scalar.ph105.prol.loopexit, label %scalar.ph105.prol

scalar.ph105.prol:                                ; preds = %scalar.ph105.preheader, %scalar.ph105.prol
  %indvars.iv.prol = phi i64 [ %indvars.iv.next.prol, %scalar.ph105.prol ], [ %indvars.iv.ph, %scalar.ph105.preheader ]
  %prol.iter = phi i64 [ %prol.iter.next, %scalar.ph105.prol ], [ 0, %scalar.ph105.preheader ]
  %48 = getelementptr inbounds double, ptr %28, i64 %indvars.iv.prol
  %49 = load double, ptr %48, align 8, !tbaa !13
  %gep.prol = getelementptr double, ptr %invariant.gep, i64 %indvars.iv.prol
  store double %49, ptr %gep.prol, align 8, !tbaa !13
  %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.ph105.prol.loopexit, label %scalar.ph105.prol, !llvm.loop !15

scalar.ph105.prol.loopexit:                       ; preds = %scalar.ph105.prol, %scalar.ph105.preheader
  %indvars.iv.unr = phi i64 [ %indvars.iv.ph, %scalar.ph105.preheader ], [ %indvars.iv.next.prol, %scalar.ph105.prol ]
  %50 = sub i64 %indvars.iv.ph, %23
  %51 = icmp ugt i64 %50, -4
  br i1 %51, label %..preheader_crit_edge.us.us, label %scalar.ph105

vector.memcheck102:                               ; preds = %.preheader47.us.us
  %52 = mul i64 %44, %indvars.iv69
  %53 = add i64 %43, %52
  %diff.check103 = icmp ult i64 %53, 32
  br i1 %diff.check103, label %scalar.ph105.preheader, label %vector.body111

vector.body111:                                   ; preds = %vector.memcheck102, %vector.body111
  %index112 = phi i64 [ %index.next115, %vector.body111 ], [ 0, %vector.memcheck102 ]
  %54 = getelementptr inbounds double, ptr %28, i64 %index112
  %55 = getelementptr inbounds i8, ptr %54, i64 16
  %wide.load113 = load <2 x double>, ptr %54, align 8, !tbaa !13
  %wide.load114 = load <2 x double>, ptr %55, align 8, !tbaa !13
  %56 = getelementptr double, ptr %invariant.gep, i64 %index112
  %57 = getelementptr i8, ptr %56, i64 16
  store <2 x double> %wide.load113, ptr %56, align 8, !tbaa !13
  store <2 x double> %wide.load114, ptr %57, align 8, !tbaa !13
  %index.next115 = add nuw i64 %index112, 4
  %58 = icmp eq i64 %index.next115, %n.vec109
  br i1 %58, label %middle.block104, label %vector.body111, !llvm.loop !17

middle.block104:                                  ; preds = %vector.body111
  br i1 %cmp.n116, label %..preheader_crit_edge.us.us, label %scalar.ph105.preheader

scalar.ph:                                        ; preds = %scalar.ph.prol.loopexit, %scalar.ph
  %indvars.iv65 = phi i64 [ %indvars.iv.next66.3, %scalar.ph ], [ %indvars.iv65.unr, %scalar.ph.prol.loopexit ]
  %59 = getelementptr inbounds double, ptr %35, i64 %indvars.iv65
  %60 = load double, ptr %59, align 8, !tbaa !13
  %61 = getelementptr double, ptr %79, i64 %indvars.iv65
  store double %60, ptr %61, align 8, !tbaa !13
  %indvars.iv.next66 = add nuw nsw i64 %indvars.iv65, 1
  %62 = getelementptr inbounds double, ptr %35, i64 %indvars.iv.next66
  %63 = load double, ptr %62, align 8, !tbaa !13
  %64 = getelementptr double, ptr %79, i64 %indvars.iv.next66
  store double %63, ptr %64, align 8, !tbaa !13
  %indvars.iv.next66.1 = add nuw nsw i64 %indvars.iv65, 2
  %65 = getelementptr inbounds double, ptr %35, i64 %indvars.iv.next66.1
  %66 = load double, ptr %65, align 8, !tbaa !13
  %67 = getelementptr double, ptr %79, i64 %indvars.iv.next66.1
  store double %66, ptr %67, align 8, !tbaa !13
  %indvars.iv.next66.2 = add nuw nsw i64 %indvars.iv65, 3
  %68 = getelementptr inbounds double, ptr %35, i64 %indvars.iv.next66.2
  %69 = load double, ptr %68, align 8, !tbaa !13
  %70 = getelementptr double, ptr %79, i64 %indvars.iv.next66.2
  store double %69, ptr %70, align 8, !tbaa !13
  %indvars.iv.next66.3 = add nuw nsw i64 %indvars.iv65, 4
  %exitcond68.not.3 = icmp eq i64 %indvars.iv.next66.3, %24
  br i1 %exitcond68.not.3, label %._crit_edge.us.us, label %scalar.ph, !llvm.loop !21

scalar.ph105:                                     ; preds = %scalar.ph105.prol.loopexit, %scalar.ph105
  %indvars.iv = phi i64 [ %indvars.iv.next.3, %scalar.ph105 ], [ %indvars.iv.unr, %scalar.ph105.prol.loopexit ]
  %71 = getelementptr inbounds double, ptr %28, i64 %indvars.iv
  %72 = load double, ptr %71, align 8, !tbaa !13
  %gep = getelementptr double, ptr %invariant.gep, i64 %indvars.iv
  store double %72, ptr %gep, align 8, !tbaa !13
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %73 = getelementptr inbounds double, ptr %28, i64 %indvars.iv.next
  %74 = load double, ptr %73, align 8, !tbaa !13
  %gep.1 = getelementptr double, ptr %invariant.gep, i64 %indvars.iv.next
  store double %74, ptr %gep.1, align 8, !tbaa !13
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 2
  %75 = getelementptr inbounds double, ptr %28, i64 %indvars.iv.next.1
  %76 = load double, ptr %75, align 8, !tbaa !13
  %gep.2 = getelementptr double, ptr %invariant.gep, i64 %indvars.iv.next.1
  store double %76, ptr %gep.2, align 8, !tbaa !13
  %indvars.iv.next.2 = add nuw nsw i64 %indvars.iv, 3
  %77 = getelementptr inbounds double, ptr %28, i64 %indvars.iv.next.2
  %78 = load double, ptr %77, align 8, !tbaa !13
  %gep.3 = getelementptr double, ptr %invariant.gep, i64 %indvars.iv.next.2
  store double %78, ptr %gep.3, align 8, !tbaa !13
  %indvars.iv.next.3 = add nuw nsw i64 %indvars.iv, 4
  %exitcond.not.3 = icmp eq i64 %indvars.iv.next.3, %23
  br i1 %exitcond.not.3, label %..preheader_crit_edge.us.us, label %scalar.ph105, !llvm.loop !22

..preheader_crit_edge.us.us:                      ; preds = %scalar.ph105.prol.loopexit, %scalar.ph105, %middle.block104
  %79 = getelementptr double, ptr %37, i64 %47
  %diff.check = icmp ult i64 %46, 32
  %or.cond147 = select i1 %min.iters.check, i1 true, i1 %diff.check
  br i1 %or.cond147, label %scalar.ph.preheader, label %vector.body

scalar.ph.preheader:                              ; preds = %middle.block, %..preheader_crit_edge.us.us
  %indvars.iv65.ph = phi i64 [ 0, %..preheader_crit_edge.us.us ], [ %n.vec, %middle.block ]
  br i1 %lcmp.mod151.not, label %scalar.ph.prol.loopexit, label %scalar.ph.prol

scalar.ph.prol:                                   ; preds = %scalar.ph.preheader, %scalar.ph.prol
  %indvars.iv65.prol = phi i64 [ %indvars.iv.next66.prol, %scalar.ph.prol ], [ %indvars.iv65.ph, %scalar.ph.preheader ]
  %prol.iter152 = phi i64 [ %prol.iter152.next, %scalar.ph.prol ], [ 0, %scalar.ph.preheader ]
  %80 = getelementptr inbounds double, ptr %35, i64 %indvars.iv65.prol
  %81 = load double, ptr %80, align 8, !tbaa !13
  %82 = getelementptr double, ptr %79, i64 %indvars.iv65.prol
  store double %81, ptr %82, align 8, !tbaa !13
  %indvars.iv.next66.prol = add nuw nsw i64 %indvars.iv65.prol, 1
  %prol.iter152.next = add i64 %prol.iter152, 1
  %prol.iter152.cmp.not = icmp eq i64 %prol.iter152.next, %xtraiter150
  br i1 %prol.iter152.cmp.not, label %scalar.ph.prol.loopexit, label %scalar.ph.prol, !llvm.loop !23

scalar.ph.prol.loopexit:                          ; preds = %scalar.ph.prol, %scalar.ph.preheader
  %indvars.iv65.unr = phi i64 [ %indvars.iv65.ph, %scalar.ph.preheader ], [ %indvars.iv.next66.prol, %scalar.ph.prol ]
  %83 = sub i64 %indvars.iv65.ph, %24
  %84 = icmp ugt i64 %83, -4
  br i1 %84, label %._crit_edge.us.us, label %scalar.ph

vector.body:                                      ; preds = %..preheader_crit_edge.us.us, %vector.body
  %index = phi i64 [ %index.next, %vector.body ], [ 0, %..preheader_crit_edge.us.us ]
  %85 = getelementptr inbounds double, ptr %35, i64 %index
  %86 = getelementptr inbounds i8, ptr %85, i64 16
  %wide.load = load <2 x double>, ptr %85, align 8, !tbaa !13
  %wide.load101 = load <2 x double>, ptr %86, align 8, !tbaa !13
  %87 = getelementptr double, ptr %79, i64 %index
  %88 = getelementptr i8, ptr %87, i64 16
  store <2 x double> %wide.load, ptr %87, align 8, !tbaa !13
  store <2 x double> %wide.load101, ptr %88, align 8, !tbaa !13
  %index.next = add nuw i64 %index, 4
  %89 = icmp eq i64 %index.next, %n.vec
  br i1 %89, label %middle.block, label %vector.body, !llvm.loop !24

middle.block:                                     ; preds = %vector.body
  br i1 %cmp.n, label %._crit_edge.us.us, label %scalar.ph.preheader

._crit_edge.us.us:                                ; preds = %scalar.ph.prol.loopexit, %scalar.ph, %middle.block
  %indvars.iv.next70 = add nuw nsw i64 %indvars.iv69, 1
  %exitcond72.not = icmp eq i64 %indvars.iv.next70, %22
  br i1 %exitcond72.not, label %.loopexit, label %.preheader47.us.us, !llvm.loop !25

.preheader47.us:                                  ; preds = %.preheader47.us.preheader, %..preheader_crit_edge.us
  %indvars.iv77 = phi i64 [ 0, %.preheader47.us.preheader ], [ %indvars.iv.next78, %..preheader_crit_edge.us ]
  %90 = mul nsw i64 %indvars.iv77, %32
  %invariant.gep97 = getelementptr double, ptr %30, i64 %90
  br i1 %min.iters.check121, label %scalar.ph120.preheader, label %vector.memcheck117

vector.memcheck117:                               ; preds = %.preheader47.us
  %91 = mul i64 %34, %indvars.iv77
  %92 = add i64 %33, %91
  %diff.check118 = icmp ult i64 %92, 32
  br i1 %diff.check118, label %scalar.ph120.preheader, label %vector.body126

vector.body126:                                   ; preds = %vector.memcheck117, %vector.body126
  %index127 = phi i64 [ %index.next130, %vector.body126 ], [ 0, %vector.memcheck117 ]
  %93 = getelementptr inbounds double, ptr %28, i64 %index127
  %94 = getelementptr inbounds i8, ptr %93, i64 16
  %wide.load128 = load <2 x double>, ptr %93, align 8, !tbaa !13
  %wide.load129 = load <2 x double>, ptr %94, align 8, !tbaa !13
  %95 = getelementptr double, ptr %invariant.gep97, i64 %index127
  %96 = getelementptr i8, ptr %95, i64 16
  store <2 x double> %wide.load128, ptr %95, align 8, !tbaa !13
  store <2 x double> %wide.load129, ptr %96, align 8, !tbaa !13
  %index.next130 = add nuw i64 %index127, 4
  %97 = icmp eq i64 %index.next130, %n.vec124
  br i1 %97, label %middle.block119, label %vector.body126, !llvm.loop !26

middle.block119:                                  ; preds = %vector.body126
  br i1 %cmp.n131, label %..preheader_crit_edge.us, label %scalar.ph120.preheader

scalar.ph120.preheader:                           ; preds = %middle.block119, %vector.memcheck117, %.preheader47.us
  %indvars.iv73.ph = phi i64 [ 0, %vector.memcheck117 ], [ 0, %.preheader47.us ], [ %n.vec124, %middle.block119 ]
  br i1 %lcmp.mod154.not, label %scalar.ph120.prol.loopexit, label %scalar.ph120.prol

scalar.ph120.prol:                                ; preds = %scalar.ph120.preheader, %scalar.ph120.prol
  %indvars.iv73.prol = phi i64 [ %indvars.iv.next74.prol, %scalar.ph120.prol ], [ %indvars.iv73.ph, %scalar.ph120.preheader ]
  %prol.iter155 = phi i64 [ %prol.iter155.next, %scalar.ph120.prol ], [ 0, %scalar.ph120.preheader ]
  %98 = getelementptr inbounds double, ptr %28, i64 %indvars.iv73.prol
  %99 = load double, ptr %98, align 8, !tbaa !13
  %gep98.prol = getelementptr double, ptr %invariant.gep97, i64 %indvars.iv73.prol
  store double %99, ptr %gep98.prol, align 8, !tbaa !13
  %indvars.iv.next74.prol = add nuw nsw i64 %indvars.iv73.prol, 1
  %prol.iter155.next = add i64 %prol.iter155, 1
  %prol.iter155.cmp.not = icmp eq i64 %prol.iter155.next, %xtraiter153
  br i1 %prol.iter155.cmp.not, label %scalar.ph120.prol.loopexit, label %scalar.ph120.prol, !llvm.loop !27

scalar.ph120.prol.loopexit:                       ; preds = %scalar.ph120.prol, %scalar.ph120.preheader
  %indvars.iv73.unr = phi i64 [ %indvars.iv73.ph, %scalar.ph120.preheader ], [ %indvars.iv.next74.prol, %scalar.ph120.prol ]
  %100 = sub i64 %indvars.iv73.ph, %23
  %101 = icmp ugt i64 %100, -4
  br i1 %101, label %..preheader_crit_edge.us, label %scalar.ph120

scalar.ph120:                                     ; preds = %scalar.ph120.prol.loopexit, %scalar.ph120
  %indvars.iv73 = phi i64 [ %indvars.iv.next74.3, %scalar.ph120 ], [ %indvars.iv73.unr, %scalar.ph120.prol.loopexit ]
  %102 = getelementptr inbounds double, ptr %28, i64 %indvars.iv73
  %103 = load double, ptr %102, align 8, !tbaa !13
  %gep98 = getelementptr double, ptr %invariant.gep97, i64 %indvars.iv73
  store double %103, ptr %gep98, align 8, !tbaa !13
  %indvars.iv.next74 = add nuw nsw i64 %indvars.iv73, 1
  %104 = getelementptr inbounds double, ptr %28, i64 %indvars.iv.next74
  %105 = load double, ptr %104, align 8, !tbaa !13
  %gep98.1 = getelementptr double, ptr %invariant.gep97, i64 %indvars.iv.next74
  store double %105, ptr %gep98.1, align 8, !tbaa !13
  %indvars.iv.next74.1 = add nuw nsw i64 %indvars.iv73, 2
  %106 = getelementptr inbounds double, ptr %28, i64 %indvars.iv.next74.1
  %107 = load double, ptr %106, align 8, !tbaa !13
  %gep98.2 = getelementptr double, ptr %invariant.gep97, i64 %indvars.iv.next74.1
  store double %107, ptr %gep98.2, align 8, !tbaa !13
  %indvars.iv.next74.2 = add nuw nsw i64 %indvars.iv73, 3
  %108 = getelementptr inbounds double, ptr %28, i64 %indvars.iv.next74.2
  %109 = load double, ptr %108, align 8, !tbaa !13
  %gep98.3 = getelementptr double, ptr %invariant.gep97, i64 %indvars.iv.next74.2
  store double %109, ptr %gep98.3, align 8, !tbaa !13
  %indvars.iv.next74.3 = add nuw nsw i64 %indvars.iv73, 4
  %exitcond76.not.3 = icmp eq i64 %indvars.iv.next74.3, %23
  br i1 %exitcond76.not.3, label %..preheader_crit_edge.us, label %scalar.ph120, !llvm.loop !28

..preheader_crit_edge.us:                         ; preds = %scalar.ph120.prol.loopexit, %scalar.ph120, %middle.block119
  %indvars.iv.next78 = add nuw nsw i64 %indvars.iv77, 1
  %exitcond80.not = icmp eq i64 %indvars.iv.next78, %22
  br i1 %exitcond80.not, label %.loopexit, label %.preheader47.us, !llvm.loop !25

.preheader47.lr.ph.split:                         ; preds = %.preheader47.lr.ph
  br i1 %.not60, label %.loopexit, label %.preheader47.lr.ph.split.split.us

.preheader47.lr.ph.split.split.us:                ; preds = %.preheader47.lr.ph.split
  %110 = load ptr, ptr %25, align 8, !tbaa !12
  %111 = ptrtoint ptr %110 to i64
  %112 = load ptr, ptr %26, align 8, !tbaa !12
  %113 = ptrtoint ptr %112 to i64
  %sext94 = shl i64 %19, 32
  %114 = ashr exact i64 %sext94, 32
  %115 = sub i64 %113, %111
  %116 = ashr exact i64 %sext94, 29
  %min.iters.check136 = icmp ult i64 %24, 4
  %n.vec139 = and i64 %24, -4
  %cmp.n146 = icmp eq i64 %24, %n.vec139
  %xtraiter156 = and i64 %24, 3
  %lcmp.mod157.not = icmp eq i64 %xtraiter156, 0
  br label %.preheader47.us53

.preheader47.us53:                                ; preds = %._crit_edge.us57, %.preheader47.lr.ph.split.split.us
  %indvars.iv85 = phi i64 [ %indvars.iv.next86, %._crit_edge.us57 ], [ 0, %.preheader47.lr.ph.split.split.us ]
  %117 = mul nsw i64 %indvars.iv85, %114
  %118 = getelementptr double, ptr %112, i64 %117
  br i1 %min.iters.check136, label %scalar.ph135.preheader, label %vector.memcheck132

vector.memcheck132:                               ; preds = %.preheader47.us53
  %119 = mul i64 %116, %indvars.iv85
  %120 = add i64 %115, %119
  %diff.check133 = icmp ult i64 %120, 32
  br i1 %diff.check133, label %scalar.ph135.preheader, label %vector.body141

vector.body141:                                   ; preds = %vector.memcheck132, %vector.body141
  %index142 = phi i64 [ %index.next145, %vector.body141 ], [ 0, %vector.memcheck132 ]
  %121 = getelementptr inbounds double, ptr %110, i64 %index142
  %122 = getelementptr inbounds i8, ptr %121, i64 16
  %wide.load143 = load <2 x double>, ptr %121, align 8, !tbaa !13
  %wide.load144 = load <2 x double>, ptr %122, align 8, !tbaa !13
  %123 = getelementptr double, ptr %118, i64 %index142
  %124 = getelementptr i8, ptr %123, i64 16
  store <2 x double> %wide.load143, ptr %123, align 8, !tbaa !13
  store <2 x double> %wide.load144, ptr %124, align 8, !tbaa !13
  %index.next145 = add nuw i64 %index142, 4
  %125 = icmp eq i64 %index.next145, %n.vec139
  br i1 %125, label %middle.block134, label %vector.body141, !llvm.loop !29

middle.block134:                                  ; preds = %vector.body141
  br i1 %cmp.n146, label %._crit_edge.us57, label %scalar.ph135.preheader

scalar.ph135.preheader:                           ; preds = %middle.block134, %vector.memcheck132, %.preheader47.us53
  %indvars.iv81.ph = phi i64 [ 0, %vector.memcheck132 ], [ 0, %.preheader47.us53 ], [ %n.vec139, %middle.block134 ]
  br i1 %lcmp.mod157.not, label %scalar.ph135.prol.loopexit, label %scalar.ph135.prol

scalar.ph135.prol:                                ; preds = %scalar.ph135.preheader, %scalar.ph135.prol
  %indvars.iv81.prol = phi i64 [ %indvars.iv.next82.prol, %scalar.ph135.prol ], [ %indvars.iv81.ph, %scalar.ph135.preheader ]
  %prol.iter158 = phi i64 [ %prol.iter158.next, %scalar.ph135.prol ], [ 0, %scalar.ph135.preheader ]
  %126 = getelementptr inbounds double, ptr %110, i64 %indvars.iv81.prol
  %127 = load double, ptr %126, align 8, !tbaa !13
  %128 = getelementptr double, ptr %118, i64 %indvars.iv81.prol
  store double %127, ptr %128, align 8, !tbaa !13
  %indvars.iv.next82.prol = add nuw nsw i64 %indvars.iv81.prol, 1
  %prol.iter158.next = add i64 %prol.iter158, 1
  %prol.iter158.cmp.not = icmp eq i64 %prol.iter158.next, %xtraiter156
  br i1 %prol.iter158.cmp.not, label %scalar.ph135.prol.loopexit, label %scalar.ph135.prol, !llvm.loop !30

scalar.ph135.prol.loopexit:                       ; preds = %scalar.ph135.prol, %scalar.ph135.preheader
  %indvars.iv81.unr = phi i64 [ %indvars.iv81.ph, %scalar.ph135.preheader ], [ %indvars.iv.next82.prol, %scalar.ph135.prol ]
  %129 = sub i64 %indvars.iv81.ph, %24
  %130 = icmp ugt i64 %129, -4
  br i1 %130, label %._crit_edge.us57, label %scalar.ph135

scalar.ph135:                                     ; preds = %scalar.ph135.prol.loopexit, %scalar.ph135
  %indvars.iv81 = phi i64 [ %indvars.iv.next82.3, %scalar.ph135 ], [ %indvars.iv81.unr, %scalar.ph135.prol.loopexit ]
  %131 = getelementptr inbounds double, ptr %110, i64 %indvars.iv81
  %132 = load double, ptr %131, align 8, !tbaa !13
  %133 = getelementptr double, ptr %118, i64 %indvars.iv81
  store double %132, ptr %133, align 8, !tbaa !13
  %indvars.iv.next82 = add nuw nsw i64 %indvars.iv81, 1
  %134 = getelementptr inbounds double, ptr %110, i64 %indvars.iv.next82
  %135 = load double, ptr %134, align 8, !tbaa !13
  %136 = getelementptr double, ptr %118, i64 %indvars.iv.next82
  store double %135, ptr %136, align 8, !tbaa !13
  %indvars.iv.next82.1 = add nuw nsw i64 %indvars.iv81, 2
  %137 = getelementptr inbounds double, ptr %110, i64 %indvars.iv.next82.1
  %138 = load double, ptr %137, align 8, !tbaa !13
  %139 = getelementptr double, ptr %118, i64 %indvars.iv.next82.1
  store double %138, ptr %139, align 8, !tbaa !13
  %indvars.iv.next82.2 = add nuw nsw i64 %indvars.iv81, 3
  %140 = getelementptr inbounds double, ptr %110, i64 %indvars.iv.next82.2
  %141 = load double, ptr %140, align 8, !tbaa !13
  %142 = getelementptr double, ptr %118, i64 %indvars.iv.next82.2
  store double %141, ptr %142, align 8, !tbaa !13
  %indvars.iv.next82.3 = add nuw nsw i64 %indvars.iv81, 4
  %exitcond84.not.3 = icmp eq i64 %indvars.iv.next82.3, %24
  br i1 %exitcond84.not.3, label %._crit_edge.us57, label %scalar.ph135, !llvm.loop !31

._crit_edge.us57:                                 ; preds = %scalar.ph135.prol.loopexit, %scalar.ph135, %middle.block134
  %indvars.iv.next86 = add nuw nsw i64 %indvars.iv85, 1
  %exitcond88.not = icmp eq i64 %indvars.iv.next86, %22
  br i1 %exitcond88.not, label %.loopexit, label %.preheader47.us53, !llvm.loop !25

143:                                              ; preds = %16
  %144 = landingpad { ptr, i32 }
          cleanup
  tail call void @_ZdlPvm(ptr noundef nonnull %20, i64 noundef 32) #6
  resume { ptr, i32 } %144

.loopexit:                                        ; preds = %._crit_edge.us.us, %..preheader_crit_edge.us, %._crit_edge.us57, %.preheader47.lr.ph.split, %.preheader48, %2, %9, %6
  %.042 = phi ptr [ %10, %9 ], [ %7, %6 ], [ null, %2 ], [ %20, %.preheader48 ], [ %20, %.preheader47.lr.ph.split ], [ %20, %._crit_edge.us57 ], [ %20, %..preheader_crit_edge.us ], [ %20, %._crit_edge.us.us ]
  ret ptr %.042
}

attributes #0 = { noreturn nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { nobuiltin allocsize(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 = { nobuiltin nounwind "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 = { noreturn nounwind }
attributes #5 = { builtin allocsize(0) }
attributes #6 = { builtin 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, !7, i64 8}
!6 = !{!"_ZTSN6format5DenseE", !7, i64 0, !7, i64 8, !7, i64 16, !10, i64 24}
!7 = !{!"long", !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!"any pointer", !8, i64 0}
!11 = !{!6, !7, i64 0}
!12 = !{!6, !10, i64 24}
!13 = !{!14, !14, i64 0}
!14 = !{!"double", !8, i64 0}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.unroll.disable"}
!17 = distinct !{!17, !18, !19, !20}
!18 = !{!"llvm.loop.mustprogress"}
!19 = !{!"llvm.loop.isvectorized", i32 1}
!20 = !{!"llvm.loop.unroll.runtime.disable"}
!21 = distinct !{!21, !18, !19}
!22 = distinct !{!22, !18, !19}
!23 = distinct !{!23, !16}
!24 = distinct !{!24, !18, !19, !20}
!25 = distinct !{!25, !18}
!26 = distinct !{!26, !18, !19, !20}
!27 = distinct !{!27, !16}
!28 = distinct !{!28, !18, !19}
!29 = distinct !{!29, !18, !19, !20}
!30 = distinct !{!30, !16}
!31 = distinct !{!31, !18, !19}


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