; LLVM IR from tangjz/acm-icpc :: codeforces/complete/1175C.ll (Z5checkx)

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

@n = external dso_local global i32, align 4
@m = external dso_local global i32, align 4
@a = external dso_local global [200001 x i64], align 16
@b = external dso_local global [400003 x i64], align 16
@pos = external dso_local global i64, align 8

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z5checkx(i64 noundef %0) #0 {
  %2 = alloca i1, align 1
  %3 = alloca i64, align 8
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  store i64 %0, ptr %3, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #3
  store i32 0, ptr %4, align 4, !tbaa !9
  br label %9

9:                                                ; preds = %35, %1
  %10 = load i32, ptr %4, align 4, !tbaa !9
  %11 = load i32, ptr @n, align 4, !tbaa !9
  %12 = icmp slt i32 %10, %11
  br i1 %12, label %14, label %13

13:                                               ; preds = %9
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #3
  br label %38

14:                                               ; preds = %9
  %15 = load i32, ptr %4, align 4, !tbaa !9
  %16 = sext i32 %15 to i64
  %17 = getelementptr inbounds [200001 x i64], ptr @a, i64 0, i64 %16
  %18 = load i64, ptr %17, align 8, !tbaa !5
  %19 = load i64, ptr %3, align 8, !tbaa !5
  %20 = sub nsw i64 %18, %19
  %21 = load i32, ptr %4, align 4, !tbaa !9
  %22 = sext i32 %21 to i64
  %23 = getelementptr inbounds [400003 x i64], ptr @b, i64 0, i64 %22
  store i64 %20, ptr %23, align 8, !tbaa !5
  %24 = load i32, ptr %4, align 4, !tbaa !9
  %25 = sext i32 %24 to i64
  %26 = getelementptr inbounds [200001 x i64], ptr @a, i64 0, i64 %25
  %27 = load i64, ptr %26, align 8, !tbaa !5
  %28 = load i64, ptr %3, align 8, !tbaa !5
  %29 = add nsw i64 %27, %28
  %30 = load i32, ptr @n, align 4, !tbaa !9
  %31 = load i32, ptr %4, align 4, !tbaa !9
  %32 = add nsw i32 %30, %31
  %33 = sext i32 %32 to i64
  %34 = getelementptr inbounds [400003 x i64], ptr @b, i64 0, i64 %33
  store i64 %29, ptr %34, align 8, !tbaa !5
  br label %35

35:                                               ; preds = %14
  %36 = load i32, ptr %4, align 4, !tbaa !9
  %37 = add nsw i32 %36, 1
  store i32 %37, ptr %4, align 4, !tbaa !9
  br label %9, !llvm.loop !11

38:                                               ; preds = %13
  %39 = load i32, ptr @n, align 4, !tbaa !9
  %40 = sext i32 %39 to i64
  %41 = getelementptr inbounds i64, ptr @b, i64 %40
  %42 = load i32, ptr @n, align 4, !tbaa !9
  %43 = sext i32 %42 to i64
  %44 = getelementptr inbounds i64, ptr @b, i64 %43
  %45 = load i32, ptr @n, align 4, !tbaa !9
  %46 = sext i32 %45 to i64
  %47 = getelementptr inbounds i64, ptr %44, i64 %46
  call void @_ZSt13inplace_mergeIPxEvT_S1_S1_(ptr noundef @b, ptr noundef %41, ptr noundef %47)
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #3
  store i32 0, ptr %5, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #3
  store i32 0, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #3
  store i32 0, ptr %7, align 4, !tbaa !9
  br label %48

48:                                               ; preds = %114, %38
  %49 = load i32, ptr %5, align 4, !tbaa !9
  %50 = load i32, ptr @n, align 4, !tbaa !9
  %51 = load i32, ptr @n, align 4, !tbaa !9
  %52 = add nsw i32 %50, %51
  %53 = icmp slt i32 %49, %52
  br i1 %53, label %55, label %54

54:                                               ; preds = %48
  store i32 5, ptr %8, align 4
  br label %117

55:                                               ; preds = %48
  br label %56

56:                                               ; preds = %75, %55
  %57 = load i32, ptr %6, align 4, !tbaa !9
  %58 = load i32, ptr @n, align 4, !tbaa !9
  %59 = icmp slt i32 %57, %58
  br i1 %59, label %60, label %72

60:                                               ; preds = %56
  %61 = load i32, ptr %5, align 4, !tbaa !9
  %62 = sext i32 %61 to i64
  %63 = getelementptr inbounds [400003 x i64], ptr @b, i64 0, i64 %62
  %64 = load i64, ptr %63, align 8, !tbaa !5
  %65 = load i32, ptr %6, align 4, !tbaa !9
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds [200001 x i64], ptr @a, i64 0, i64 %66
  %68 = load i64, ptr %67, align 8, !tbaa !5
  %69 = load i64, ptr %3, align 8, !tbaa !5
  %70 = sub nsw i64 %68, %69
  %71 = icmp sge i64 %64, %70
  br label %72

72:                                               ; preds = %60, %56
  %73 = phi i1 [ false, %56 ], [ %71, %60 ]
  br i1 %73, label %74, label %78

74:                                               ; preds = %72
  br label %75

75:                                               ; preds = %74
  %76 = load i32, ptr %6, align 4, !tbaa !9
  %77 = add nsw i32 %76, 1
  store i32 %77, ptr %6, align 4, !tbaa !9
  br label %56, !llvm.loop !13

78:                                               ; preds = %72
  br label %79

79:                                               ; preds = %98, %78
  %80 = load i32, ptr %7, align 4, !tbaa !9
  %81 = load i32, ptr @n, align 4, !tbaa !9
  %82 = icmp slt i32 %80, %81
  br i1 %82, label %83, label %95

83:                                               ; preds = %79
  %84 = load i32, ptr %5, align 4, !tbaa !9
  %85 = sext i32 %84 to i64
  %86 = getelementptr inbounds [400003 x i64], ptr @b, i64 0, i64 %85
  %87 = load i64, ptr %86, align 8, !tbaa !5
  %88 = load i32, ptr %7, align 4, !tbaa !9
  %89 = sext i32 %88 to i64
  %90 = getelementptr inbounds [200001 x i64], ptr @a, i64 0, i64 %89
  %91 = load i64, ptr %90, align 8, !tbaa !5
  %92 = load i64, ptr %3, align 8, !tbaa !5
  %93 = add nsw i64 %91, %92
  %94 = icmp sgt i64 %87, %93
  br label %95

95:                                               ; preds = %83, %79
  %96 = phi i1 [ false, %79 ], [ %94, %83 ]
  br i1 %96, label %97, label %101

97:                                               ; preds = %95
  br label %98

98:                                               ; preds = %97
  %99 = load i32, ptr %7, align 4, !tbaa !9
  %100 = add nsw i32 %99, 1
  store i32 %100, ptr %7, align 4, !tbaa !9
  br label %79, !llvm.loop !14

101:                                              ; preds = %95
  %102 = load i32, ptr %6, align 4, !tbaa !9
  %103 = load i32, ptr %7, align 4, !tbaa !9
  %104 = sub nsw i32 %102, %103
  %105 = load i32, ptr @m, align 4, !tbaa !9
  %106 = add nsw i32 %105, 1
  %107 = icmp sge i32 %104, %106
  br i1 %107, label %108, label %113

108:                                              ; preds = %101
  %109 = load i32, ptr %5, align 4, !tbaa !9
  %110 = sext i32 %109 to i64
  %111 = getelementptr inbounds [400003 x i64], ptr @b, i64 0, i64 %110
  %112 = load i64, ptr %111, align 8, !tbaa !5
  store i64 %112, ptr @pos, align 8, !tbaa !5
  store i1 true, ptr %2, align 1
  store i32 1, ptr %8, align 4
  br label %117

113:                                              ; preds = %101
  br label %114

114:                                              ; preds = %113
  %115 = load i32, ptr %5, align 4, !tbaa !9
  %116 = add nsw i32 %115, 1
  store i32 %116, ptr %5, align 4, !tbaa !9
  br label %48, !llvm.loop !15

117:                                              ; preds = %108, %54
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #3
  %118 = load i32, ptr %8, align 4
  switch i32 %118, label %122 [
    i32 5, label %119
    i32 1, label %120
  ]

119:                                              ; preds = %117
  store i1 false, ptr %2, align 1
  br label %120

120:                                              ; preds = %119, %117
  %121 = load i1, ptr %2, align 1
  ret i1 %121

122:                                              ; preds = %117
  unreachable
}

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

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

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt13inplace_mergeIPxEvT_S1_S1_(ptr noundef, ptr noundef, ptr noundef) #2

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


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

@n = external dso_local local_unnamed_addr global i32, align 4
@m = external dso_local local_unnamed_addr global i32, align 4
@a = external dso_local local_unnamed_addr global [200001 x i64], align 16
@b = external dso_local global [400003 x i64], align 16
@pos = external dso_local local_unnamed_addr global i64, align 8

; Function Attrs: mustprogress uwtable
define dso_local noundef zeroext i1 @_Z5checkx(i64 noundef %0) local_unnamed_addr #0 {
  %2 = load i32, ptr @n, align 4, !tbaa !5
  %3 = icmp sgt i32 %2, 0
  br i1 %3, label %.lr.ph.preheader, label %._crit_edge

.lr.ph.preheader:                                 ; preds = %1
  %4 = zext nneg i32 %2 to i64
  %min.iters.check = icmp ult i32 %2, 4
  br i1 %min.iters.check, label %.lr.ph.preheader86, label %vector.ph

.lr.ph.preheader86:                               ; preds = %middle.block, %.lr.ph.preheader
  %indvars.iv.ph = phi i64 [ 0, %.lr.ph.preheader ], [ %n.vec, %middle.block ]
  br label %.lr.ph

vector.ph:                                        ; preds = %.lr.ph.preheader
  %n.vec = and i64 %4, 2147483644
  %broadcast.splatinsert = insertelement <2 x i64> poison, i64 %0, i64 0
  %broadcast.splat = shufflevector <2 x i64> %broadcast.splatinsert, <2 x i64> poison, <2 x i32> zeroinitializer
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %5 = getelementptr inbounds [200001 x i64], ptr @a, i64 0, i64 %index
  %6 = getelementptr inbounds i8, ptr %5, i64 16
  %wide.load = load <2 x i64>, ptr %5, align 16, !tbaa !9
  %wide.load81 = load <2 x i64>, ptr %6, align 16, !tbaa !9
  %7 = sub nsw <2 x i64> %wide.load, %broadcast.splat
  %8 = sub nsw <2 x i64> %wide.load81, %broadcast.splat
  %9 = getelementptr inbounds [400003 x i64], ptr @b, i64 0, i64 %index
  %10 = getelementptr inbounds i8, ptr %9, i64 16
  store <2 x i64> %7, ptr %9, align 16, !tbaa !9
  store <2 x i64> %8, ptr %10, align 16, !tbaa !9
  %11 = add nsw <2 x i64> %wide.load, %broadcast.splat
  %12 = add nsw <2 x i64> %wide.load81, %broadcast.splat
  %13 = add nuw nsw i64 %index, %4
  %14 = getelementptr inbounds [400003 x i64], ptr @b, i64 0, i64 %13
  %15 = getelementptr inbounds i8, ptr %14, i64 16
  store <2 x i64> %11, ptr %14, align 8, !tbaa !9
  store <2 x i64> %12, ptr %15, align 8, !tbaa !9
  %index.next = add nuw i64 %index, 4
  %16 = icmp eq i64 %index.next, %n.vec
  br i1 %16, label %middle.block, label %vector.body, !llvm.loop !11

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %n.vec, %4
  br i1 %cmp.n, label %._crit_edge, label %.lr.ph.preheader86

._crit_edge:                                      ; preds = %.lr.ph, %middle.block, %1
  %17 = sext i32 %2 to i64
  %18 = getelementptr inbounds i64, ptr @b, i64 %17
  %19 = getelementptr inbounds i64, ptr %18, i64 %17
  tail call void @_ZSt13inplace_mergeIPxEvT_S1_S1_(ptr noundef nonnull @b, ptr noundef nonnull %18, ptr noundef nonnull %19)
  %20 = load i32, ptr @n, align 4, !tbaa !5
  %.not3550 = icmp sgt i32 %20, 0
  br i1 %.not3550, label %.preheader.lr.ph, label %.loopexit

.preheader.lr.ph:                                 ; preds = %._crit_edge
  %21 = shl nuw i32 %20, 1
  %22 = load i32, ptr @m, align 4, !tbaa !5
  %23 = zext nneg i32 %20 to i64
  %24 = sext i32 %21 to i64
  %smax = tail call i32 @llvm.smax.i32(i32 %21, i32 1)
  %wide.trip.count69 = zext nneg i32 %smax to i64
  br label %.preheader

.lr.ph:                                           ; preds = %.lr.ph.preheader86, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ %indvars.iv.ph, %.lr.ph.preheader86 ]
  %25 = getelementptr inbounds [200001 x i64], ptr @a, i64 0, i64 %indvars.iv
  %26 = load i64, ptr %25, align 8, !tbaa !9
  %27 = sub nsw i64 %26, %0
  %28 = getelementptr inbounds [400003 x i64], ptr @b, i64 0, i64 %indvars.iv
  store i64 %27, ptr %28, align 8, !tbaa !9
  %29 = add nsw i64 %26, %0
  %30 = add nuw nsw i64 %indvars.iv, %4
  %31 = getelementptr inbounds [400003 x i64], ptr @b, i64 0, i64 %30
  store i64 %29, ptr %31, align 8, !tbaa !9
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, %4
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !15

.preheader:                                       ; preds = %.preheader.lr.ph, %58
  %indvars.iv67 = phi i64 [ 0, %.preheader.lr.ph ], [ %indvars.iv.next68, %58 ]
  %.not3554 = phi i1 [ true, %.preheader.lr.ph ], [ %.not35, %58 ]
  %.02653 = phi i32 [ 0, %.preheader.lr.ph ], [ %.1.lcssa, %58 ]
  %.02752 = phi i32 [ 0, %.preheader.lr.ph ], [ %.128.lcssa, %58 ]
  %32 = icmp slt i32 %.02752, %20
  br i1 %32, label %.lr.ph41, label %.critedge

.lr.ph41:                                         ; preds = %.preheader
  %33 = getelementptr inbounds [400003 x i64], ptr @b, i64 0, i64 %indvars.iv67
  %34 = load i64, ptr %33, align 8, !tbaa !9
  %35 = sext i32 %.02752 to i64
  br label %36

36:                                               ; preds = %.lr.ph41, %40
  %indvars.iv59 = phi i64 [ %35, %.lr.ph41 ], [ %indvars.iv.next60, %40 ]
  %37 = getelementptr inbounds [200001 x i64], ptr @a, i64 0, i64 %indvars.iv59
  %38 = load i64, ptr %37, align 8, !tbaa !9
  %39 = sub nsw i64 %38, %0
  %.not = icmp slt i64 %34, %39
  br i1 %.not, label %.critedge.loopexit.split.loop.exit73, label %40

40:                                               ; preds = %36
  %indvars.iv.next60 = add nsw i64 %indvars.iv59, 1
  %exitcond62.not = icmp eq i64 %indvars.iv.next60, %23
  br i1 %exitcond62.not, label %.critedge, label %36, !llvm.loop !16

.critedge.loopexit.split.loop.exit73:             ; preds = %36
  %41 = trunc nsw i64 %indvars.iv59 to i32
  br label %.critedge

.critedge:                                        ; preds = %40, %.critedge.loopexit.split.loop.exit73, %.preheader
  %.128.lcssa = phi i32 [ %.02752, %.preheader ], [ %41, %.critedge.loopexit.split.loop.exit73 ], [ %20, %40 ]
  %42 = icmp slt i32 %.02653, %20
  br i1 %42, label %.lr.ph46, label %.critedge2

.lr.ph46:                                         ; preds = %.critedge
  %43 = getelementptr inbounds [400003 x i64], ptr @b, i64 0, i64 %indvars.iv67
  %44 = load i64, ptr %43, align 8, !tbaa !9
  %45 = sext i32 %.02653 to i64
  br label %46

46:                                               ; preds = %.lr.ph46, %51
  %indvars.iv63 = phi i64 [ %45, %.lr.ph46 ], [ %indvars.iv.next64, %51 ]
  %47 = getelementptr inbounds [200001 x i64], ptr @a, i64 0, i64 %indvars.iv63
  %48 = load i64, ptr %47, align 8, !tbaa !9
  %49 = add nsw i64 %48, %0
  %50 = icmp sgt i64 %44, %49
  br i1 %50, label %51, label %.critedge2.loopexit.split.loop.exit75

51:                                               ; preds = %46
  %indvars.iv.next64 = add nsw i64 %indvars.iv63, 1
  %exitcond66.not = icmp eq i64 %indvars.iv.next64, %23
  br i1 %exitcond66.not, label %.critedge2, label %46, !llvm.loop !17

.critedge2.loopexit.split.loop.exit75:            ; preds = %46
  %52 = trunc nsw i64 %indvars.iv63 to i32
  br label %.critedge2

.critedge2:                                       ; preds = %51, %.critedge2.loopexit.split.loop.exit75, %.critedge
  %.1.lcssa = phi i32 [ %.02653, %.critedge ], [ %52, %.critedge2.loopexit.split.loop.exit75 ], [ %20, %51 ]
  %53 = sub nsw i32 %.128.lcssa, %.1.lcssa
  %.not34.not = icmp sgt i32 %53, %22
  br i1 %.not34.not, label %54, label %58

54:                                               ; preds = %.critedge2
  %55 = and i64 %indvars.iv67, 4294967295
  %56 = getelementptr inbounds [400003 x i64], ptr @b, i64 0, i64 %55
  %57 = load i64, ptr %56, align 8, !tbaa !9
  store i64 %57, ptr @pos, align 8, !tbaa !9
  br label %.loopexit

58:                                               ; preds = %.critedge2
  %indvars.iv.next68 = add nuw nsw i64 %indvars.iv67, 1
  %.not35 = icmp slt i64 %indvars.iv.next68, %24
  %exitcond70.not = icmp eq i64 %indvars.iv.next68, %wide.trip.count69
  br i1 %exitcond70.not, label %.loopexit, label %.preheader, !llvm.loop !18

.loopexit:                                        ; preds = %58, %._crit_edge, %54
  %.not3537 = phi i1 [ %.not3554, %54 ], [ false, %._crit_edge ], [ %.not35, %58 ]
  ret i1 %.not3537
}

; Function Attrs: inlinehint mustprogress uwtable
declare dso_local void @_ZSt13inplace_mergeIPxEvT_S1_S1_(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #1

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

attributes #0 = { mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { inlinehint mustprogress uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #2 = { 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, !6, i64 0}
!6 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"long long", !7, i64 0}
!11 = distinct !{!11, !12, !13, !14}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!"llvm.loop.isvectorized", i32 1}
!14 = !{!"llvm.loop.unroll.runtime.disable"}
!15 = distinct !{!15, !12, !14, !13}
!16 = distinct !{!16, !12}
!17 = distinct !{!17, !12}
!18 = distinct !{!18, !12}


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