; LLVM IR from Stephane-D/SGDK :: src (pal)

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

@fadeInd = external hidden global i16, align 2
@fadeSize = external hidden global i16, align 2
@fadeCounter = external hidden global i16, align 2
@fadeCurrentPal = external dso_local global [64 x i16], align 16
@fadeR = external hidden global [64 x i16], align 16
@fadeG = external hidden global [64 x i16], align 16
@fadeB = external hidden global [64 x i16], align 16
@fadeSR = external hidden global [64 x i16], align 16
@fadeSG = external hidden global [64 x i16], align 16
@fadeSB = external hidden global [64 x i16], align 16

; 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: nounwind uwtable
declare dso_local void @PAL_setColors(i16 noundef zeroext, ptr noundef, i16 noundef zeroext, i32 noundef) #1

; Function Attrs: noinline nounwind uwtable
define dso_local zeroext i8 @PAL_doFadeStep() #2 {
  %1 = alloca i8, align 1
  %2 = alloca ptr, align 8
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i16, align 2
  %10 = alloca i16, align 2
  %11 = alloca i16, align 2
  %12 = alloca i16, align 2
  %13 = alloca i16, align 2
  %14 = load i16, ptr @fadeCounter, align 2, !tbaa !5
  %15 = sext i16 %14 to i32
  %16 = icmp sle i32 %15, 0
  br i1 %16, label %17, label %18

17:                                               ; preds = %0
  store i8 0, ptr %1, align 1
  br label %97

18:                                               ; preds = %0
  call void @llvm.lifetime.start.p0(i64 8, ptr %2) #3
  store ptr @fadeR, ptr %2, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %3) #3
  store ptr @fadeG, ptr %3, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %4) #3
  store ptr @fadeB, ptr %4, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #3
  store ptr @fadeSR, ptr %5, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  store ptr @fadeSG, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %7) #3
  store ptr @fadeSB, ptr %7, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 8, ptr %8) #3
  store ptr @fadeCurrentPal, ptr %8, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 2, ptr %9) #3
  %19 = load i16, ptr @fadeSize, align 2, !tbaa !5
  store i16 %19, ptr %9, align 2, !tbaa !5
  br label %20

20:                                               ; preds = %24, %18
  %21 = load i16, ptr %9, align 2, !tbaa !5
  %22 = add i16 %21, -1
  store i16 %22, ptr %9, align 2, !tbaa !5
  %23 = icmp ne i16 %21, 0
  br i1 %23, label %24, label %88

24:                                               ; preds = %20
  call void @llvm.lifetime.start.p0(i64 2, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 2, ptr %11) #3
  %25 = load ptr, ptr %2, align 8, !tbaa !9
  %26 = load i16, ptr %25, align 2, !tbaa !5
  %27 = sext i16 %26 to i32
  %28 = load ptr, ptr %5, align 8, !tbaa !9
  %29 = getelementptr inbounds i16, ptr %28, i32 1
  store ptr %29, ptr %5, align 8, !tbaa !9
  %30 = load i16, ptr %28, align 2, !tbaa !5
  %31 = sext i16 %30 to i32
  %32 = add nsw i32 %27, %31
  %33 = trunc i32 %32 to i16
  store i16 %33, ptr %11, align 2, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 2, ptr %12) #3
  %34 = load ptr, ptr %3, align 8, !tbaa !9
  %35 = load i16, ptr %34, align 2, !tbaa !5
  %36 = sext i16 %35 to i32
  %37 = load ptr, ptr %6, align 8, !tbaa !9
  %38 = getelementptr inbounds i16, ptr %37, i32 1
  store ptr %38, ptr %6, align 8, !tbaa !9
  %39 = load i16, ptr %37, align 2, !tbaa !5
  %40 = sext i16 %39 to i32
  %41 = add nsw i32 %36, %40
  %42 = trunc i32 %41 to i16
  store i16 %42, ptr %12, align 2, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 2, ptr %13) #3
  %43 = load ptr, ptr %4, align 8, !tbaa !9
  %44 = load i16, ptr %43, align 2, !tbaa !5
  %45 = sext i16 %44 to i32
  %46 = load ptr, ptr %7, align 8, !tbaa !9
  %47 = getelementptr inbounds i16, ptr %46, i32 1
  store ptr %47, ptr %7, align 8, !tbaa !9
  %48 = load i16, ptr %46, align 2, !tbaa !5
  %49 = sext i16 %48 to i32
  %50 = add nsw i32 %45, %49
  %51 = trunc i32 %50 to i16
  store i16 %51, ptr %13, align 2, !tbaa !5
  %52 = load i16, ptr %11, align 2, !tbaa !5
  %53 = load ptr, ptr %2, align 8, !tbaa !9
  %54 = getelementptr inbounds i16, ptr %53, i32 1
  store ptr %54, ptr %2, align 8, !tbaa !9
  store i16 %52, ptr %53, align 2, !tbaa !5
  %55 = load i16, ptr %12, align 2, !tbaa !5
  %56 = load ptr, ptr %3, align 8, !tbaa !9
  %57 = getelementptr inbounds i16, ptr %56, i32 1
  store ptr %57, ptr %3, align 8, !tbaa !9
  store i16 %55, ptr %56, align 2, !tbaa !5
  %58 = load i16, ptr %13, align 2, !tbaa !5
  %59 = load ptr, ptr %4, align 8, !tbaa !9
  %60 = getelementptr inbounds i16, ptr %59, i32 1
  store ptr %60, ptr %4, align 8, !tbaa !9
  store i16 %58, ptr %59, align 2, !tbaa !5
  %61 = load i16, ptr %11, align 2, !tbaa !5
  %62 = zext i16 %61 to i32
  %63 = ashr i32 %62, 8
  %64 = shl i32 %63, 1
  %65 = and i32 %64, 14
  %66 = trunc i32 %65 to i16
  store i16 %66, ptr %10, align 2, !tbaa !5
  %67 = load i16, ptr %12, align 2, !tbaa !5
  %68 = zext i16 %67 to i32
  %69 = ashr i32 %68, 8
  %70 = shl i32 %69, 5
  %71 = and i32 %70, 224
  %72 = load i16, ptr %10, align 2, !tbaa !5
  %73 = zext i16 %72 to i32
  %74 = or i32 %73, %71
  %75 = trunc i32 %74 to i16
  store i16 %75, ptr %10, align 2, !tbaa !5
  %76 = load i16, ptr %13, align 2, !tbaa !5
  %77 = zext i16 %76 to i32
  %78 = ashr i32 %77, 8
  %79 = shl i32 %78, 9
  %80 = and i32 %79, 3584
  %81 = load i16, ptr %10, align 2, !tbaa !5
  %82 = zext i16 %81 to i32
  %83 = or i32 %82, %80
  %84 = trunc i32 %83 to i16
  store i16 %84, ptr %10, align 2, !tbaa !5
  %85 = load i16, ptr %10, align 2, !tbaa !5
  %86 = load ptr, ptr %8, align 8, !tbaa !9
  %87 = getelementptr inbounds i16, ptr %86, i32 1
  store ptr %87, ptr %8, align 8, !tbaa !9
  store i16 %85, ptr %86, align 2, !tbaa !5
  call void @llvm.lifetime.end.p0(i64 2, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 2, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 2, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 2, ptr %10) #3
  br label %20, !llvm.loop !11

88:                                               ; preds = %20
  %89 = load i16, ptr @fadeInd, align 2, !tbaa !5
  %90 = load i16, ptr @fadeSize, align 2, !tbaa !5
  call void @PAL_setColors(i16 noundef zeroext %89, ptr noundef @fadeCurrentPal, i16 noundef zeroext %90, i32 noundef 2)
  %91 = load i16, ptr @fadeCounter, align 2, !tbaa !5
  %92 = add i16 %91, -1
  store i16 %92, ptr @fadeCounter, align 2, !tbaa !5
  %93 = sext i16 %92 to i32
  %94 = icmp sgt i32 %93, 0
  %95 = zext i1 %94 to i32
  %96 = trunc i32 %95 to i8
  store i8 %96, ptr %1, align 1
  call void @llvm.lifetime.end.p0(i64 2, ptr %9) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %4) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %3) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %2) #3
  br label %97

97:                                               ; preds = %88, %17
  %98 = load i8, ptr %1, align 1
  ret i8 %98
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { 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 #2 = { noinline 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 #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 = !{!"short", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/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"

@fadeInd = external hidden local_unnamed_addr global i16, align 2
@fadeSize = external hidden local_unnamed_addr global i16, align 2
@fadeCounter = external hidden local_unnamed_addr global i16, align 2
@fadeCurrentPal = external dso_local global [64 x i16], align 16
@fadeR = external hidden local_unnamed_addr global [64 x i16], align 16
@fadeG = external hidden local_unnamed_addr global [64 x i16], align 16
@fadeB = external hidden local_unnamed_addr global [64 x i16], align 16
@fadeSR = external hidden local_unnamed_addr global [64 x i16], align 16
@fadeSG = external hidden local_unnamed_addr global [64 x i16], align 16
@fadeSB = external hidden local_unnamed_addr global [64 x i16], align 16

; Function Attrs: nounwind uwtable
declare dso_local void @PAL_setColors(i16 noundef zeroext, ptr noundef, i16 noundef zeroext, i32 noundef) local_unnamed_addr #0

; Function Attrs: noinline nounwind uwtable
define dso_local zeroext range(i8 0, 2) i8 @PAL_doFadeStep() local_unnamed_addr #1 {
  %1 = load i16, ptr @fadeCounter, align 2, !tbaa !5
  %2 = icmp slt i16 %1, 1
  br i1 %2, label %55, label %3

3:                                                ; preds = %0
  %4 = load i16, ptr @fadeSize, align 2, !tbaa !5
  %.not28 = icmp eq i16 %4, 0
  br i1 %.not28, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %3
  %5 = zext i16 %4 to i64
  %min.iters.check = icmp ult i16 %4, 8
  br i1 %min.iters.check, label %.lr.ph.preheader68, label %vector.ph

vector.ph:                                        ; preds = %.lr.ph.preheader
  %n.vec = and i64 %5, 65528
  %6 = shl nuw nsw i64 %n.vec, 1
  %ind.end = getelementptr i8, ptr @fadeR, i64 %6
  %7 = shl nuw nsw i64 %n.vec, 1
  %ind.end37 = getelementptr i8, ptr @fadeG, i64 %7
  %8 = shl nuw nsw i64 %n.vec, 1
  %ind.end39 = getelementptr i8, ptr @fadeB, i64 %8
  %.cast = trunc nuw i64 %n.vec to i16
  %ind.end41 = sub i16 %4, %.cast
  %9 = shl nuw nsw i64 %n.vec, 1
  %ind.end43 = getelementptr i8, ptr @fadeCurrentPal, i64 %9
  %10 = shl nuw nsw i64 %n.vec, 1
  %ind.end45 = getelementptr i8, ptr @fadeSB, i64 %10
  %11 = shl nuw nsw i64 %n.vec, 1
  %ind.end47 = getelementptr i8, ptr @fadeSG, i64 %11
  %12 = shl nuw nsw i64 %n.vec, 1
  %ind.end49 = getelementptr i8, ptr @fadeSR, i64 %12
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %offset.idx = shl i64 %index, 1
  %next.gep = getelementptr i8, ptr @fadeR, i64 %offset.idx
  %offset.idx51 = shl i64 %index, 1
  %next.gep52 = getelementptr i8, ptr @fadeG, i64 %offset.idx51
  %offset.idx53 = shl i64 %index, 1
  %next.gep54 = getelementptr i8, ptr @fadeB, i64 %offset.idx53
  %offset.idx55 = shl i64 %index, 1
  %next.gep56 = getelementptr i8, ptr @fadeCurrentPal, i64 %offset.idx55
  %offset.idx57 = shl i64 %index, 1
  %next.gep58 = getelementptr i8, ptr @fadeSB, i64 %offset.idx57
  %offset.idx59 = shl i64 %index, 1
  %next.gep60 = getelementptr i8, ptr @fadeSG, i64 %offset.idx59
  %offset.idx61 = shl i64 %index, 1
  %next.gep62 = getelementptr i8, ptr @fadeSR, i64 %offset.idx61
  %wide.load = load <8 x i16>, ptr %next.gep, align 16, !tbaa !5
  %wide.load63 = load <8 x i16>, ptr %next.gep62, align 16, !tbaa !5
  %13 = add <8 x i16> %wide.load63, %wide.load
  %wide.load64 = load <8 x i16>, ptr %next.gep52, align 16, !tbaa !5
  %wide.load65 = load <8 x i16>, ptr %next.gep60, align 16, !tbaa !5
  %14 = add <8 x i16> %wide.load65, %wide.load64
  %wide.load66 = load <8 x i16>, ptr %next.gep54, align 16, !tbaa !5
  %wide.load67 = load <8 x i16>, ptr %next.gep58, align 16, !tbaa !5
  %15 = add <8 x i16> %wide.load67, %wide.load66
  store <8 x i16> %13, ptr %next.gep, align 16, !tbaa !5
  store <8 x i16> %14, ptr %next.gep52, align 16, !tbaa !5
  store <8 x i16> %15, ptr %next.gep54, align 16, !tbaa !5
  %16 = lshr <8 x i16> %13, <i16 7, i16 7, i16 7, i16 7, i16 7, i16 7, i16 7, i16 7>
  %17 = and <8 x i16> %16, <i16 14, i16 14, i16 14, i16 14, i16 14, i16 14, i16 14, i16 14>
  %18 = lshr <8 x i16> %14, <i16 3, i16 3, i16 3, i16 3, i16 3, i16 3, i16 3, i16 3>
  %19 = and <8 x i16> %18, <i16 224, i16 224, i16 224, i16 224, i16 224, i16 224, i16 224, i16 224>
  %20 = or disjoint <8 x i16> %19, %17
  %21 = shl <8 x i16> %15, <i16 1, i16 1, i16 1, i16 1, i16 1, i16 1, i16 1, i16 1>
  %22 = and <8 x i16> %21, <i16 3584, i16 3584, i16 3584, i16 3584, i16 3584, i16 3584, i16 3584, i16 3584>
  %23 = or disjoint <8 x i16> %20, %22
  store <8 x i16> %23, ptr %next.gep56, align 16, !tbaa !5
  %index.next = add nuw i64 %index, 8
  %24 = icmp eq i64 %index.next, %n.vec
  br i1 %24, label %middle.block, label %vector.body, !llvm.loop !9

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

.lr.ph.preheader68:                               ; preds = %middle.block, %.lr.ph.preheader
  %.02036.ph = phi ptr [ @fadeR, %.lr.ph.preheader ], [ %ind.end, %middle.block ]
  %.02135.ph = phi ptr [ @fadeG, %.lr.ph.preheader ], [ %ind.end37, %middle.block ]
  %.02234.ph = phi ptr [ @fadeB, %.lr.ph.preheader ], [ %ind.end39, %middle.block ]
  %.02333.ph = phi i16 [ %4, %.lr.ph.preheader ], [ %ind.end41, %middle.block ]
  %.02432.ph = phi ptr [ @fadeCurrentPal, %.lr.ph.preheader ], [ %ind.end43, %middle.block ]
  %.02531.ph = phi ptr [ @fadeSB, %.lr.ph.preheader ], [ %ind.end45, %middle.block ]
  %.02630.ph = phi ptr [ @fadeSG, %.lr.ph.preheader ], [ %ind.end47, %middle.block ]
  %.02729.ph = phi ptr [ @fadeSR, %.lr.ph.preheader ], [ %ind.end49, %middle.block ]
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader68, %.lr.ph
  %.02036 = phi ptr [ %38, %.lr.ph ], [ %.02036.ph, %.lr.ph.preheader68 ]
  %.02135 = phi ptr [ %39, %.lr.ph ], [ %.02135.ph, %.lr.ph.preheader68 ]
  %.02234 = phi ptr [ %40, %.lr.ph ], [ %.02234.ph, %.lr.ph.preheader68 ]
  %.02333 = phi i16 [ %25, %.lr.ph ], [ %.02333.ph, %.lr.ph.preheader68 ]
  %.02432 = phi ptr [ %49, %.lr.ph ], [ %.02432.ph, %.lr.ph.preheader68 ]
  %.02531 = phi ptr [ %35, %.lr.ph ], [ %.02531.ph, %.lr.ph.preheader68 ]
  %.02630 = phi ptr [ %31, %.lr.ph ], [ %.02630.ph, %.lr.ph.preheader68 ]
  %.02729 = phi ptr [ %27, %.lr.ph ], [ %.02729.ph, %.lr.ph.preheader68 ]
  %25 = add i16 %.02333, -1
  %26 = load i16, ptr %.02036, align 2, !tbaa !5
  %27 = getelementptr inbounds i8, ptr %.02729, i64 2
  %28 = load i16, ptr %.02729, align 2, !tbaa !5
  %29 = add i16 %28, %26
  %30 = load i16, ptr %.02135, align 2, !tbaa !5
  %31 = getelementptr inbounds i8, ptr %.02630, i64 2
  %32 = load i16, ptr %.02630, align 2, !tbaa !5
  %33 = add i16 %32, %30
  %34 = load i16, ptr %.02234, align 2, !tbaa !5
  %35 = getelementptr inbounds i8, ptr %.02531, i64 2
  %36 = load i16, ptr %.02531, align 2, !tbaa !5
  %37 = add i16 %36, %34
  %38 = getelementptr inbounds i8, ptr %.02036, i64 2
  store i16 %29, ptr %.02036, align 2, !tbaa !5
  %39 = getelementptr inbounds i8, ptr %.02135, i64 2
  store i16 %33, ptr %.02135, align 2, !tbaa !5
  %40 = getelementptr inbounds i8, ptr %.02234, i64 2
  store i16 %37, ptr %.02234, align 2, !tbaa !5
  %41 = lshr i16 %29, 7
  %42 = and i16 %41, 14
  %43 = lshr i16 %33, 3
  %44 = and i16 %43, 224
  %45 = or disjoint i16 %44, %42
  %46 = shl i16 %37, 1
  %47 = and i16 %46, 3584
  %48 = or disjoint i16 %45, %47
  %49 = getelementptr inbounds i8, ptr %.02432, i64 2
  store i16 %48, ptr %.02432, align 2, !tbaa !5
  %.not = icmp eq i16 %25, 0
  br i1 %.not, label %._crit_edge, label %.lr.ph, !llvm.loop !13

._crit_edge:                                      ; preds = %.lr.ph, %middle.block, %3
  %50 = load i16, ptr @fadeInd, align 2, !tbaa !5
  tail call void @PAL_setColors(i16 noundef zeroext %50, ptr noundef nonnull @fadeCurrentPal, i16 noundef zeroext %4, i32 noundef 2)
  %51 = load i16, ptr @fadeCounter, align 2, !tbaa !5
  %52 = add i16 %51, -1
  store i16 %52, ptr @fadeCounter, align 2, !tbaa !5
  %53 = icmp sgt i16 %52, 0
  %54 = zext i1 %53 to i8
  br label %55

55:                                               ; preds = %0, %._crit_edge
  %.0 = phi i8 [ %54, %._crit_edge ], [ 0, %0 ]
  ret i8 %.0
}

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 = { noinline 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 = !{!"short", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10, !11, !12}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!"llvm.loop.isvectorized", i32 1}
!12 = !{!"llvm.loop.unroll.runtime.disable"}
!13 = distinct !{!13, !10, !12, !11}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IPSCCPPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass