; LLVM IR from 6leetcode/6leetcode :: questions/Algorithms/0067. Add Binary (c)

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

; Function Attrs: nounwind uwtable
define dso_local ptr @addBinary(ptr noundef %0, ptr noundef %1) #0 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %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
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #7
  %13 = load ptr, ptr %3, align 8, !tbaa !5
  %14 = call i64 @strlen(ptr noundef %13) #8
  %15 = trunc i64 %14 to i32
  store i32 %15, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #7
  %16 = load ptr, ptr %4, align 8, !tbaa !5
  %17 = call i64 @strlen(ptr noundef %16) #8
  %18 = trunc i64 %17 to i32
  store i32 %18, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #7
  %19 = load i32, ptr %5, align 4, !tbaa !9
  %20 = load i32, ptr %6, align 4, !tbaa !9
  %21 = icmp sgt i32 %19, %20
  br i1 %21, label %22, label %25

22:                                               ; preds = %2
  %23 = load i32, ptr %5, align 4, !tbaa !9
  %24 = add nsw i32 %23, 1
  br label %28

25:                                               ; preds = %2
  %26 = load i32, ptr %6, align 4, !tbaa !9
  %27 = add nsw i32 %26, 1
  br label %28

28:                                               ; preds = %25, %22
  %29 = phi i32 [ %24, %22 ], [ %27, %25 ]
  store i32 %29, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #7
  %30 = load i32, ptr %7, align 4, !tbaa !9
  store i32 %30, ptr %8, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #7
  %31 = load i32, ptr %7, align 4, !tbaa !9
  %32 = sext i32 %31 to i64
  %33 = mul i64 %32, 1
  %34 = call noalias ptr @malloc(i64 noundef %33) #9
  store ptr %34, ptr %9, align 8, !tbaa !5
  %35 = load ptr, ptr %9, align 8, !tbaa !5
  %36 = load i32, ptr %7, align 4, !tbaa !9
  %37 = sext i32 %36 to i64
  call void @llvm.memset.p0.i64(ptr align 1 %35, i8 0, i64 %37, i1 false)
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #7
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %38

38:                                               ; preds = %129, %28
  %39 = load i32, ptr %5, align 4, !tbaa !9
  %40 = icmp sgt i32 %39, 0
  br i1 %40, label %44, label %41

41:                                               ; preds = %38
  %42 = load i32, ptr %6, align 4, !tbaa !9
  %43 = icmp sgt i32 %42, 0
  br label %44

44:                                               ; preds = %41, %38
  %45 = phi i1 [ true, %38 ], [ %43, %41 ]
  br i1 %45, label %46, label %132

46:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #7
  %47 = load i32, ptr %5, align 4, !tbaa !9
  %48 = icmp sgt i32 %47, 0
  br i1 %48, label %49, label %58

49:                                               ; preds = %46
  %50 = load ptr, ptr %3, align 8, !tbaa !5
  %51 = load i32, ptr %5, align 4, !tbaa !9
  %52 = add nsw i32 %51, -1
  store i32 %52, ptr %5, align 4, !tbaa !9
  %53 = sext i32 %52 to i64
  %54 = getelementptr inbounds i8, ptr %50, i64 %53
  %55 = load i8, ptr %54, align 1, !tbaa !11
  %56 = sext i8 %55 to i32
  %57 = sub nsw i32 %56, 48
  br label %59

58:                                               ; preds = %46
  br label %59

59:                                               ; preds = %58, %49
  %60 = phi i32 [ %57, %49 ], [ 0, %58 ]
  store i32 %60, ptr %11, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #7
  %61 = load i32, ptr %6, align 4, !tbaa !9
  %62 = icmp sgt i32 %61, 0
  br i1 %62, label %63, label %72

63:                                               ; preds = %59
  %64 = load ptr, ptr %4, align 8, !tbaa !5
  %65 = load i32, ptr %6, align 4, !tbaa !9
  %66 = add nsw i32 %65, -1
  store i32 %66, ptr %6, align 4, !tbaa !9
  %67 = sext i32 %66 to i64
  %68 = getelementptr inbounds i8, ptr %64, i64 %67
  %69 = load i8, ptr %68, align 1, !tbaa !11
  %70 = sext i8 %69 to i32
  %71 = sub nsw i32 %70, 48
  br label %73

72:                                               ; preds = %59
  br label %73

73:                                               ; preds = %72, %63
  %74 = phi i32 [ %71, %63 ], [ 0, %72 ]
  store i32 %74, ptr %12, align 4, !tbaa !9
  %75 = load i32, ptr %11, align 4, !tbaa !9
  %76 = load i32, ptr %12, align 4, !tbaa !9
  %77 = add nsw i32 %75, %76
  %78 = load i32, ptr %10, align 4, !tbaa !9
  %79 = add nsw i32 %77, %78
  %80 = icmp eq i32 %79, 3
  br i1 %80, label %81, label %87

81:                                               ; preds = %73
  %82 = load ptr, ptr %9, align 8, !tbaa !5
  %83 = load i32, ptr %7, align 4, !tbaa !9
  %84 = sub nsw i32 %83, 2
  %85 = sext i32 %84 to i64
  %86 = getelementptr inbounds i8, ptr %82, i64 %85
  store i8 49, ptr %86, align 1, !tbaa !11
  store i32 1, ptr %10, align 4, !tbaa !9
  br label %129

87:                                               ; preds = %73
  %88 = load i32, ptr %11, align 4, !tbaa !9
  %89 = load i32, ptr %12, align 4, !tbaa !9
  %90 = add nsw i32 %88, %89
  %91 = load i32, ptr %10, align 4, !tbaa !9
  %92 = add nsw i32 %90, %91
  %93 = icmp eq i32 %92, 2
  br i1 %93, label %94, label %100

94:                                               ; preds = %87
  %95 = load ptr, ptr %9, align 8, !tbaa !5
  %96 = load i32, ptr %7, align 4, !tbaa !9
  %97 = sub nsw i32 %96, 2
  %98 = sext i32 %97 to i64
  %99 = getelementptr inbounds i8, ptr %95, i64 %98
  store i8 48, ptr %99, align 1, !tbaa !11
  store i32 1, ptr %10, align 4, !tbaa !9
  br label %128

100:                                              ; preds = %87
  %101 = load i32, ptr %11, align 4, !tbaa !9
  %102 = load i32, ptr %12, align 4, !tbaa !9
  %103 = add nsw i32 %101, %102
  %104 = load i32, ptr %10, align 4, !tbaa !9
  %105 = add nsw i32 %103, %104
  %106 = icmp eq i32 %105, 1
  br i1 %106, label %107, label %113

107:                                              ; preds = %100
  %108 = load ptr, ptr %9, align 8, !tbaa !5
  %109 = load i32, ptr %7, align 4, !tbaa !9
  %110 = sub nsw i32 %109, 2
  %111 = sext i32 %110 to i64
  %112 = getelementptr inbounds i8, ptr %108, i64 %111
  store i8 49, ptr %112, align 1, !tbaa !11
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %127

113:                                              ; preds = %100
  %114 = load i32, ptr %11, align 4, !tbaa !9
  %115 = load i32, ptr %12, align 4, !tbaa !9
  %116 = add nsw i32 %114, %115
  %117 = load i32, ptr %10, align 4, !tbaa !9
  %118 = add nsw i32 %116, %117
  %119 = icmp eq i32 %118, 0
  br i1 %119, label %120, label %126

120:                                              ; preds = %113
  %121 = load ptr, ptr %9, align 8, !tbaa !5
  %122 = load i32, ptr %7, align 4, !tbaa !9
  %123 = sub nsw i32 %122, 2
  %124 = sext i32 %123 to i64
  %125 = getelementptr inbounds i8, ptr %121, i64 %124
  store i8 48, ptr %125, align 1, !tbaa !11
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %126

126:                                              ; preds = %120, %113
  br label %127

127:                                              ; preds = %126, %107
  br label %128

128:                                              ; preds = %127, %94
  br label %129

129:                                              ; preds = %128, %81
  %130 = load i32, ptr %7, align 4, !tbaa !9
  %131 = add nsw i32 %130, -1
  store i32 %131, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #7
  br label %38, !llvm.loop !12

132:                                              ; preds = %44
  %133 = load i32, ptr %10, align 4, !tbaa !9
  %134 = icmp eq i32 %133, 1
  br i1 %134, label %135, label %150

135:                                              ; preds = %132
  %136 = load ptr, ptr %9, align 8, !tbaa !5
  %137 = load i32, ptr %8, align 4, !tbaa !9
  %138 = add nsw i32 %137, 1
  %139 = sext i32 %138 to i64
  %140 = mul i64 %139, 1
  %141 = call ptr @realloc(ptr noundef %136, i64 noundef %140) #10
  store ptr %141, ptr %9, align 8, !tbaa !5
  %142 = load ptr, ptr %9, align 8, !tbaa !5
  %143 = getelementptr inbounds i8, ptr %142, i64 1
  %144 = load ptr, ptr %9, align 8, !tbaa !5
  %145 = load i32, ptr %8, align 4, !tbaa !9
  %146 = sext i32 %145 to i64
  %147 = mul i64 %146, 1
  call void @llvm.memmove.p0.p0.i64(ptr align 1 %143, ptr align 1 %144, i64 %147, i1 false)
  %148 = load ptr, ptr %9, align 8, !tbaa !5
  %149 = getelementptr inbounds i8, ptr %148, i64 0
  store i8 49, ptr %149, align 1, !tbaa !11
  br label %150

150:                                              ; preds = %135, %132
  %151 = load ptr, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #7
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #7
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #7
  ret ptr %151
}

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

; Function Attrs: nounwind willreturn memory(read)
declare i64 @strlen(ptr noundef) #2

; Function Attrs: nounwind allocsize(0)
declare noalias ptr @malloc(i64 noundef) #3

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: write)
declare void @llvm.memset.p0.i64(ptr nocapture writeonly, i8, i64, i1 immarg) #4

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

; Function Attrs: nounwind allocsize(1)
declare ptr @realloc(ptr noundef, i64 noundef) #5

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memmove.p0.p0.i64(ptr nocapture writeonly, ptr nocapture readonly, i64, i1 immarg) #6

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nounwind willreturn memory(read) "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 = { nounwind 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 #4 = { nocallback nofree nounwind willreturn memory(argmem: write) }
attributes #5 = { nounwind allocsize(1) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #6 = { nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { nounwind }
attributes #8 = { nounwind willreturn memory(read) }
attributes #9 = { nounwind allocsize(0) }
attributes #10 = { nounwind allocsize(1) }

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

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


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

@switch.table.addBinary = private unnamed_addr constant [4 x i32] [i32 0, i32 0, i32 1, i32 1], align 4

; Function Attrs: nounwind memory(readwrite, argmem: read) uwtable
define dso_local noalias noundef ptr @addBinary(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
  %3 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %0) #6
  %4 = trunc i64 %3 to i32
  %5 = tail call i64 @strlen(ptr noundef nonnull dereferenceable(1) %1) #6
  %6 = trunc i64 %5 to i32
  %.v = tail call i32 @llvm.smax.i32(i32 %4, i32 %6)
  %7 = add nsw i32 %.v, 1
  %8 = sext i32 %7 to i64
  %calloc = tail call ptr @calloc(i64 1, i64 %8)
  %invariant.gep = getelementptr i8, ptr %calloc, i64 -2
  %9 = icmp sgt i32 %4, 0
  %10 = icmp sgt i32 %6, 0
  %11 = or i1 %9, %10
  br i1 %11, label %.lr.ph.preheader, label %._crit_edge.thread

.lr.ph.preheader:                                 ; preds = %2
  %sext = shl i64 %5, 32
  %12 = ashr exact i64 %sext, 32
  %sext63 = shl i64 %3, 32
  %13 = ashr exact i64 %sext63, 32
  %smax = tail call i64 @llvm.smax.i64(i64 %12, i64 %13)
  %14 = add nsw i64 %smax, 1
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader, %39
  %indvars.iv = phi i64 [ %14, %.lr.ph.preheader ], [ %indvars.iv.next, %39 ]
  %15 = phi i1 [ %10, %.lr.ph.preheader ], [ %41, %39 ]
  %16 = phi i1 [ %9, %.lr.ph.preheader ], [ %40, %39 ]
  %.062 = phi i32 [ %4, %.lr.ph.preheader ], [ %.1, %39 ]
  %.04661 = phi i32 [ %6, %.lr.ph.preheader ], [ %.147, %39 ]
  %.04860 = phi i32 [ 0, %.lr.ph.preheader ], [ %.149, %39 ]
  br i1 %16, label %17, label %24

17:                                               ; preds = %.lr.ph
  %18 = add nsw i32 %.062, -1
  %19 = zext nneg i32 %18 to i64
  %20 = getelementptr inbounds i8, ptr %0, i64 %19
  %21 = load i8, ptr %20, align 1, !tbaa !5
  %22 = sext i8 %21 to i32
  %23 = add nsw i32 %22, -48
  br label %24

24:                                               ; preds = %.lr.ph, %17
  %.1 = phi i32 [ %18, %17 ], [ %.062, %.lr.ph ]
  %25 = phi i32 [ %23, %17 ], [ 0, %.lr.ph ]
  br i1 %15, label %26, label %33

26:                                               ; preds = %24
  %27 = add nsw i32 %.04661, -1
  %28 = zext nneg i32 %27 to i64
  %29 = getelementptr inbounds i8, ptr %1, i64 %28
  %30 = load i8, ptr %29, align 1, !tbaa !5
  %31 = sext i8 %30 to i32
  %32 = add nsw i32 %31, -48
  br label %33

33:                                               ; preds = %24, %26
  %.147 = phi i32 [ %27, %26 ], [ %.04661, %24 ]
  %34 = phi i32 [ %32, %26 ], [ 0, %24 ]
  %35 = add nsw i32 %25, %.04860
  %36 = add nsw i32 %35, %34
  %37 = icmp ult i32 %36, 4
  br i1 %37, label %switch.lookup, label %39

switch.lookup:                                    ; preds = %33
  %switch.shiftamt = shl nuw nsw i32 %36, 3
  %switch.downshift = lshr i32 825241904, %switch.shiftamt
  %switch.masked = trunc i32 %switch.downshift to i8
  %38 = zext nneg i32 %36 to i64
  %switch.gep = getelementptr inbounds [4 x i32], ptr @switch.table.addBinary, i64 0, i64 %38
  %switch.load = load i32, ptr %switch.gep, align 4
  %gep56 = getelementptr i8, ptr %invariant.gep, i64 %indvars.iv
  store i8 %switch.masked, ptr %gep56, align 1, !tbaa !5
  br label %39

39:                                               ; preds = %33, %switch.lookup
  %.149 = phi i32 [ %.04860, %33 ], [ %switch.load, %switch.lookup ]
  %indvars.iv.next = add nsw i64 %indvars.iv, -1
  %40 = icmp sgt i32 %.1, 0
  %41 = icmp sgt i32 %.147, 0
  %42 = select i1 %40, i1 true, i1 %41
  br i1 %42, label %.lr.ph, label %._crit_edge, !llvm.loop !8

._crit_edge:                                      ; preds = %39
  %43 = icmp eq i32 %.149, 1
  br i1 %43, label %44, label %._crit_edge.thread

44:                                               ; preds = %._crit_edge
  %45 = add nsw i32 %.v, 2
  %46 = sext i32 %45 to i64
  %47 = tail call ptr @realloc(ptr noundef %calloc, i64 noundef %46) #7
  %48 = getelementptr inbounds i8, ptr %47, i64 1
  tail call void @llvm.memmove.p0.p0.i64(ptr nonnull align 1 %48, ptr align 1 %47, i64 %8, i1 false)
  store i8 49, ptr %47, align 1, !tbaa !5
  br label %._crit_edge.thread

._crit_edge.thread:                               ; preds = %2, %44, %._crit_edge
  %.050 = phi ptr [ %47, %44 ], [ %calloc, %._crit_edge ], [ %calloc, %2 ]
  ret ptr %.050
}

; Function Attrs: mustprogress nofree nounwind willreturn memory(argmem: read)
declare i64 @strlen(ptr nocapture noundef) local_unnamed_addr #1

; Function Attrs: mustprogress nounwind willreturn allockind("realloc") allocsize(1) memory(argmem: readwrite, inaccessiblemem: readwrite)
declare noalias noundef ptr @realloc(ptr allocptr nocapture noundef, i64 noundef) local_unnamed_addr #2

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memmove.p0.p0.i64(ptr nocapture writeonly, ptr nocapture readonly, i64, i1 immarg) #3

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.smax.i32(i32, i32) #4

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.smax.i64(i64, i64) #4

; Function Attrs: nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite)
declare noalias noundef ptr @calloc(i64 noundef, i64 noundef) local_unnamed_addr #5

attributes #0 = { nounwind memory(readwrite, argmem: read) 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 nofree nounwind willreturn memory(argmem: read) "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { mustprogress nounwind willreturn allockind("realloc") allocsize(1) memory(argmem: readwrite, inaccessiblemem: readwrite) "alloc-family"="malloc" "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 nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nofree nounwind willreturn allockind("alloc,zeroed") allocsize(0,1) memory(inaccessiblemem: readwrite) "alloc-family"="malloc" }
attributes #6 = { nounwind willreturn memory(read) }
attributes #7 = { nounwind allocsize(1) }

!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 = !{!"omnipotent char", !7, i64 0}
!7 = !{!"Simple C/C++ TBAA"}
!8 = distinct !{!8, !9}
!9 = !{!"llvm.loop.mustprogress"}


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