; LLVM IR from tangjz/acm-icpc :: 51nod/1387.ll (Z6init_fiiPi)

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

@mod = external dso_local global i32, align 4
@x = external dso_local global [65536 x i32], align 16
@y = external dso_local global [65536 x i32], align 16
@_ZL4tail = external hidden global ptr, align 8

; 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: mustprogress uwtable
declare dso_local void @_Z3NTTiPii(i32 noundef, ptr noundef, i32 noundef) #1

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z6init_fiiPi(i32 noundef %0, i32 noundef %1, ptr noundef %2) #1 {
  %4 = alloca i32, align 4
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca i32, align 4
  %12 = alloca ptr, align 8
  %13 = alloca ptr, align 8
  %14 = alloca i32, align 4
  store i32 %0, ptr %4, align 4, !tbaa !5
  store i32 %1, ptr %5, align 4, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !9
  %15 = load i32, ptr %4, align 4, !tbaa !5
  %16 = load i32, ptr %5, align 4, !tbaa !5
  %17 = icmp eq i32 %15, %16
  br i1 %17, label %18, label %24

18:                                               ; preds = %3
  %19 = load i32, ptr %4, align 4, !tbaa !5
  %20 = load ptr, ptr %6, align 8, !tbaa !9
  %21 = getelementptr inbounds i32, ptr %20, i64 0
  store i32 %19, ptr %21, align 4, !tbaa !5
  %22 = load ptr, ptr %6, align 8, !tbaa !9
  %23 = getelementptr inbounds i32, ptr %22, i64 1
  store i32 1, ptr %23, align 4, !tbaa !5
  br label %123

24:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #5
  %25 = load i32, ptr %4, align 4, !tbaa !5
  %26 = load i32, ptr %5, align 4, !tbaa !5
  %27 = add nsw i32 %25, %26
  %28 = ashr i32 %27, 1
  store i32 %28, ptr %7, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  %29 = load i32, ptr %5, align 4, !tbaa !5
  %30 = load i32, ptr %4, align 4, !tbaa !5
  %31 = sub nsw i32 %29, %30
  %32 = add nsw i32 %31, 2
  store i32 %32, ptr %8, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  %33 = load i32, ptr %7, align 4, !tbaa !5
  %34 = load i32, ptr %4, align 4, !tbaa !5
  %35 = sub nsw i32 %33, %34
  %36 = add nsw i32 %35, 2
  store i32 %36, ptr %9, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  %37 = load i32, ptr %5, align 4, !tbaa !5
  %38 = load i32, ptr %7, align 4, !tbaa !5
  %39 = sub nsw i32 %37, %38
  %40 = add nsw i32 %39, 1
  store i32 %40, ptr %10, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #5
  %41 = load i32, ptr %8, align 4, !tbaa !5
  %42 = call noundef i32 @_Z7round_2i(i32 noundef %41)
  store i32 %42, ptr %11, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #5
  %43 = load i32, ptr %9, align 4, !tbaa !5
  %44 = call noundef ptr @_Z10tail_alloci(i32 noundef %43)
  store ptr %44, ptr %12, align 8, !tbaa !9
  %45 = load i32, ptr %4, align 4, !tbaa !5
  %46 = load i32, ptr %7, align 4, !tbaa !5
  %47 = load ptr, ptr %12, align 8, !tbaa !9
  call void @_Z6init_fiiPi(i32 noundef %45, i32 noundef %46, ptr noundef %47)
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  %48 = load i32, ptr %10, align 4, !tbaa !5
  %49 = call noundef ptr @_Z10tail_alloci(i32 noundef %48)
  store ptr %49, ptr %13, align 8, !tbaa !9
  %50 = load i32, ptr %7, align 4, !tbaa !5
  %51 = add nsw i32 %50, 1
  %52 = load i32, ptr %5, align 4, !tbaa !5
  %53 = load ptr, ptr %13, align 8, !tbaa !9
  call void @_Z6init_fiiPi(i32 noundef %51, i32 noundef %52, ptr noundef %53)
  %54 = load ptr, ptr %12, align 8, !tbaa !9
  %55 = load i32, ptr %9, align 4, !tbaa !5
  %56 = sext i32 %55 to i64
  %57 = mul i64 %56, 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 @x, ptr align 4 %54, i64 %57, i1 false)
  %58 = load i32, ptr %9, align 4, !tbaa !5
  %59 = sext i32 %58 to i64
  %60 = getelementptr inbounds i32, ptr @x, i64 %59
  %61 = load i32, ptr %11, align 4, !tbaa !5
  %62 = load i32, ptr %9, align 4, !tbaa !5
  %63 = sub nsw i32 %61, %62
  %64 = sext i32 %63 to i64
  %65 = mul i64 %64, 4
  call void @llvm.memset.p0.i64(ptr align 4 %60, i8 0, i64 %65, i1 false)
  %66 = load i32, ptr %11, align 4, !tbaa !5
  call void @_Z3NTTiPii(i32 noundef %66, ptr noundef @x, i32 noundef 0)
  %67 = load ptr, ptr %13, align 8, !tbaa !9
  %68 = load i32, ptr %10, align 4, !tbaa !5
  %69 = sext i32 %68 to i64
  %70 = mul i64 %69, 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 @y, ptr align 4 %67, i64 %70, i1 false)
  %71 = load i32, ptr %10, align 4, !tbaa !5
  %72 = sext i32 %71 to i64
  %73 = getelementptr inbounds i32, ptr @y, i64 %72
  %74 = load i32, ptr %11, align 4, !tbaa !5
  %75 = load i32, ptr %10, align 4, !tbaa !5
  %76 = sub nsw i32 %74, %75
  %77 = sext i32 %76 to i64
  %78 = mul i64 %77, 4
  call void @llvm.memset.p0.i64(ptr align 4 %73, i8 0, i64 %78, i1 false)
  %79 = load i32, ptr %11, align 4, !tbaa !5
  call void @_Z3NTTiPii(i32 noundef %79, ptr noundef @y, i32 noundef 0)
  call void @llvm.lifetime.start.p0(i64 4, ptr %14) #5
  store i32 0, ptr %14, align 4, !tbaa !5
  br label %80

80:                                               ; preds = %104, %24
  %81 = load i32, ptr %14, align 4, !tbaa !5
  %82 = load i32, ptr %11, align 4, !tbaa !5
  %83 = icmp slt i32 %81, %82
  br i1 %83, label %85, label %84

84:                                               ; preds = %80
  call void @llvm.lifetime.end.p0(i64 4, ptr %14) #5
  br label %107

85:                                               ; preds = %80
  %86 = load i32, ptr %14, align 4, !tbaa !5
  %87 = sext i32 %86 to i64
  %88 = getelementptr inbounds [65536 x i32], ptr @x, i64 0, i64 %87
  %89 = load i32, ptr %88, align 4, !tbaa !5
  %90 = sext i32 %89 to i64
  %91 = load i32, ptr %14, align 4, !tbaa !5
  %92 = sext i32 %91 to i64
  %93 = getelementptr inbounds [65536 x i32], ptr @y, i64 0, i64 %92
  %94 = load i32, ptr %93, align 4, !tbaa !5
  %95 = sext i32 %94 to i64
  %96 = mul nsw i64 %90, %95
  %97 = load i32, ptr @mod, align 4, !tbaa !5
  %98 = sext i32 %97 to i64
  %99 = srem i64 %96, %98
  %100 = trunc i64 %99 to i32
  %101 = load i32, ptr %14, align 4, !tbaa !5
  %102 = sext i32 %101 to i64
  %103 = getelementptr inbounds [65536 x i32], ptr @x, i64 0, i64 %102
  store i32 %100, ptr %103, align 4, !tbaa !5
  br label %104

104:                                              ; preds = %85
  %105 = load i32, ptr %14, align 4, !tbaa !5
  %106 = add nsw i32 %105, 1
  store i32 %106, ptr %14, align 4, !tbaa !5
  br label %80, !llvm.loop !11

107:                                              ; preds = %84
  %108 = load i32, ptr %11, align 4, !tbaa !5
  call void @_Z3NTTiPii(i32 noundef %108, ptr noundef @x, i32 noundef 1)
  %109 = load ptr, ptr %6, align 8, !tbaa !9
  %110 = load i32, ptr %8, align 4, !tbaa !5
  %111 = sext i32 %110 to i64
  %112 = mul i64 %111, 4
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %109, ptr align 16 @x, i64 %112, i1 false)
  %113 = load ptr, ptr @_ZL4tail, align 8, !tbaa !9
  %114 = load ptr, ptr %6, align 8, !tbaa !9
  %115 = ptrtoint ptr %113 to i64
  %116 = ptrtoint ptr %114 to i64
  %117 = sub i64 %115, %116
  %118 = sdiv exact i64 %117, 4
  %119 = load i32, ptr %8, align 4, !tbaa !5
  %120 = sext i32 %119 to i64
  %121 = sub nsw i64 %118, %120
  %122 = trunc i64 %121 to i32
  call void @_Z9tail_freei(i32 noundef %122)
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #5
  br label %123

123:                                              ; preds = %107, %18
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z7round_2i(i32 noundef) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_Z10tail_alloci(i32 noundef) #4

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_Z9tail_freei(i32 noundef) #4

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

@mod = external dso_local local_unnamed_addr global i32, align 4
@x = external dso_local global [65536 x i32], align 16
@y = external dso_local global [65536 x i32], align 16
@_ZL4tail = external hidden local_unnamed_addr global ptr, align 8

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z3NTTiPii(i32 noundef, ptr noundef, i32 noundef) local_unnamed_addr #0

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @_Z6init_fiiPi(i32 noundef %0, i32 noundef %1, ptr noundef %2) local_unnamed_addr #0 {
  %4 = icmp eq i32 %0, %1
  br i1 %4, label %5, label %7

5:                                                ; preds = %3
  store i32 %0, ptr %2, align 4, !tbaa !5
  %6 = getelementptr inbounds i8, ptr %2, i64 4
  store i32 1, ptr %6, align 4, !tbaa !5
  br label %73

7:                                                ; preds = %3
  %8 = add nsw i32 %1, %0
  %9 = ashr i32 %8, 1
  %10 = sub nsw i32 %1, %0
  %11 = add nsw i32 %10, 2
  %12 = sub nsw i32 %9, %0
  %13 = add nsw i32 %12, 2
  %14 = sub nsw i32 %1, %9
  %15 = add nsw i32 %14, 1
  %16 = tail call noundef i32 @_Z7round_2i(i32 noundef %11)
  %17 = tail call noundef ptr @_Z10tail_alloci(i32 noundef %13)
  tail call void @_Z6init_fiiPi(i32 noundef %0, i32 noundef %9, ptr noundef %17)
  %18 = tail call noundef ptr @_Z10tail_alloci(i32 noundef %15)
  %19 = add nsw i32 %9, 1
  tail call void @_Z6init_fiiPi(i32 noundef %19, i32 noundef %1, ptr noundef %18)
  %20 = sext i32 %13 to i64
  %21 = shl nsw i64 %20, 2
  tail call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 16 @x, ptr align 4 %17, i64 %21, i1 false)
  %22 = getelementptr inbounds i32, ptr @x, i64 %20
  %23 = sub nsw i32 %16, %13
  %24 = sext i32 %23 to i64
  %25 = shl nsw i64 %24, 2
  tail call void @llvm.memset.p0.i64(ptr nonnull align 4 %22, i8 0, i64 %25, i1 false)
  tail call void @_Z3NTTiPii(i32 noundef %16, ptr noundef nonnull @x, i32 noundef 0)
  %26 = sext i32 %15 to i64
  %27 = shl nsw i64 %26, 2
  tail call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 16 @y, ptr align 4 %18, i64 %27, i1 false)
  %28 = getelementptr inbounds i32, ptr @y, i64 %26
  %29 = sub nsw i32 %16, %15
  %30 = sext i32 %29 to i64
  %31 = shl nsw i64 %30, 2
  tail call void @llvm.memset.p0.i64(ptr nonnull align 4 %28, i8 0, i64 %31, i1 false)
  tail call void @_Z3NTTiPii(i32 noundef %16, ptr noundef nonnull @y, i32 noundef 0)
  %32 = icmp sgt i32 %16, 0
  br i1 %32, label %.lr.ph, label %._crit_edge

.lr.ph:                                           ; preds = %7
  %33 = load i32, ptr @mod, align 4, !tbaa !5
  %34 = sext i32 %33 to i64
  %wide.trip.count = zext nneg i32 %16 to i64
  %xtraiter = and i64 %wide.trip.count, 1
  %35 = icmp eq i32 %16, 1
  br i1 %35, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph.new

.lr.ph.new:                                       ; preds = %.lr.ph
  %unroll_iter = and i64 %wide.trip.count, 2147483646
  br label %54

._crit_edge.loopexit.unr-lcssa:                   ; preds = %54, %.lr.ph
  %indvars.iv.unr = phi i64 [ 0, %.lr.ph ], [ %indvars.iv.next.1, %54 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge, label %._crit_edge.loopexit.epilog-lcssa

._crit_edge.loopexit.epilog-lcssa:                ; preds = %._crit_edge.loopexit.unr-lcssa
  %36 = getelementptr inbounds [65536 x i32], ptr @x, i64 0, i64 %indvars.iv.unr
  %37 = load i32, ptr %36, align 4, !tbaa !5
  %38 = sext i32 %37 to i64
  %39 = getelementptr inbounds [65536 x i32], ptr @y, i64 0, i64 %indvars.iv.unr
  %40 = load i32, ptr %39, align 4, !tbaa !5
  %41 = sext i32 %40 to i64
  %42 = mul nsw i64 %41, %38
  %43 = srem i64 %42, %34
  %44 = trunc nsw i64 %43 to i32
  store i32 %44, ptr %36, align 4, !tbaa !5
  br label %._crit_edge

._crit_edge:                                      ; preds = %._crit_edge.loopexit.epilog-lcssa, %._crit_edge.loopexit.unr-lcssa, %7
  tail call void @_Z3NTTiPii(i32 noundef %16, ptr noundef nonnull @x, i32 noundef 1)
  %45 = sext i32 %11 to i64
  %46 = shl nsw i64 %45, 2
  tail call void @llvm.memcpy.p0.p0.i64(ptr align 4 %2, ptr nonnull align 16 @x, i64 %46, i1 false)
  %47 = load ptr, ptr @_ZL4tail, align 8, !tbaa !9
  %48 = ptrtoint ptr %47 to i64
  %49 = ptrtoint ptr %2 to i64
  %50 = sub i64 %48, %49
  %51 = lshr exact i64 %50, 2
  %52 = trunc i64 %51 to i32
  %53 = sub i32 %52, %11
  tail call void @_Z9tail_freei(i32 noundef %53)
  br label %73

54:                                               ; preds = %54, %.lr.ph.new
  %indvars.iv = phi i64 [ 0, %.lr.ph.new ], [ %indvars.iv.next.1, %54 ]
  %niter = phi i64 [ 0, %.lr.ph.new ], [ %niter.next.1, %54 ]
  %55 = getelementptr inbounds [65536 x i32], ptr @x, i64 0, i64 %indvars.iv
  %56 = load i32, ptr %55, align 8, !tbaa !5
  %57 = sext i32 %56 to i64
  %58 = getelementptr inbounds [65536 x i32], ptr @y, i64 0, i64 %indvars.iv
  %59 = load i32, ptr %58, align 8, !tbaa !5
  %60 = sext i32 %59 to i64
  %61 = mul nsw i64 %60, %57
  %62 = srem i64 %61, %34
  %63 = trunc nsw i64 %62 to i32
  store i32 %63, ptr %55, align 8, !tbaa !5
  %indvars.iv.next = or disjoint i64 %indvars.iv, 1
  %64 = getelementptr inbounds [65536 x i32], ptr @x, i64 0, i64 %indvars.iv.next
  %65 = load i32, ptr %64, align 4, !tbaa !5
  %66 = sext i32 %65 to i64
  %67 = getelementptr inbounds [65536 x i32], ptr @y, i64 0, i64 %indvars.iv.next
  %68 = load i32, ptr %67, align 4, !tbaa !5
  %69 = sext i32 %68 to i64
  %70 = mul nsw i64 %69, %66
  %71 = srem i64 %70, %34
  %72 = trunc nsw i64 %71 to i32
  store i32 %72, ptr %64, align 4, !tbaa !5
  %indvars.iv.next.1 = add nuw nsw i64 %indvars.iv, 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 %._crit_edge.loopexit.unr-lcssa, label %54, !llvm.loop !11

73:                                               ; preds = %._crit_edge, %5
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef i32 @_Z7round_2i(i32 noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef ptr @_Z10tail_alloci(i32 noundef) local_unnamed_addr #3

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local void @_Z9tail_freei(i32 noundef) local_unnamed_addr #3

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

!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 = !{!"any pointer", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}


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