; LLVM IR from AnneLivia/Competitive-Programming :: Online Judges/URI/1181 (main)

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

%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str = external hidden unnamed_addr constant [6 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca i32, align 4
  %3 = alloca [12 x [12 x float]], align 16
  %4 = alloca float, align 4
  %5 = alloca i32, align 4
  %6 = alloca i8, align 1
  %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
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #4
  store i32 12, ptr %2, align 4, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 576, ptr %3) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  store float 0.000000e+00, ptr %4, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  call void @llvm.lifetime.start.p0(i64 1, ptr %6) #4
  %12 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %5)
  %13 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 1 dereferenceable(1) %6)
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #4
  store i32 0, ptr %7, align 4, !tbaa !5
  br label %14

14:                                               ; preds = %35, %0
  %15 = load i32, ptr %7, align 4, !tbaa !5
  %16 = icmp slt i32 %15, 12
  br i1 %16, label %18, label %17

17:                                               ; preds = %14
  store i32 2, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #4
  br label %38

18:                                               ; preds = %14
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  store i32 0, ptr %9, align 4, !tbaa !5
  br label %19

19:                                               ; preds = %31, %18
  %20 = load i32, ptr %9, align 4, !tbaa !5
  %21 = icmp slt i32 %20, 12
  br i1 %21, label %23, label %22

22:                                               ; preds = %19
  store i32 5, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  br label %34

23:                                               ; preds = %19
  %24 = load i32, ptr %7, align 4, !tbaa !5
  %25 = sext i32 %24 to i64
  %26 = getelementptr inbounds [12 x [12 x float]], ptr %3, i64 0, i64 %25
  %27 = load i32, ptr %9, align 4, !tbaa !5
  %28 = sext i32 %27 to i64
  %29 = getelementptr inbounds [12 x float], ptr %26, i64 0, i64 %28
  %30 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %29)
  br label %31

31:                                               ; preds = %23
  %32 = load i32, ptr %9, align 4, !tbaa !5
  %33 = add nsw i32 %32, 1
  store i32 %33, ptr %9, align 4, !tbaa !5
  br label %19, !llvm.loop !11

34:                                               ; preds = %22
  br label %35

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

38:                                               ; preds = %17
  %39 = load i8, ptr %6, align 1, !tbaa !14
  %40 = sext i8 %39 to i32
  switch i32 %40, label %87 [
    i32 115, label %41
    i32 83, label %41
    i32 109, label %63
    i32 77, label %63
  ]

41:                                               ; preds = %38, %38
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  store i32 0, ptr %10, align 4, !tbaa !5
  br label %42

42:                                               ; preds = %56, %41
  %43 = load i32, ptr %10, align 4, !tbaa !5
  %44 = icmp slt i32 %43, 12
  br i1 %44, label %46, label %45

45:                                               ; preds = %42
  store i32 9, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  br label %59

46:                                               ; preds = %42
  %47 = load i32, ptr %5, align 4, !tbaa !5
  %48 = sext i32 %47 to i64
  %49 = getelementptr inbounds [12 x [12 x float]], ptr %3, i64 0, i64 %48
  %50 = load i32, ptr %10, align 4, !tbaa !5
  %51 = sext i32 %50 to i64
  %52 = getelementptr inbounds [12 x float], ptr %49, i64 0, i64 %51
  %53 = load float, ptr %52, align 4, !tbaa !9
  %54 = load float, ptr %4, align 4, !tbaa !9
  %55 = fadd float %54, %53
  store float %55, ptr %4, align 4, !tbaa !9
  br label %56

56:                                               ; preds = %46
  %57 = load i32, ptr %10, align 4, !tbaa !5
  %58 = add nsw i32 %57, 1
  store i32 %58, ptr %10, align 4, !tbaa !5
  br label %42, !llvm.loop !15

59:                                               ; preds = %45
  %60 = load float, ptr %4, align 4, !tbaa !9
  %61 = fpext float %60 to double
  %62 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %61)
  br label %87

63:                                               ; preds = %38, %38
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  store i32 0, ptr %11, align 4, !tbaa !5
  br label %64

64:                                               ; preds = %78, %63
  %65 = load i32, ptr %11, align 4, !tbaa !5
  %66 = icmp slt i32 %65, 12
  br i1 %66, label %68, label %67

67:                                               ; preds = %64
  store i32 12, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  br label %81

68:                                               ; preds = %64
  %69 = load i32, ptr %5, align 4, !tbaa !5
  %70 = sext i32 %69 to i64
  %71 = getelementptr inbounds [12 x [12 x float]], ptr %3, i64 0, i64 %70
  %72 = load i32, ptr %11, align 4, !tbaa !5
  %73 = sext i32 %72 to i64
  %74 = getelementptr inbounds [12 x float], ptr %71, i64 0, i64 %73
  %75 = load float, ptr %74, align 4, !tbaa !9
  %76 = load float, ptr %4, align 4, !tbaa !9
  %77 = fadd float %76, %75
  store float %77, ptr %4, align 4, !tbaa !9
  br label %78

78:                                               ; preds = %68
  %79 = load i32, ptr %11, align 4, !tbaa !5
  %80 = add nsw i32 %79, 1
  store i32 %80, ptr %11, align 4, !tbaa !5
  br label %64, !llvm.loop !16

81:                                               ; preds = %67
  %82 = load float, ptr %4, align 4, !tbaa !9
  %83 = fdiv float %82, 1.200000e+01
  store float %83, ptr %4, align 4, !tbaa !9
  %84 = load float, ptr %4, align 4, !tbaa !9
  %85 = fpext float %84 to double
  %86 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %85)
  br label %87

87:                                               ; preds = %81, %59, %38
  store i32 0, ptr %1, align 4
  store i32 1, ptr %8, align 4
  call void @llvm.lifetime.end.p0(i64 1, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 576, ptr %3) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #4
  %88 = load i32, ptr %1, align 4
  ret i32 %88
}

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) #2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(1)) #2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) #3 align 2

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

declare i32 @printf(ptr noundef, ...) #2

attributes #0 = { 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 #1 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = { 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 = !{!"float", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = !{!7, !7, i64 0}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !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"

%"class.std::basic_istream" = type { ptr, i64, %"class.std::basic_ios" }
%"class.std::basic_ios" = type { %"class.std::ios_base", ptr, i8, i8, ptr, ptr, ptr, ptr }
%"class.std::ios_base" = type { ptr, i64, i64, i32, i32, i32, ptr, %"struct.std::ios_base::_Words", [8 x %"struct.std::ios_base::_Words"], i32, ptr, %"class.std::locale" }
%"struct.std::ios_base::_Words" = type { ptr, i64 }
%"class.std::locale" = type { ptr }

@_ZSt3cin = external global %"class.std::basic_istream", align 8
@.str = external hidden unnamed_addr constant [6 x i8], align 1

; Function Attrs: mustprogress norecurse uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
  %1 = alloca [12 x [12 x float]], align 16
  %2 = alloca i32, align 4
  %3 = alloca i8, align 1
  call void @llvm.lifetime.start.p0(i64 576, ptr nonnull %1) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %2) #5
  call void @llvm.lifetime.start.p0(i64 1, ptr nonnull %3) #5
  %4 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %2)
  %5 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 1 dereferenceable(1) %3)
  br label %.preheader

.preheader:                                       ; preds = %0, %.preheader
  %indvars.iv = phi i64 [ 0, %0 ], [ %indvars.iv.next, %.preheader ]
  %6 = getelementptr inbounds [12 x [12 x float]], ptr %1, i64 0, i64 %indvars.iv, i64 0
  %7 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %6)
  %8 = getelementptr inbounds [12 x [12 x float]], ptr %1, i64 0, i64 %indvars.iv, i64 1
  %9 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %8)
  %10 = getelementptr inbounds [12 x [12 x float]], ptr %1, i64 0, i64 %indvars.iv, i64 2
  %11 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %10)
  %12 = getelementptr inbounds [12 x [12 x float]], ptr %1, i64 0, i64 %indvars.iv, i64 3
  %13 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %12)
  %14 = getelementptr inbounds [12 x [12 x float]], ptr %1, i64 0, i64 %indvars.iv, i64 4
  %15 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %14)
  %16 = getelementptr inbounds [12 x [12 x float]], ptr %1, i64 0, i64 %indvars.iv, i64 5
  %17 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %16)
  %18 = getelementptr inbounds [12 x [12 x float]], ptr %1, i64 0, i64 %indvars.iv, i64 6
  %19 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %18)
  %20 = getelementptr inbounds [12 x [12 x float]], ptr %1, i64 0, i64 %indvars.iv, i64 7
  %21 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %20)
  %22 = getelementptr inbounds [12 x [12 x float]], ptr %1, i64 0, i64 %indvars.iv, i64 8
  %23 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %22)
  %24 = getelementptr inbounds [12 x [12 x float]], ptr %1, i64 0, i64 %indvars.iv, i64 9
  %25 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %24)
  %26 = getelementptr inbounds [12 x [12 x float]], ptr %1, i64 0, i64 %indvars.iv, i64 10
  %27 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %26)
  %28 = getelementptr inbounds [12 x [12 x float]], ptr %1, i64 0, i64 %indvars.iv, i64 11
  %29 = call noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16) @_ZSt3cin, ptr noundef nonnull align 4 dereferenceable(4) %28)
  %indvars.iv.next = add nuw nsw i64 %indvars.iv, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next, 12
  br i1 %exitcond.not, label %30, label %.preheader, !llvm.loop !5

30:                                               ; preds = %.preheader
  %31 = load i8, ptr %3, align 1, !tbaa !7
  switch i8 %31, label %113 [
    i8 115, label %32
    i8 83, label %32
    i8 109, label %71
    i8 77, label %71
  ]

32:                                               ; preds = %30, %30
  %33 = load i32, ptr %2, align 4, !tbaa !10
  %34 = sext i32 %33 to i64
  %35 = getelementptr inbounds [12 x [12 x float]], ptr %1, i64 0, i64 %34, i64 0
  %36 = load float, ptr %35, align 16, !tbaa !12
  %37 = fadd float %36, 0.000000e+00
  %38 = getelementptr inbounds [12 x [12 x float]], ptr %1, i64 0, i64 %34, i64 1
  %39 = load float, ptr %38, align 4, !tbaa !12
  %40 = fadd float %37, %39
  %41 = getelementptr inbounds [12 x [12 x float]], ptr %1, i64 0, i64 %34, i64 2
  %42 = load float, ptr %41, align 8, !tbaa !12
  %43 = fadd float %40, %42
  %44 = getelementptr inbounds [12 x [12 x float]], ptr %1, i64 0, i64 %34, i64 3
  %45 = load float, ptr %44, align 4, !tbaa !12
  %46 = fadd float %43, %45
  %47 = getelementptr inbounds [12 x [12 x float]], ptr %1, i64 0, i64 %34, i64 4
  %48 = load float, ptr %47, align 16, !tbaa !12
  %49 = fadd float %46, %48
  %50 = getelementptr inbounds [12 x [12 x float]], ptr %1, i64 0, i64 %34, i64 5
  %51 = load float, ptr %50, align 4, !tbaa !12
  %52 = fadd float %49, %51
  %53 = getelementptr inbounds [12 x [12 x float]], ptr %1, i64 0, i64 %34, i64 6
  %54 = load float, ptr %53, align 8, !tbaa !12
  %55 = fadd float %52, %54
  %56 = getelementptr inbounds [12 x [12 x float]], ptr %1, i64 0, i64 %34, i64 7
  %57 = load float, ptr %56, align 4, !tbaa !12
  %58 = fadd float %55, %57
  %59 = getelementptr inbounds [12 x [12 x float]], ptr %1, i64 0, i64 %34, i64 8
  %60 = load float, ptr %59, align 16, !tbaa !12
  %61 = fadd float %58, %60
  %62 = getelementptr inbounds [12 x [12 x float]], ptr %1, i64 0, i64 %34, i64 9
  %63 = load float, ptr %62, align 4, !tbaa !12
  %64 = fadd float %61, %63
  %65 = getelementptr inbounds [12 x [12 x float]], ptr %1, i64 0, i64 %34, i64 10
  %66 = load float, ptr %65, align 8, !tbaa !12
  %67 = fadd float %64, %66
  %68 = getelementptr inbounds [12 x [12 x float]], ptr %1, i64 0, i64 %34, i64 11
  %69 = load float, ptr %68, align 4, !tbaa !12
  %70 = fadd float %67, %69
  br label %.sink.split

71:                                               ; preds = %30, %30
  %72 = load i32, ptr %2, align 4, !tbaa !10
  %73 = sext i32 %72 to i64
  %74 = getelementptr inbounds [12 x [12 x float]], ptr %1, i64 0, i64 %73, i64 0
  %75 = load float, ptr %74, align 16, !tbaa !12
  %76 = fadd float %75, 0.000000e+00
  %77 = getelementptr inbounds [12 x [12 x float]], ptr %1, i64 0, i64 %73, i64 1
  %78 = load float, ptr %77, align 4, !tbaa !12
  %79 = fadd float %76, %78
  %80 = getelementptr inbounds [12 x [12 x float]], ptr %1, i64 0, i64 %73, i64 2
  %81 = load float, ptr %80, align 8, !tbaa !12
  %82 = fadd float %79, %81
  %83 = getelementptr inbounds [12 x [12 x float]], ptr %1, i64 0, i64 %73, i64 3
  %84 = load float, ptr %83, align 4, !tbaa !12
  %85 = fadd float %82, %84
  %86 = getelementptr inbounds [12 x [12 x float]], ptr %1, i64 0, i64 %73, i64 4
  %87 = load float, ptr %86, align 16, !tbaa !12
  %88 = fadd float %85, %87
  %89 = getelementptr inbounds [12 x [12 x float]], ptr %1, i64 0, i64 %73, i64 5
  %90 = load float, ptr %89, align 4, !tbaa !12
  %91 = fadd float %88, %90
  %92 = getelementptr inbounds [12 x [12 x float]], ptr %1, i64 0, i64 %73, i64 6
  %93 = load float, ptr %92, align 8, !tbaa !12
  %94 = fadd float %91, %93
  %95 = getelementptr inbounds [12 x [12 x float]], ptr %1, i64 0, i64 %73, i64 7
  %96 = load float, ptr %95, align 4, !tbaa !12
  %97 = fadd float %94, %96
  %98 = getelementptr inbounds [12 x [12 x float]], ptr %1, i64 0, i64 %73, i64 8
  %99 = load float, ptr %98, align 16, !tbaa !12
  %100 = fadd float %97, %99
  %101 = getelementptr inbounds [12 x [12 x float]], ptr %1, i64 0, i64 %73, i64 9
  %102 = load float, ptr %101, align 4, !tbaa !12
  %103 = fadd float %100, %102
  %104 = getelementptr inbounds [12 x [12 x float]], ptr %1, i64 0, i64 %73, i64 10
  %105 = load float, ptr %104, align 8, !tbaa !12
  %106 = fadd float %103, %105
  %107 = getelementptr inbounds [12 x [12 x float]], ptr %1, i64 0, i64 %73, i64 11
  %108 = load float, ptr %107, align 4, !tbaa !12
  %109 = fadd float %106, %108
  %110 = fdiv float %109, 1.200000e+01
  br label %.sink.split

.sink.split:                                      ; preds = %32, %71
  %.sink38 = phi float [ %110, %71 ], [ %70, %32 ]
  %111 = fpext float %.sink38 to double
  %112 = call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, double noundef %111)
  br label %113

113:                                              ; preds = %.sink.split, %30
  call void @llvm.lifetime.end.p0(i64 1, ptr nonnull %3) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %2) #5
  call void @llvm.lifetime.end.p0(i64 576, ptr nonnull %1) #5
  ret i32 0
}

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

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERi(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #2

declare noundef nonnull align 8 dereferenceable(16) ptr @_ZStrsIcSt11char_traitsIcEERSt13basic_istreamIT_T0_ES6_RS3_(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 1 dereferenceable(1)) local_unnamed_addr #2

; Function Attrs: mustprogress uwtable
declare noundef nonnull align 8 dereferenceable(16) ptr @_ZNSirsERf(ptr noundef nonnull align 8 dereferenceable(16), ptr noundef nonnull align 4 dereferenceable(4)) local_unnamed_addr #3 align 2

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

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

attributes #0 = { 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 #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "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 = { 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 #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 = distinct !{!5, !6}
!6 = !{!"llvm.loop.mustprogress"}
!7 = !{!8, !8, i64 0}
!8 = !{!"omnipotent char", !9, i64 0}
!9 = !{!"Simple C++ TBAA"}
!10 = !{!11, !11, i64 0}
!11 = !{!"int", !8, i64 0}
!12 = !{!13, !13, i64 0}
!13 = !{!"float", !8, i64 0}


; Effective O3 passes: GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LCSSAPass,LICMPass,LoopRotatePass,LoopSimplifyPass,SROAPass,SimplifyCFGPass