; LLVM IR from tangjz/acm-icpc :: 51nod (1473)

; 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
@f = external dso_local global [210 x i32], align 16
@tot = external dso_local global i32, align 4
@cnt = external dso_local global [210 x i32], align 16
@vis = external dso_local global [210 x i32], align 16
@dis = external dso_local global [210 x i32], align 16
@dfsno = external dso_local global i32, align 4
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [6 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_Z3gcdxx(i64 noundef, i64 noundef) #0

; Function Attrs: mustprogress uwtable
declare dso_local void @_Z3dfsi(i32 noundef) #0

; 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: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #2 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca i32, align 4
  %4 = alloca i64, align 8
  %5 = alloca i32, align 4
  %6 = alloca i32, align 4
  %7 = alloca i64, align 8
  %8 = alloca i32, align 4
  store i32 0, ptr %1, align 4
  %9 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef @n)
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #4
  store i32 1, ptr %2, align 4, !tbaa !5
  br label %10

10:                                               ; preds = %20, %0
  %11 = load i32, ptr %2, align 4, !tbaa !5
  %12 = load i32, ptr @n, align 4, !tbaa !5
  %13 = icmp sle i32 %11, %12
  br i1 %13, label %15, label %14

14:                                               ; preds = %10
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #4
  br label %23

15:                                               ; preds = %10
  %16 = load i32, ptr %2, align 4, !tbaa !5
  %17 = sext i32 %16 to i64
  %18 = getelementptr inbounds i32, ptr @f, i64 %17
  %19 = call i32 (ptr, ...) @__isoc99_scanf(ptr noundef @.str, ptr noundef %18)
  br label %20

20:                                               ; preds = %15
  %21 = load i32, ptr %2, align 4, !tbaa !5
  %22 = add nsw i32 %21, 1
  store i32 %22, ptr %2, align 4, !tbaa !5
  br label %10, !llvm.loop !9

23:                                               ; preds = %14
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  store i32 1, ptr %3, align 4, !tbaa !5
  br label %24

24:                                               ; preds = %40, %23
  %25 = load i32, ptr %3, align 4, !tbaa !5
  %26 = load i32, ptr @n, align 4, !tbaa !5
  %27 = icmp sle i32 %25, %26
  br i1 %27, label %29, label %28

28:                                               ; preds = %24
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  br label %43

29:                                               ; preds = %24
  %30 = load i32, ptr %3, align 4, !tbaa !5
  %31 = sext i32 %30 to i64
  %32 = getelementptr inbounds [210 x i32], ptr @vis, i64 0, i64 %31
  %33 = load i32, ptr %32, align 4, !tbaa !5
  %34 = icmp ne i32 %33, 0
  br i1 %34, label %39, label %35

35:                                               ; preds = %29
  %36 = load i32, ptr @dfsno, align 4, !tbaa !5
  %37 = add nsw i32 %36, 1
  store i32 %37, ptr @dfsno, align 4, !tbaa !5
  %38 = load i32, ptr %3, align 4, !tbaa !5
  call void @_Z3dfsi(i32 noundef %38)
  br label %39

39:                                               ; preds = %35, %29
  br label %40

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

43:                                               ; preds = %28
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #4
  store i64 1, ptr %4, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  store i32 1, ptr %5, align 4, !tbaa !5
  br label %44

44:                                               ; preds = %68, %43
  %45 = load i32, ptr %5, align 4, !tbaa !5
  %46 = load i32, ptr @tot, align 4, !tbaa !5
  %47 = icmp sle i32 %45, %46
  br i1 %47, label %49, label %48

48:                                               ; preds = %44
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  br label %71

49:                                               ; preds = %44
  call void @llvm.lifetime.start.p0(i64 4, ptr %6) #4
  %50 = load i64, ptr %4, align 8, !tbaa !12
  %51 = load i32, ptr %5, align 4, !tbaa !5
  %52 = sext i32 %51 to i64
  %53 = getelementptr inbounds [210 x i32], ptr @cnt, i64 0, i64 %52
  %54 = load i32, ptr %53, align 4, !tbaa !5
  %55 = sext i32 %54 to i64
  %56 = call noundef i64 @_Z3gcdxx(i64 noundef %50, i64 noundef %55)
  %57 = trunc i64 %56 to i32
  store i32 %57, ptr %6, align 4, !tbaa !5
  %58 = load i64, ptr %4, align 8, !tbaa !12
  %59 = load i32, ptr %5, align 4, !tbaa !5
  %60 = sext i32 %59 to i64
  %61 = getelementptr inbounds [210 x i32], ptr @cnt, i64 0, i64 %60
  %62 = load i32, ptr %61, align 4, !tbaa !5
  %63 = sext i32 %62 to i64
  %64 = mul nsw i64 %58, %63
  %65 = load i32, ptr %6, align 4, !tbaa !5
  %66 = sext i32 %65 to i64
  %67 = sdiv i64 %64, %66
  store i64 %67, ptr %4, align 8, !tbaa !12
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #4
  br label %68

68:                                               ; preds = %49
  %69 = load i32, ptr %5, align 4, !tbaa !5
  %70 = add nsw i32 %69, 1
  store i32 %70, ptr %5, align 4, !tbaa !5
  br label %44, !llvm.loop !14

71:                                               ; preds = %48
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #4
  store i64 0, ptr %7, align 8, !tbaa !12
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  store i32 1, ptr %8, align 4, !tbaa !5
  br label %72

72:                                               ; preds = %92, %71
  %73 = load i32, ptr %8, align 4, !tbaa !5
  %74 = load i32, ptr @n, align 4, !tbaa !5
  %75 = icmp sle i32 %73, %74
  br i1 %75, label %77, label %76

76:                                               ; preds = %72
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  br label %95

77:                                               ; preds = %72
  %78 = load i64, ptr %7, align 8, !tbaa !12
  %79 = load i32, ptr %8, align 4, !tbaa !5
  %80 = sext i32 %79 to i64
  %81 = getelementptr inbounds [210 x i32], ptr @dis, i64 0, i64 %80
  %82 = load i32, ptr %81, align 4, !tbaa !5
  %83 = sext i32 %82 to i64
  %84 = icmp slt i64 %78, %83
  br i1 %84, label %85, label %91

85:                                               ; preds = %77
  %86 = load i32, ptr %8, align 4, !tbaa !5
  %87 = sext i32 %86 to i64
  %88 = getelementptr inbounds [210 x i32], ptr @dis, i64 0, i64 %87
  %89 = load i32, ptr %88, align 4, !tbaa !5
  %90 = sext i32 %89 to i64
  store i64 %90, ptr %7, align 8, !tbaa !12
  br label %91

91:                                               ; preds = %85, %77
  br label %92

92:                                               ; preds = %91
  %93 = load i32, ptr %8, align 4, !tbaa !5
  %94 = add nsw i32 %93, 1
  store i32 %94, ptr %8, align 4, !tbaa !5
  br label %72, !llvm.loop !15

95:                                               ; preds = %76
  %96 = load i64, ptr %7, align 8, !tbaa !12
  %97 = load i64, ptr %4, align 8, !tbaa !12
  %98 = icmp sgt i64 %96, %97
  br i1 %98, label %99, label %107

99:                                               ; preds = %95
  %100 = load i64, ptr %7, align 8, !tbaa !12
  %101 = sub nsw i64 %100, 1
  %102 = load i64, ptr %4, align 8, !tbaa !12
  %103 = sdiv i64 %101, %102
  %104 = add nsw i64 %103, 1
  %105 = load i64, ptr %4, align 8, !tbaa !12
  %106 = mul nsw i64 %104, %105
  store i64 %106, ptr %4, align 8, !tbaa !12
  br label %107

107:                                              ; preds = %99, %95
  %108 = load i64, ptr %4, align 8, !tbaa !12
  %109 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, i64 noundef %108)
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #4
  ret i32 0
}

declare i32 @__isoc99_scanf(ptr noundef, ...) #3

declare i32 @printf(ptr noundef, ...) #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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress norecurse 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 = { "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 = { 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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = !{!13, !13, i64 0}
!13 = !{!"long long", !7, i64 0}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10}


; 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 global i32, align 4
@f = external dso_local global [210 x i32], align 16
@tot = external dso_local local_unnamed_addr global i32, align 4
@cnt = external dso_local local_unnamed_addr global [210 x i32], align 16
@vis = external dso_local local_unnamed_addr global [210 x i32], align 16
@dis = external dso_local local_unnamed_addr global [210 x i32], align 16
@dfsno = external dso_local local_unnamed_addr global i32, align 4
@.str = external hidden unnamed_addr constant [3 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [6 x i8], align 1

; Function Attrs: mustprogress uwtable
declare dso_local noundef i64 @_Z3gcdxx(i64 noundef, i64 noundef) local_unnamed_addr #0

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

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #1 {
  %1 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull @n)
  %2 = load i32, ptr @n, align 4, !tbaa !5
  %.not38 = icmp slt i32 %2, 1
  br i1 %.not38, label %.preheader36, label %.lr.ph

.preheader37:                                     ; preds = %.lr.ph
  %.not3240 = icmp slt i32 %5, 1
  br i1 %.not3240, label %.preheader36, label %.lr.ph42

.lr.ph:                                           ; preds = %0, %.lr.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %.lr.ph ], [ 1, %0 ]
  %3 = getelementptr inbounds i32, ptr @f, i64 %indvars.iv
  %4 = tail call i32 (ptr, ...) @__isoc99_scanf(ptr noundef nonnull @.str, ptr noundef nonnull %3)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %5 = load i32, ptr @n, align 4, !tbaa !5
  %6 = sext i32 %5 to i64
  %.not.not = icmp slt i64 %indvars.iv, %6
  br i1 %.not.not, label %.lr.ph, label %.preheader37, !llvm.loop !9

.preheader36:                                     ; preds = %16, %0, %.preheader37
  %7 = phi i32 [ %5, %.preheader37 ], [ %2, %0 ], [ %17, %16 ]
  %8 = load i32, ptr @tot, align 4, !tbaa !5
  %.not3343 = icmp slt i32 %8, 1
  br i1 %.not3343, label %.preheader, label %.lr.ph46

.lr.ph42:                                         ; preds = %.preheader37, %16
  %9 = phi i32 [ %17, %16 ], [ %5, %.preheader37 ]
  %indvars.iv53 = phi i64 [ %indvars.iv.next54, %16 ], [ 1, %.preheader37 ]
  %10 = getelementptr inbounds [210 x i32], ptr @vis, i64 0, i64 %indvars.iv53
  %11 = load i32, ptr %10, align 4, !tbaa !5
  %.not35 = icmp eq i32 %11, 0
  br i1 %.not35, label %12, label %16

12:                                               ; preds = %.lr.ph42
  %13 = load i32, ptr @dfsno, align 4, !tbaa !5
  %14 = add nsw i32 %13, 1
  store i32 %14, ptr @dfsno, align 4, !tbaa !5
  %15 = trunc nuw nsw i64 %indvars.iv53 to i32
  tail call void @_Z3dfsi(i32 noundef %15)
  %.pre = load i32, ptr @n, align 4, !tbaa !5
  br label %16

16:                                               ; preds = %.lr.ph42, %12
  %17 = phi i32 [ %9, %.lr.ph42 ], [ %.pre, %12 ]
  %indvars.iv.next54 = add nuw nsw i64 %indvars.iv53, 1
  %18 = sext i32 %17 to i64
  %.not32.not = icmp slt i64 %indvars.iv53, %18
  br i1 %.not32.not, label %.lr.ph42, label %.preheader36, !llvm.loop !11

.preheader.loopexit:                              ; preds = %.lr.ph46
  %.pre62 = load i32, ptr @n, align 4, !tbaa !5
  br label %.preheader

.preheader:                                       ; preds = %.preheader.loopexit, %.preheader36
  %19 = phi i32 [ %7, %.preheader36 ], [ %.pre62, %.preheader.loopexit ]
  %.028.lcssa = phi i64 [ 1, %.preheader36 ], [ %30, %.preheader.loopexit ]
  %.not3447 = icmp slt i32 %19, 1
  br i1 %.not3447, label %._crit_edge, label %.lr.ph50.preheader

.lr.ph50.preheader:                               ; preds = %.preheader
  %20 = zext nneg i32 %19 to i64
  %xtraiter = and i64 %20, 3
  %21 = icmp ult i32 %19, 4
  br i1 %21, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph50.preheader.new

.lr.ph50.preheader.new:                           ; preds = %.lr.ph50.preheader
  %unroll_iter = and i64 %20, 2147483644
  br label %.lr.ph50

.lr.ph46:                                         ; preds = %.preheader36, %.lr.ph46
  %indvars.iv56 = phi i64 [ %indvars.iv.next57, %.lr.ph46 ], [ 1, %.preheader36 ]
  %.02844 = phi i64 [ %30, %.lr.ph46 ], [ 1, %.preheader36 ]
  %22 = getelementptr inbounds [210 x i32], ptr @cnt, i64 0, i64 %indvars.iv56
  %23 = load i32, ptr %22, align 4, !tbaa !5
  %24 = sext i32 %23 to i64
  %25 = tail call noundef i64 @_Z3gcdxx(i64 noundef %.02844, i64 noundef %24)
  %26 = load i32, ptr %22, align 4, !tbaa !5
  %27 = sext i32 %26 to i64
  %28 = mul nsw i64 %.02844, %27
  %sext = shl i64 %25, 32
  %29 = ashr exact i64 %sext, 32
  %30 = sdiv i64 %28, %29
  %indvars.iv.next57 = add nuw nsw i64 %indvars.iv56, 1
  %31 = load i32, ptr @tot, align 4, !tbaa !5
  %32 = sext i32 %31 to i64
  %.not33.not = icmp slt i64 %indvars.iv56, %32
  br i1 %.not33.not, label %.lr.ph46, label %.preheader.loopexit, !llvm.loop !12

._crit_edge.loopexit.unr-lcssa:                   ; preds = %.lr.ph50, %.lr.ph50.preheader
  %spec.select.lcssa.ph = phi i64 [ poison, %.lr.ph50.preheader ], [ %spec.select.3, %.lr.ph50 ]
  %indvars.iv59.unr = phi i64 [ 1, %.lr.ph50.preheader ], [ %indvars.iv.next60.3, %.lr.ph50 ]
  %.02548.unr = phi i64 [ 0, %.lr.ph50.preheader ], [ %spec.select.3, %.lr.ph50 ]
  %lcmp.mod.not = icmp eq i64 %xtraiter, 0
  br i1 %lcmp.mod.not, label %._crit_edge, label %.lr.ph50.epil

.lr.ph50.epil:                                    ; preds = %._crit_edge.loopexit.unr-lcssa, %.lr.ph50.epil
  %indvars.iv59.epil = phi i64 [ %indvars.iv.next60.epil, %.lr.ph50.epil ], [ %indvars.iv59.unr, %._crit_edge.loopexit.unr-lcssa ]
  %.02548.epil = phi i64 [ %spec.select.epil, %.lr.ph50.epil ], [ %.02548.unr, %._crit_edge.loopexit.unr-lcssa ]
  %epil.iter = phi i64 [ %epil.iter.next, %.lr.ph50.epil ], [ 0, %._crit_edge.loopexit.unr-lcssa ]
  %33 = getelementptr inbounds [210 x i32], ptr @dis, i64 0, i64 %indvars.iv59.epil
  %34 = load i32, ptr %33, align 4, !tbaa !5
  %35 = sext i32 %34 to i64
  %spec.select.epil = tail call i64 @llvm.smax.i64(i64 %.02548.epil, i64 %35)
  %indvars.iv.next60.epil = add nuw nsw i64 %indvars.iv59.epil, 1
  %epil.iter.next = add i64 %epil.iter, 1
  %epil.iter.cmp.not = icmp eq i64 %epil.iter.next, %xtraiter
  br i1 %epil.iter.cmp.not, label %._crit_edge, label %.lr.ph50.epil, !llvm.loop !13

._crit_edge:                                      ; preds = %._crit_edge.loopexit.unr-lcssa, %.lr.ph50.epil, %.preheader
  %.025.lcssa = phi i64 [ 0, %.preheader ], [ %spec.select.lcssa.ph, %._crit_edge.loopexit.unr-lcssa ], [ %spec.select.epil, %.lr.ph50.epil ]
  %36 = icmp sgt i64 %.025.lcssa, %.028.lcssa
  br i1 %36, label %49, label %54

.lr.ph50:                                         ; preds = %.lr.ph50, %.lr.ph50.preheader.new
  %indvars.iv59 = phi i64 [ 1, %.lr.ph50.preheader.new ], [ %indvars.iv.next60.3, %.lr.ph50 ]
  %.02548 = phi i64 [ 0, %.lr.ph50.preheader.new ], [ %spec.select.3, %.lr.ph50 ]
  %niter = phi i64 [ 0, %.lr.ph50.preheader.new ], [ %niter.next.3, %.lr.ph50 ]
  %37 = getelementptr inbounds [210 x i32], ptr @dis, i64 0, i64 %indvars.iv59
  %38 = load i32, ptr %37, align 4, !tbaa !5
  %39 = sext i32 %38 to i64
  %spec.select = tail call i64 @llvm.smax.i64(i64 %.02548, i64 %39)
  %indvars.iv.next60 = add nuw nsw i64 %indvars.iv59, 1
  %40 = getelementptr inbounds [210 x i32], ptr @dis, i64 0, i64 %indvars.iv.next60
  %41 = load i32, ptr %40, align 4, !tbaa !5
  %42 = sext i32 %41 to i64
  %spec.select.1 = tail call i64 @llvm.smax.i64(i64 %spec.select, i64 %42)
  %indvars.iv.next60.1 = add nuw nsw i64 %indvars.iv59, 2
  %43 = getelementptr inbounds [210 x i32], ptr @dis, i64 0, i64 %indvars.iv.next60.1
  %44 = load i32, ptr %43, align 4, !tbaa !5
  %45 = sext i32 %44 to i64
  %spec.select.2 = tail call i64 @llvm.smax.i64(i64 %spec.select.1, i64 %45)
  %indvars.iv.next60.2 = add nuw nsw i64 %indvars.iv59, 3
  %46 = getelementptr inbounds [210 x i32], ptr @dis, i64 0, i64 %indvars.iv.next60.2
  %47 = load i32, ptr %46, align 4, !tbaa !5
  %48 = sext i32 %47 to i64
  %spec.select.3 = tail call i64 @llvm.smax.i64(i64 %spec.select.2, i64 %48)
  %indvars.iv.next60.3 = add nuw nsw i64 %indvars.iv59, 4
  %niter.next.3 = add i64 %niter, 4
  %niter.ncmp.3 = icmp eq i64 %niter.next.3, %unroll_iter
  br i1 %niter.ncmp.3, label %._crit_edge.loopexit.unr-lcssa, label %.lr.ph50, !llvm.loop !15

49:                                               ; preds = %._crit_edge
  %50 = add nsw i64 %.025.lcssa, -1
  %51 = sdiv i64 %50, %.028.lcssa
  %52 = add nsw i64 %51, 1
  %53 = mul nsw i64 %52, %.028.lcssa
  br label %54

54:                                               ; preds = %49, %._crit_edge
  %.129 = phi i64 [ %53, %49 ], [ %.028.lcssa, %._crit_edge ]
  %55 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, i64 noundef %.129)
  ret i32 0
}

; Function Attrs: nofree nounwind
declare noundef i32 @__isoc99_scanf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2

; Function Attrs: nofree nounwind
declare noundef i32 @printf(ptr nocapture noundef readonly, ...) local_unnamed_addr #2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.smax.i64(i64, i64) #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 norecurse 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 = { nofree 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 = { 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 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = distinct !{!11, !10}
!12 = distinct !{!12, !10}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.unroll.disable"}
!15 = distinct !{!15, !10}


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