; LLVM IR from ROCm/aomp :: test/smoke-fails/target-map-from-fail-array (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"

@A = external dso_local constant [128 x i32], align 16
@M = external dso_local global i32, align 4
@stderr = external global ptr, align 8
@.str = external hidden unnamed_addr constant [15 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [8 x i8], align 1

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

10:                                               ; preds = %22, %2
  %11 = load i32, ptr %8, align 4, !tbaa !5
  %12 = icmp slt i32 %11, 128
  br i1 %12, label %14, label %13

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

14:                                               ; preds = %10
  %15 = load i32, ptr %8, align 4, !tbaa !5
  %16 = sext i32 %15 to i64
  %17 = getelementptr inbounds [128 x i32], ptr @A, i64 0, i64 %16
  %18 = load i32, ptr %17, align 4, !tbaa !5
  %19 = add nsw i32 %18, 1
  %20 = load i32, ptr %7, align 4, !tbaa !5
  %21 = add nsw i32 %20, %19
  store i32 %21, ptr %7, align 4, !tbaa !5
  br label %22

22:                                               ; preds = %14
  %23 = load i32, ptr %8, align 4, !tbaa !5
  %24 = add nsw i32 %23, 1
  store i32 %24, ptr %8, align 4, !tbaa !5
  br label %10, !llvm.loop !11

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

26:                                               ; preds = %38, %25
  %27 = load i32, ptr %9, align 4, !tbaa !5
  %28 = icmp slt i32 %27, 128
  br i1 %28, label %30, label %29

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

30:                                               ; preds = %26
  %31 = load i32, ptr %9, align 4, !tbaa !5
  %32 = sext i32 %31 to i64
  %33 = getelementptr inbounds [128 x i32], ptr @A, i64 0, i64 %32
  %34 = load i32, ptr %33, align 4, !tbaa !5
  %35 = add nsw i32 %34, 1
  %36 = load i32, ptr %6, align 4, !tbaa !5
  %37 = add nsw i32 %36, %35
  store i32 %37, ptr %6, align 4, !tbaa !5
  store i32 42, ptr @M, align 4, !tbaa !5
  br label %38

38:                                               ; preds = %30
  %39 = load i32, ptr %9, align 4, !tbaa !5
  %40 = add nsw i32 %39, 1
  store i32 %40, ptr %9, align 4, !tbaa !5
  br label %26, !llvm.loop !13

41:                                               ; preds = %29
  %42 = load ptr, ptr @stderr, align 8, !tbaa !9
  %43 = load i32, ptr %6, align 4, !tbaa !5
  %44 = load i32, ptr %7, align 4, !tbaa !5
  %45 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %42, ptr noundef @.str, i32 noundef %43, i32 noundef %44) #3
  %46 = load ptr, ptr @stderr, align 8, !tbaa !9
  %47 = load i32, ptr @M, align 4, !tbaa !5
  %48 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %46, ptr noundef @.str.1, i32 noundef %47) #3
  %49 = load ptr, ptr @stderr, align 8, !tbaa !9
  %50 = call i32 (ptr, ptr, ...) @fprintf(ptr noundef %49, ptr noundef @.str.2) #3
  %51 = load i32, ptr %6, align 4, !tbaa !5
  %52 = load i32, ptr %7, align 4, !tbaa !5
  %53 = sub nsw i32 %51, %52
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %6) #3
  ret i32 %53
}

; 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: nounwind
declare i32 @fprintf(ptr noundef, ptr noundef, ...) #2

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 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { 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 = { 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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !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"

@A = external dso_local local_unnamed_addr constant [128 x i32], align 16
@M = external dso_local local_unnamed_addr global i32, align 4
@stderr = external local_unnamed_addr global ptr, align 8
@.str = external hidden unnamed_addr constant [15 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [13 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [8 x i8], align 1

; Function Attrs: nofree nounwind uwtable
define dso_local i32 @main(i32 noundef %0, ptr nocapture noundef readnone %1) local_unnamed_addr #0 {
vector.ph:
  %wide.load28 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 16), align 16, !tbaa !5
  %2 = add <4 x i32> %wide.load28, <i32 2, i32 2, i32 2, i32 2>
  %wide.load28.1 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 48), align 16, !tbaa !5
  %3 = add <4 x i32> %2, %wide.load28.1
  %4 = add <4 x i32> %3, <i32 1, i32 1, i32 1, i32 1>
  %wide.load28.2 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 80), align 16, !tbaa !5
  %5 = add <4 x i32> %4, %wide.load28.2
  %6 = add <4 x i32> %5, <i32 1, i32 1, i32 1, i32 1>
  %wide.load28.3 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 112), align 16, !tbaa !5
  %7 = add <4 x i32> %6, %wide.load28.3
  %8 = add <4 x i32> %7, <i32 1, i32 1, i32 1, i32 1>
  %wide.load28.4 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 144), align 16, !tbaa !5
  %9 = add <4 x i32> %8, %wide.load28.4
  %10 = add <4 x i32> %9, <i32 1, i32 1, i32 1, i32 1>
  %wide.load28.5 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 176), align 16, !tbaa !5
  %11 = add <4 x i32> %10, %wide.load28.5
  %12 = add <4 x i32> %11, <i32 1, i32 1, i32 1, i32 1>
  %wide.load28.6 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 208), align 16, !tbaa !5
  %13 = add <4 x i32> %12, %wide.load28.6
  %14 = add <4 x i32> %13, <i32 1, i32 1, i32 1, i32 1>
  %wide.load28.7 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 240), align 16, !tbaa !5
  %15 = add <4 x i32> %14, %wide.load28.7
  %16 = add <4 x i32> %15, <i32 1, i32 1, i32 1, i32 1>
  %wide.load28.8 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 272), align 16, !tbaa !5
  %17 = add <4 x i32> %16, %wide.load28.8
  %18 = add <4 x i32> %17, <i32 1, i32 1, i32 1, i32 1>
  %wide.load28.9 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 304), align 16, !tbaa !5
  %19 = add <4 x i32> %18, %wide.load28.9
  %20 = add <4 x i32> %19, <i32 1, i32 1, i32 1, i32 1>
  %wide.load28.10 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 336), align 16, !tbaa !5
  %21 = add <4 x i32> %20, %wide.load28.10
  %22 = add <4 x i32> %21, <i32 1, i32 1, i32 1, i32 1>
  %wide.load28.11 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 368), align 16, !tbaa !5
  %23 = add <4 x i32> %22, %wide.load28.11
  %24 = add <4 x i32> %23, <i32 1, i32 1, i32 1, i32 1>
  %wide.load28.12 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 400), align 16, !tbaa !5
  %25 = add <4 x i32> %24, %wide.load28.12
  %26 = add <4 x i32> %25, <i32 1, i32 1, i32 1, i32 1>
  %wide.load28.13 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 432), align 16, !tbaa !5
  %27 = add <4 x i32> %26, %wide.load28.13
  %28 = add <4 x i32> %27, <i32 1, i32 1, i32 1, i32 1>
  %wide.load28.14 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 464), align 16, !tbaa !5
  %29 = add <4 x i32> %28, %wide.load28.14
  %30 = add <4 x i32> %29, <i32 1, i32 1, i32 1, i32 1>
  %wide.load28.15 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 496), align 16, !tbaa !5
  %31 = add <4 x i32> %30, %wide.load28.15
  %wide.load = load <4 x i32>, ptr @A, align 16, !tbaa !5
  %32 = add <4 x i32> %wide.load, <i32 2, i32 2, i32 2, i32 2>
  %wide.load.1 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 32), align 16, !tbaa !5
  %33 = add <4 x i32> %32, %wide.load.1
  %34 = add <4 x i32> %33, <i32 1, i32 1, i32 1, i32 1>
  %wide.load.2 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 64), align 16, !tbaa !5
  %35 = add <4 x i32> %34, %wide.load.2
  %36 = add <4 x i32> %35, <i32 1, i32 1, i32 1, i32 1>
  %wide.load.3 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 96), align 16, !tbaa !5
  %37 = add <4 x i32> %36, %wide.load.3
  %38 = add <4 x i32> %37, <i32 1, i32 1, i32 1, i32 1>
  %wide.load.4 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 128), align 16, !tbaa !5
  %39 = add <4 x i32> %38, %wide.load.4
  %40 = add <4 x i32> %39, <i32 1, i32 1, i32 1, i32 1>
  %wide.load.5 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 160), align 16, !tbaa !5
  %41 = add <4 x i32> %40, %wide.load.5
  %42 = add <4 x i32> %41, <i32 1, i32 1, i32 1, i32 1>
  %wide.load.6 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 192), align 16, !tbaa !5
  %43 = add <4 x i32> %42, %wide.load.6
  %44 = add <4 x i32> %43, <i32 1, i32 1, i32 1, i32 1>
  %wide.load.7 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 224), align 16, !tbaa !5
  %45 = add <4 x i32> %44, %wide.load.7
  %46 = add <4 x i32> %45, <i32 1, i32 1, i32 1, i32 1>
  %wide.load.8 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 256), align 16, !tbaa !5
  %47 = add <4 x i32> %46, %wide.load.8
  %48 = add <4 x i32> %47, <i32 1, i32 1, i32 1, i32 1>
  %wide.load.9 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 288), align 16, !tbaa !5
  %49 = add <4 x i32> %48, %wide.load.9
  %50 = add <4 x i32> %49, <i32 1, i32 1, i32 1, i32 1>
  %wide.load.10 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 320), align 16, !tbaa !5
  %51 = add <4 x i32> %50, %wide.load.10
  %52 = add <4 x i32> %51, <i32 1, i32 1, i32 1, i32 1>
  %wide.load.11 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 352), align 16, !tbaa !5
  %53 = add <4 x i32> %52, %wide.load.11
  %54 = add <4 x i32> %53, <i32 1, i32 1, i32 1, i32 1>
  %wide.load.12 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 384), align 16, !tbaa !5
  %55 = add <4 x i32> %54, %wide.load.12
  %56 = add <4 x i32> %55, <i32 1, i32 1, i32 1, i32 1>
  %wide.load.13 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 416), align 16, !tbaa !5
  %57 = add <4 x i32> %56, %wide.load.13
  %58 = add <4 x i32> %57, <i32 1, i32 1, i32 1, i32 1>
  %wide.load.14 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 448), align 16, !tbaa !5
  %59 = add <4 x i32> %58, %wide.load.14
  %60 = add <4 x i32> %59, <i32 1, i32 1, i32 1, i32 1>
  %wide.load.15 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 480), align 16, !tbaa !5
  %61 = add <4 x i32> %60, %wide.load.15
  %wide.load37 = load <4 x i32>, ptr @A, align 16, !tbaa !5
  %wide.load38 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 16), align 16, !tbaa !5
  %wide.load37.1 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 32), align 16, !tbaa !5
  %wide.load38.1 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 48), align 16, !tbaa !5
  %62 = add <4 x i32> %wide.load37, <i32 2, i32 2, i32 2, i32 2>
  %63 = add <4 x i32> %wide.load38, <i32 2, i32 2, i32 2, i32 2>
  %64 = add <4 x i32> %62, %wide.load37.1
  %65 = add <4 x i32> %63, %wide.load38.1
  %wide.load37.2 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 64), align 16, !tbaa !5
  %wide.load38.2 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 80), align 16, !tbaa !5
  %66 = add <4 x i32> %64, <i32 1, i32 1, i32 1, i32 1>
  %67 = add <4 x i32> %65, <i32 1, i32 1, i32 1, i32 1>
  %68 = add <4 x i32> %66, %wide.load37.2
  %69 = add <4 x i32> %67, %wide.load38.2
  %wide.load37.3 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 96), align 16, !tbaa !5
  %wide.load38.3 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 112), align 16, !tbaa !5
  %70 = add <4 x i32> %68, <i32 1, i32 1, i32 1, i32 1>
  %71 = add <4 x i32> %69, <i32 1, i32 1, i32 1, i32 1>
  %72 = add <4 x i32> %70, %wide.load37.3
  %73 = add <4 x i32> %71, %wide.load38.3
  %wide.load37.4 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 128), align 16, !tbaa !5
  %wide.load38.4 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 144), align 16, !tbaa !5
  %74 = add <4 x i32> %72, <i32 1, i32 1, i32 1, i32 1>
  %75 = add <4 x i32> %73, <i32 1, i32 1, i32 1, i32 1>
  %76 = add <4 x i32> %74, %wide.load37.4
  %77 = add <4 x i32> %75, %wide.load38.4
  %wide.load37.5 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 160), align 16, !tbaa !5
  %wide.load38.5 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 176), align 16, !tbaa !5
  %78 = add <4 x i32> %76, <i32 1, i32 1, i32 1, i32 1>
  %79 = add <4 x i32> %77, <i32 1, i32 1, i32 1, i32 1>
  %80 = add <4 x i32> %78, %wide.load37.5
  %81 = add <4 x i32> %79, %wide.load38.5
  %wide.load37.6 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 192), align 16, !tbaa !5
  %wide.load38.6 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 208), align 16, !tbaa !5
  %82 = add <4 x i32> %80, <i32 1, i32 1, i32 1, i32 1>
  %83 = add <4 x i32> %81, <i32 1, i32 1, i32 1, i32 1>
  %84 = add <4 x i32> %82, %wide.load37.6
  %85 = add <4 x i32> %83, %wide.load38.6
  %wide.load37.7 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 224), align 16, !tbaa !5
  %wide.load38.7 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 240), align 16, !tbaa !5
  %86 = add <4 x i32> %84, <i32 1, i32 1, i32 1, i32 1>
  %87 = add <4 x i32> %85, <i32 1, i32 1, i32 1, i32 1>
  %88 = add <4 x i32> %86, %wide.load37.7
  %89 = add <4 x i32> %87, %wide.load38.7
  %wide.load37.8 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 256), align 16, !tbaa !5
  %wide.load38.8 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 272), align 16, !tbaa !5
  %90 = add <4 x i32> %88, <i32 1, i32 1, i32 1, i32 1>
  %91 = add <4 x i32> %89, <i32 1, i32 1, i32 1, i32 1>
  %92 = add <4 x i32> %90, %wide.load37.8
  %93 = add <4 x i32> %91, %wide.load38.8
  %wide.load37.9 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 288), align 16, !tbaa !5
  %wide.load38.9 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 304), align 16, !tbaa !5
  %94 = add <4 x i32> %92, <i32 1, i32 1, i32 1, i32 1>
  %95 = add <4 x i32> %93, <i32 1, i32 1, i32 1, i32 1>
  %96 = add <4 x i32> %94, %wide.load37.9
  %97 = add <4 x i32> %95, %wide.load38.9
  %wide.load37.10 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 320), align 16, !tbaa !5
  %wide.load38.10 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 336), align 16, !tbaa !5
  %98 = add <4 x i32> %96, <i32 1, i32 1, i32 1, i32 1>
  %99 = add <4 x i32> %97, <i32 1, i32 1, i32 1, i32 1>
  %100 = add <4 x i32> %98, %wide.load37.10
  %101 = add <4 x i32> %99, %wide.load38.10
  %wide.load37.11 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 352), align 16, !tbaa !5
  %wide.load38.11 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 368), align 16, !tbaa !5
  %102 = add <4 x i32> %100, <i32 1, i32 1, i32 1, i32 1>
  %103 = add <4 x i32> %101, <i32 1, i32 1, i32 1, i32 1>
  %104 = add <4 x i32> %102, %wide.load37.11
  %105 = add <4 x i32> %103, %wide.load38.11
  %wide.load37.12 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 384), align 16, !tbaa !5
  %wide.load38.12 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 400), align 16, !tbaa !5
  %106 = add <4 x i32> %104, <i32 1, i32 1, i32 1, i32 1>
  %107 = add <4 x i32> %105, <i32 1, i32 1, i32 1, i32 1>
  %108 = add <4 x i32> %106, %wide.load37.12
  %109 = add <4 x i32> %107, %wide.load38.12
  %wide.load37.13 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 416), align 16, !tbaa !5
  %wide.load38.13 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 432), align 16, !tbaa !5
  %110 = add <4 x i32> %108, <i32 1, i32 1, i32 1, i32 1>
  %111 = add <4 x i32> %109, <i32 1, i32 1, i32 1, i32 1>
  %112 = add <4 x i32> %110, %wide.load37.13
  %113 = add <4 x i32> %111, %wide.load38.13
  %wide.load37.14 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 448), align 16, !tbaa !5
  %wide.load38.14 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 464), align 16, !tbaa !5
  %114 = add <4 x i32> %112, <i32 1, i32 1, i32 1, i32 1>
  %115 = add <4 x i32> %113, <i32 1, i32 1, i32 1, i32 1>
  %116 = add <4 x i32> %114, %wide.load37.14
  %117 = add <4 x i32> %115, %wide.load38.14
  %wide.load37.15 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 480), align 16, !tbaa !5
  %wide.load38.15 = load <4 x i32>, ptr getelementptr inbounds (i8, ptr @A, i64 496), align 16, !tbaa !5
  %118 = add <4 x i32> %116, <i32 1, i32 1, i32 1, i32 1>
  %119 = add <4 x i32> %117, <i32 1, i32 1, i32 1, i32 1>
  %120 = add <4 x i32> %118, %wide.load37.15
  %121 = add <4 x i32> %119, %wide.load38.15
  %bin.rdx = add <4 x i32> %31, %61
  %122 = tail call i32 @llvm.vector.reduce.add.v4i32(<4 x i32> %bin.rdx)
  %bin.rdx40 = add <4 x i32> %121, %120
  %123 = tail call i32 @llvm.vector.reduce.add.v4i32(<4 x i32> %bin.rdx40)
  store i32 42, ptr @M, align 4, !tbaa !5
  %124 = load ptr, ptr @stderr, align 8, !tbaa !9
  %125 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %124, ptr noundef nonnull @.str, i32 noundef %123, i32 noundef %122) #3
  %126 = load ptr, ptr @stderr, align 8, !tbaa !9
  %127 = load i32, ptr @M, align 4, !tbaa !5
  %128 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %126, ptr noundef nonnull @.str.1, i32 noundef %127) #3
  %129 = load ptr, ptr @stderr, align 8, !tbaa !9
  %130 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %129, ptr noundef nonnull @.str.2) #3
  %131 = sub nsw i32 %123, %122
  ret i32 %131
}

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.vector.reduce.add.v4i32(<4 x i32>) #2

attributes #0 = { nofree 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 = { 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 #2 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #3 = { cold 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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}


; Effective O3 passes: GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LCSSAPass,LICMPass,LoopLoadEliminationPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass