; LLVM IR from aferikoglou/GenHLSOptimizer :: dataset/machsuite-gemm-ncubed (local_support)

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

%struct.bench_args_t = type { [4096 x double], [4096 x double], [4096 x double] }

; 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
define dso_local i32 @check_data(ptr noundef %0, ptr noundef %1) #1 {
  %3 = alloca ptr, align 8
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca i32, align 4
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca double, align 8
  store ptr %0, ptr %3, align 8, !tbaa !5
  store ptr %1, ptr %4, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %5) #2
  %11 = load ptr, ptr %3, align 8, !tbaa !5
  store ptr %11, ptr %5, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #2
  %12 = load ptr, ptr %4, align 8, !tbaa !5
  store ptr %12, ptr %6, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #2
  store i32 0, ptr %7, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #2
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #2
  store i32 0, ptr %8, align 4, !tbaa !9
  br label %13

13:                                               ; preds = %54, %2
  %14 = load i32, ptr %8, align 4, !tbaa !9
  %15 = icmp slt i32 %14, 64
  br i1 %15, label %16, label %57

16:                                               ; preds = %13
  store i32 0, ptr %9, align 4, !tbaa !9
  br label %17

17:                                               ; preds = %50, %16
  %18 = load i32, ptr %9, align 4, !tbaa !9
  %19 = icmp slt i32 %18, 64
  br i1 %19, label %20, label %53

20:                                               ; preds = %17
  %21 = load ptr, ptr %5, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.bench_args_t, ptr %21, i32 0, i32 2
  %23 = load i32, ptr %8, align 4, !tbaa !9
  %24 = mul nsw i32 %23, 64
  %25 = load i32, ptr %9, align 4, !tbaa !9
  %26 = add nsw i32 %24, %25
  %27 = sext i32 %26 to i64
  %28 = getelementptr inbounds [4096 x double], ptr %22, i64 0, i64 %27
  %29 = load double, ptr %28, align 8, !tbaa !11
  %30 = load ptr, ptr %6, align 8, !tbaa !5
  %31 = getelementptr inbounds %struct.bench_args_t, ptr %30, i32 0, i32 2
  %32 = load i32, ptr %8, align 4, !tbaa !9
  %33 = mul nsw i32 %32, 64
  %34 = load i32, ptr %9, align 4, !tbaa !9
  %35 = add nsw i32 %33, %34
  %36 = sext i32 %35 to i64
  %37 = getelementptr inbounds [4096 x double], ptr %31, i64 0, i64 %36
  %38 = load double, ptr %37, align 8, !tbaa !11
  %39 = fsub double %29, %38
  store double %39, ptr %10, align 8, !tbaa !11
  %40 = load double, ptr %10, align 8, !tbaa !11
  %41 = fcmp olt double %40, 0xBEB0C6F7A0B5ED8D
  br i1 %41, label %45, label %42

42:                                               ; preds = %20
  %43 = load double, ptr %10, align 8, !tbaa !11
  %44 = fcmp olt double 0x3EB0C6F7A0B5ED8D, %43
  br label %45

45:                                               ; preds = %42, %20
  %46 = phi i1 [ true, %20 ], [ %44, %42 ]
  %47 = zext i1 %46 to i32
  %48 = load i32, ptr %7, align 4, !tbaa !9
  %49 = or i32 %48, %47
  store i32 %49, ptr %7, align 4, !tbaa !9
  br label %50

50:                                               ; preds = %45
  %51 = load i32, ptr %9, align 4, !tbaa !9
  %52 = add nsw i32 %51, 1
  store i32 %52, ptr %9, align 4, !tbaa !9
  br label %17, !llvm.loop !13

53:                                               ; preds = %17
  br label %54

54:                                               ; preds = %53
  %55 = load i32, ptr %8, align 4, !tbaa !9
  %56 = add nsw i32 %55, 1
  store i32 %56, ptr %8, align 4, !tbaa !9
  br label %13, !llvm.loop !15

57:                                               ; preds = %13
  %58 = load i32, ptr %7, align 4, !tbaa !9
  %59 = icmp ne i32 %58, 0
  %60 = xor i1 %59, true
  %61 = zext i1 %60 to i32
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #2
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %5) #2
  ret i32 %61
}

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 = { 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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = distinct !{!13, !14}
!14 = !{!"llvm.loop.mustprogress"}
!15 = distinct !{!15, !14}


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

; Function Attrs: nofree norecurse nosync nounwind memory(argmem: read) uwtable
define dso_local range(i32 0, 2) i32 @check_data(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1) local_unnamed_addr #0 {
  %3 = getelementptr inbounds i8, ptr %0, i64 65536
  %4 = getelementptr inbounds i8, ptr %1, i64 65536
  br label %.preheader

.preheader:                                       ; preds = %2, %.preheader
  %indvars.iv22 = phi i64 [ 0, %2 ], [ %indvars.iv.next23, %.preheader ]
  %.020 = phi i32 [ 0, %2 ], [ %230, %.preheader ]
  %5 = insertelement <2 x i32> <i32 poison, i32 0>, i32 %.020, i64 0
  %6 = shl nuw nsw i64 %indvars.iv22, 6
  %7 = getelementptr inbounds [4096 x double], ptr %3, i64 0, i64 %6
  %8 = getelementptr inbounds i8, ptr %7, i64 16
  %wide.load = load <2 x double>, ptr %7, align 8, !tbaa !5
  %wide.load27 = load <2 x double>, ptr %8, align 8, !tbaa !5
  %9 = getelementptr inbounds [4096 x double], ptr %4, i64 0, i64 %6
  %10 = getelementptr inbounds i8, ptr %9, i64 16
  %wide.load28 = load <2 x double>, ptr %9, align 8, !tbaa !5
  %wide.load29 = load <2 x double>, ptr %10, align 8, !tbaa !5
  %11 = fsub <2 x double> %wide.load, %wide.load28
  %12 = fsub <2 x double> %wide.load27, %wide.load29
  %13 = tail call <2 x double> @llvm.fabs.v2f64(<2 x double> %11)
  %14 = tail call <2 x double> @llvm.fabs.v2f64(<2 x double> %12)
  %15 = fcmp ogt <2 x double> %13, <double 0x3EB0C6F7A0B5ED8D, double 0x3EB0C6F7A0B5ED8D>
  %16 = fcmp ogt <2 x double> %14, <double 0x3EB0C6F7A0B5ED8D, double 0x3EB0C6F7A0B5ED8D>
  %17 = zext <2 x i1> %15 to <2 x i32>
  %18 = or <2 x i32> %5, %17
  %19 = or disjoint i64 %6, 4
  %20 = getelementptr inbounds [4096 x double], ptr %3, i64 0, i64 %19
  %21 = getelementptr inbounds i8, ptr %20, i64 16
  %wide.load.1 = load <2 x double>, ptr %20, align 8, !tbaa !5
  %wide.load27.1 = load <2 x double>, ptr %21, align 8, !tbaa !5
  %22 = getelementptr inbounds [4096 x double], ptr %4, i64 0, i64 %19
  %23 = getelementptr inbounds i8, ptr %22, i64 16
  %wide.load28.1 = load <2 x double>, ptr %22, align 8, !tbaa !5
  %wide.load29.1 = load <2 x double>, ptr %23, align 8, !tbaa !5
  %24 = fsub <2 x double> %wide.load.1, %wide.load28.1
  %25 = fsub <2 x double> %wide.load27.1, %wide.load29.1
  %26 = tail call <2 x double> @llvm.fabs.v2f64(<2 x double> %24)
  %27 = tail call <2 x double> @llvm.fabs.v2f64(<2 x double> %25)
  %28 = fcmp ogt <2 x double> %26, <double 0x3EB0C6F7A0B5ED8D, double 0x3EB0C6F7A0B5ED8D>
  %29 = fcmp ogt <2 x double> %27, <double 0x3EB0C6F7A0B5ED8D, double 0x3EB0C6F7A0B5ED8D>
  %30 = zext <2 x i1> %28 to <2 x i32>
  %31 = or <2 x i32> %18, %30
  %32 = or <2 x i1> %16, %29
  %33 = or disjoint i64 %6, 8
  %34 = getelementptr inbounds [4096 x double], ptr %3, i64 0, i64 %33
  %35 = getelementptr inbounds i8, ptr %34, i64 16
  %wide.load.2 = load <2 x double>, ptr %34, align 8, !tbaa !5
  %wide.load27.2 = load <2 x double>, ptr %35, align 8, !tbaa !5
  %36 = getelementptr inbounds [4096 x double], ptr %4, i64 0, i64 %33
  %37 = getelementptr inbounds i8, ptr %36, i64 16
  %wide.load28.2 = load <2 x double>, ptr %36, align 8, !tbaa !5
  %wide.load29.2 = load <2 x double>, ptr %37, align 8, !tbaa !5
  %38 = fsub <2 x double> %wide.load.2, %wide.load28.2
  %39 = fsub <2 x double> %wide.load27.2, %wide.load29.2
  %40 = tail call <2 x double> @llvm.fabs.v2f64(<2 x double> %38)
  %41 = tail call <2 x double> @llvm.fabs.v2f64(<2 x double> %39)
  %42 = fcmp ogt <2 x double> %40, <double 0x3EB0C6F7A0B5ED8D, double 0x3EB0C6F7A0B5ED8D>
  %43 = fcmp ogt <2 x double> %41, <double 0x3EB0C6F7A0B5ED8D, double 0x3EB0C6F7A0B5ED8D>
  %44 = zext <2 x i1> %42 to <2 x i32>
  %45 = or <2 x i32> %31, %44
  %46 = or <2 x i1> %32, %43
  %47 = or disjoint i64 %6, 12
  %48 = getelementptr inbounds [4096 x double], ptr %3, i64 0, i64 %47
  %49 = getelementptr inbounds i8, ptr %48, i64 16
  %wide.load.3 = load <2 x double>, ptr %48, align 8, !tbaa !5
  %wide.load27.3 = load <2 x double>, ptr %49, align 8, !tbaa !5
  %50 = getelementptr inbounds [4096 x double], ptr %4, i64 0, i64 %47
  %51 = getelementptr inbounds i8, ptr %50, i64 16
  %wide.load28.3 = load <2 x double>, ptr %50, align 8, !tbaa !5
  %wide.load29.3 = load <2 x double>, ptr %51, align 8, !tbaa !5
  %52 = fsub <2 x double> %wide.load.3, %wide.load28.3
  %53 = fsub <2 x double> %wide.load27.3, %wide.load29.3
  %54 = tail call <2 x double> @llvm.fabs.v2f64(<2 x double> %52)
  %55 = tail call <2 x double> @llvm.fabs.v2f64(<2 x double> %53)
  %56 = fcmp ogt <2 x double> %54, <double 0x3EB0C6F7A0B5ED8D, double 0x3EB0C6F7A0B5ED8D>
  %57 = fcmp ogt <2 x double> %55, <double 0x3EB0C6F7A0B5ED8D, double 0x3EB0C6F7A0B5ED8D>
  %58 = zext <2 x i1> %56 to <2 x i32>
  %59 = or <2 x i32> %45, %58
  %60 = or <2 x i1> %46, %57
  %61 = or disjoint i64 %6, 16
  %62 = getelementptr inbounds [4096 x double], ptr %3, i64 0, i64 %61
  %63 = getelementptr inbounds i8, ptr %62, i64 16
  %wide.load.4 = load <2 x double>, ptr %62, align 8, !tbaa !5
  %wide.load27.4 = load <2 x double>, ptr %63, align 8, !tbaa !5
  %64 = getelementptr inbounds [4096 x double], ptr %4, i64 0, i64 %61
  %65 = getelementptr inbounds i8, ptr %64, i64 16
  %wide.load28.4 = load <2 x double>, ptr %64, align 8, !tbaa !5
  %wide.load29.4 = load <2 x double>, ptr %65, align 8, !tbaa !5
  %66 = fsub <2 x double> %wide.load.4, %wide.load28.4
  %67 = fsub <2 x double> %wide.load27.4, %wide.load29.4
  %68 = tail call <2 x double> @llvm.fabs.v2f64(<2 x double> %66)
  %69 = tail call <2 x double> @llvm.fabs.v2f64(<2 x double> %67)
  %70 = fcmp ogt <2 x double> %68, <double 0x3EB0C6F7A0B5ED8D, double 0x3EB0C6F7A0B5ED8D>
  %71 = fcmp ogt <2 x double> %69, <double 0x3EB0C6F7A0B5ED8D, double 0x3EB0C6F7A0B5ED8D>
  %72 = zext <2 x i1> %70 to <2 x i32>
  %73 = or <2 x i32> %59, %72
  %74 = or <2 x i1> %60, %71
  %75 = or disjoint i64 %6, 20
  %76 = getelementptr inbounds [4096 x double], ptr %3, i64 0, i64 %75
  %77 = getelementptr inbounds i8, ptr %76, i64 16
  %wide.load.5 = load <2 x double>, ptr %76, align 8, !tbaa !5
  %wide.load27.5 = load <2 x double>, ptr %77, align 8, !tbaa !5
  %78 = getelementptr inbounds [4096 x double], ptr %4, i64 0, i64 %75
  %79 = getelementptr inbounds i8, ptr %78, i64 16
  %wide.load28.5 = load <2 x double>, ptr %78, align 8, !tbaa !5
  %wide.load29.5 = load <2 x double>, ptr %79, align 8, !tbaa !5
  %80 = fsub <2 x double> %wide.load.5, %wide.load28.5
  %81 = fsub <2 x double> %wide.load27.5, %wide.load29.5
  %82 = tail call <2 x double> @llvm.fabs.v2f64(<2 x double> %80)
  %83 = tail call <2 x double> @llvm.fabs.v2f64(<2 x double> %81)
  %84 = fcmp ogt <2 x double> %82, <double 0x3EB0C6F7A0B5ED8D, double 0x3EB0C6F7A0B5ED8D>
  %85 = fcmp ogt <2 x double> %83, <double 0x3EB0C6F7A0B5ED8D, double 0x3EB0C6F7A0B5ED8D>
  %86 = zext <2 x i1> %84 to <2 x i32>
  %87 = or <2 x i32> %73, %86
  %88 = or <2 x i1> %74, %85
  %89 = or disjoint i64 %6, 24
  %90 = getelementptr inbounds [4096 x double], ptr %3, i64 0, i64 %89
  %91 = getelementptr inbounds i8, ptr %90, i64 16
  %wide.load.6 = load <2 x double>, ptr %90, align 8, !tbaa !5
  %wide.load27.6 = load <2 x double>, ptr %91, align 8, !tbaa !5
  %92 = getelementptr inbounds [4096 x double], ptr %4, i64 0, i64 %89
  %93 = getelementptr inbounds i8, ptr %92, i64 16
  %wide.load28.6 = load <2 x double>, ptr %92, align 8, !tbaa !5
  %wide.load29.6 = load <2 x double>, ptr %93, align 8, !tbaa !5
  %94 = fsub <2 x double> %wide.load.6, %wide.load28.6
  %95 = fsub <2 x double> %wide.load27.6, %wide.load29.6
  %96 = tail call <2 x double> @llvm.fabs.v2f64(<2 x double> %94)
  %97 = tail call <2 x double> @llvm.fabs.v2f64(<2 x double> %95)
  %98 = fcmp ogt <2 x double> %96, <double 0x3EB0C6F7A0B5ED8D, double 0x3EB0C6F7A0B5ED8D>
  %99 = fcmp ogt <2 x double> %97, <double 0x3EB0C6F7A0B5ED8D, double 0x3EB0C6F7A0B5ED8D>
  %100 = zext <2 x i1> %98 to <2 x i32>
  %101 = or <2 x i32> %87, %100
  %102 = or <2 x i1> %88, %99
  %103 = or disjoint i64 %6, 28
  %104 = getelementptr inbounds [4096 x double], ptr %3, i64 0, i64 %103
  %105 = getelementptr inbounds i8, ptr %104, i64 16
  %wide.load.7 = load <2 x double>, ptr %104, align 8, !tbaa !5
  %wide.load27.7 = load <2 x double>, ptr %105, align 8, !tbaa !5
  %106 = getelementptr inbounds [4096 x double], ptr %4, i64 0, i64 %103
  %107 = getelementptr inbounds i8, ptr %106, i64 16
  %wide.load28.7 = load <2 x double>, ptr %106, align 8, !tbaa !5
  %wide.load29.7 = load <2 x double>, ptr %107, align 8, !tbaa !5
  %108 = fsub <2 x double> %wide.load.7, %wide.load28.7
  %109 = fsub <2 x double> %wide.load27.7, %wide.load29.7
  %110 = tail call <2 x double> @llvm.fabs.v2f64(<2 x double> %108)
  %111 = tail call <2 x double> @llvm.fabs.v2f64(<2 x double> %109)
  %112 = fcmp ogt <2 x double> %110, <double 0x3EB0C6F7A0B5ED8D, double 0x3EB0C6F7A0B5ED8D>
  %113 = fcmp ogt <2 x double> %111, <double 0x3EB0C6F7A0B5ED8D, double 0x3EB0C6F7A0B5ED8D>
  %114 = zext <2 x i1> %112 to <2 x i32>
  %115 = or <2 x i32> %101, %114
  %116 = or <2 x i1> %102, %113
  %117 = or disjoint i64 %6, 32
  %118 = getelementptr inbounds [4096 x double], ptr %3, i64 0, i64 %117
  %119 = getelementptr inbounds i8, ptr %118, i64 16
  %wide.load.8 = load <2 x double>, ptr %118, align 8, !tbaa !5
  %wide.load27.8 = load <2 x double>, ptr %119, align 8, !tbaa !5
  %120 = getelementptr inbounds [4096 x double], ptr %4, i64 0, i64 %117
  %121 = getelementptr inbounds i8, ptr %120, i64 16
  %wide.load28.8 = load <2 x double>, ptr %120, align 8, !tbaa !5
  %wide.load29.8 = load <2 x double>, ptr %121, align 8, !tbaa !5
  %122 = fsub <2 x double> %wide.load.8, %wide.load28.8
  %123 = fsub <2 x double> %wide.load27.8, %wide.load29.8
  %124 = tail call <2 x double> @llvm.fabs.v2f64(<2 x double> %122)
  %125 = tail call <2 x double> @llvm.fabs.v2f64(<2 x double> %123)
  %126 = fcmp ogt <2 x double> %124, <double 0x3EB0C6F7A0B5ED8D, double 0x3EB0C6F7A0B5ED8D>
  %127 = fcmp ogt <2 x double> %125, <double 0x3EB0C6F7A0B5ED8D, double 0x3EB0C6F7A0B5ED8D>
  %128 = zext <2 x i1> %126 to <2 x i32>
  %129 = or <2 x i32> %115, %128
  %130 = or <2 x i1> %116, %127
  %131 = or disjoint i64 %6, 36
  %132 = getelementptr inbounds [4096 x double], ptr %3, i64 0, i64 %131
  %133 = getelementptr inbounds i8, ptr %132, i64 16
  %wide.load.9 = load <2 x double>, ptr %132, align 8, !tbaa !5
  %wide.load27.9 = load <2 x double>, ptr %133, align 8, !tbaa !5
  %134 = getelementptr inbounds [4096 x double], ptr %4, i64 0, i64 %131
  %135 = getelementptr inbounds i8, ptr %134, i64 16
  %wide.load28.9 = load <2 x double>, ptr %134, align 8, !tbaa !5
  %wide.load29.9 = load <2 x double>, ptr %135, align 8, !tbaa !5
  %136 = fsub <2 x double> %wide.load.9, %wide.load28.9
  %137 = fsub <2 x double> %wide.load27.9, %wide.load29.9
  %138 = tail call <2 x double> @llvm.fabs.v2f64(<2 x double> %136)
  %139 = tail call <2 x double> @llvm.fabs.v2f64(<2 x double> %137)
  %140 = fcmp ogt <2 x double> %138, <double 0x3EB0C6F7A0B5ED8D, double 0x3EB0C6F7A0B5ED8D>
  %141 = fcmp ogt <2 x double> %139, <double 0x3EB0C6F7A0B5ED8D, double 0x3EB0C6F7A0B5ED8D>
  %142 = zext <2 x i1> %140 to <2 x i32>
  %143 = or <2 x i32> %129, %142
  %144 = or <2 x i1> %130, %141
  %145 = or disjoint i64 %6, 40
  %146 = getelementptr inbounds [4096 x double], ptr %3, i64 0, i64 %145
  %147 = getelementptr inbounds i8, ptr %146, i64 16
  %wide.load.10 = load <2 x double>, ptr %146, align 8, !tbaa !5
  %wide.load27.10 = load <2 x double>, ptr %147, align 8, !tbaa !5
  %148 = getelementptr inbounds [4096 x double], ptr %4, i64 0, i64 %145
  %149 = getelementptr inbounds i8, ptr %148, i64 16
  %wide.load28.10 = load <2 x double>, ptr %148, align 8, !tbaa !5
  %wide.load29.10 = load <2 x double>, ptr %149, align 8, !tbaa !5
  %150 = fsub <2 x double> %wide.load.10, %wide.load28.10
  %151 = fsub <2 x double> %wide.load27.10, %wide.load29.10
  %152 = tail call <2 x double> @llvm.fabs.v2f64(<2 x double> %150)
  %153 = tail call <2 x double> @llvm.fabs.v2f64(<2 x double> %151)
  %154 = fcmp ogt <2 x double> %152, <double 0x3EB0C6F7A0B5ED8D, double 0x3EB0C6F7A0B5ED8D>
  %155 = fcmp ogt <2 x double> %153, <double 0x3EB0C6F7A0B5ED8D, double 0x3EB0C6F7A0B5ED8D>
  %156 = zext <2 x i1> %154 to <2 x i32>
  %157 = or <2 x i32> %143, %156
  %158 = or <2 x i1> %144, %155
  %159 = or disjoint i64 %6, 44
  %160 = getelementptr inbounds [4096 x double], ptr %3, i64 0, i64 %159
  %161 = getelementptr inbounds i8, ptr %160, i64 16
  %wide.load.11 = load <2 x double>, ptr %160, align 8, !tbaa !5
  %wide.load27.11 = load <2 x double>, ptr %161, align 8, !tbaa !5
  %162 = getelementptr inbounds [4096 x double], ptr %4, i64 0, i64 %159
  %163 = getelementptr inbounds i8, ptr %162, i64 16
  %wide.load28.11 = load <2 x double>, ptr %162, align 8, !tbaa !5
  %wide.load29.11 = load <2 x double>, ptr %163, align 8, !tbaa !5
  %164 = fsub <2 x double> %wide.load.11, %wide.load28.11
  %165 = fsub <2 x double> %wide.load27.11, %wide.load29.11
  %166 = tail call <2 x double> @llvm.fabs.v2f64(<2 x double> %164)
  %167 = tail call <2 x double> @llvm.fabs.v2f64(<2 x double> %165)
  %168 = fcmp ogt <2 x double> %166, <double 0x3EB0C6F7A0B5ED8D, double 0x3EB0C6F7A0B5ED8D>
  %169 = fcmp ogt <2 x double> %167, <double 0x3EB0C6F7A0B5ED8D, double 0x3EB0C6F7A0B5ED8D>
  %170 = zext <2 x i1> %168 to <2 x i32>
  %171 = or <2 x i32> %157, %170
  %172 = or <2 x i1> %158, %169
  %173 = or disjoint i64 %6, 48
  %174 = getelementptr inbounds [4096 x double], ptr %3, i64 0, i64 %173
  %175 = getelementptr inbounds i8, ptr %174, i64 16
  %wide.load.12 = load <2 x double>, ptr %174, align 8, !tbaa !5
  %wide.load27.12 = load <2 x double>, ptr %175, align 8, !tbaa !5
  %176 = getelementptr inbounds [4096 x double], ptr %4, i64 0, i64 %173
  %177 = getelementptr inbounds i8, ptr %176, i64 16
  %wide.load28.12 = load <2 x double>, ptr %176, align 8, !tbaa !5
  %wide.load29.12 = load <2 x double>, ptr %177, align 8, !tbaa !5
  %178 = fsub <2 x double> %wide.load.12, %wide.load28.12
  %179 = fsub <2 x double> %wide.load27.12, %wide.load29.12
  %180 = tail call <2 x double> @llvm.fabs.v2f64(<2 x double> %178)
  %181 = tail call <2 x double> @llvm.fabs.v2f64(<2 x double> %179)
  %182 = fcmp ogt <2 x double> %180, <double 0x3EB0C6F7A0B5ED8D, double 0x3EB0C6F7A0B5ED8D>
  %183 = fcmp ogt <2 x double> %181, <double 0x3EB0C6F7A0B5ED8D, double 0x3EB0C6F7A0B5ED8D>
  %184 = zext <2 x i1> %182 to <2 x i32>
  %185 = or <2 x i32> %171, %184
  %186 = or <2 x i1> %172, %183
  %187 = or disjoint i64 %6, 52
  %188 = getelementptr inbounds [4096 x double], ptr %3, i64 0, i64 %187
  %189 = getelementptr inbounds i8, ptr %188, i64 16
  %wide.load.13 = load <2 x double>, ptr %188, align 8, !tbaa !5
  %wide.load27.13 = load <2 x double>, ptr %189, align 8, !tbaa !5
  %190 = getelementptr inbounds [4096 x double], ptr %4, i64 0, i64 %187
  %191 = getelementptr inbounds i8, ptr %190, i64 16
  %wide.load28.13 = load <2 x double>, ptr %190, align 8, !tbaa !5
  %wide.load29.13 = load <2 x double>, ptr %191, align 8, !tbaa !5
  %192 = fsub <2 x double> %wide.load.13, %wide.load28.13
  %193 = fsub <2 x double> %wide.load27.13, %wide.load29.13
  %194 = tail call <2 x double> @llvm.fabs.v2f64(<2 x double> %192)
  %195 = tail call <2 x double> @llvm.fabs.v2f64(<2 x double> %193)
  %196 = fcmp ogt <2 x double> %194, <double 0x3EB0C6F7A0B5ED8D, double 0x3EB0C6F7A0B5ED8D>
  %197 = fcmp ogt <2 x double> %195, <double 0x3EB0C6F7A0B5ED8D, double 0x3EB0C6F7A0B5ED8D>
  %198 = zext <2 x i1> %196 to <2 x i32>
  %199 = or <2 x i32> %185, %198
  %200 = or <2 x i1> %186, %197
  %201 = or disjoint i64 %6, 56
  %202 = getelementptr inbounds [4096 x double], ptr %3, i64 0, i64 %201
  %203 = getelementptr inbounds i8, ptr %202, i64 16
  %wide.load.14 = load <2 x double>, ptr %202, align 8, !tbaa !5
  %wide.load27.14 = load <2 x double>, ptr %203, align 8, !tbaa !5
  %204 = getelementptr inbounds [4096 x double], ptr %4, i64 0, i64 %201
  %205 = getelementptr inbounds i8, ptr %204, i64 16
  %wide.load28.14 = load <2 x double>, ptr %204, align 8, !tbaa !5
  %wide.load29.14 = load <2 x double>, ptr %205, align 8, !tbaa !5
  %206 = fsub <2 x double> %wide.load.14, %wide.load28.14
  %207 = fsub <2 x double> %wide.load27.14, %wide.load29.14
  %208 = tail call <2 x double> @llvm.fabs.v2f64(<2 x double> %206)
  %209 = tail call <2 x double> @llvm.fabs.v2f64(<2 x double> %207)
  %210 = fcmp ogt <2 x double> %208, <double 0x3EB0C6F7A0B5ED8D, double 0x3EB0C6F7A0B5ED8D>
  %211 = fcmp ogt <2 x double> %209, <double 0x3EB0C6F7A0B5ED8D, double 0x3EB0C6F7A0B5ED8D>
  %212 = zext <2 x i1> %210 to <2 x i32>
  %213 = or <2 x i32> %199, %212
  %214 = or <2 x i1> %200, %211
  %215 = or disjoint i64 %6, 60
  %216 = getelementptr inbounds [4096 x double], ptr %3, i64 0, i64 %215
  %217 = getelementptr inbounds i8, ptr %216, i64 16
  %wide.load.15 = load <2 x double>, ptr %216, align 8, !tbaa !5
  %wide.load27.15 = load <2 x double>, ptr %217, align 8, !tbaa !5
  %218 = getelementptr inbounds [4096 x double], ptr %4, i64 0, i64 %215
  %219 = getelementptr inbounds i8, ptr %218, i64 16
  %wide.load28.15 = load <2 x double>, ptr %218, align 8, !tbaa !5
  %wide.load29.15 = load <2 x double>, ptr %219, align 8, !tbaa !5
  %220 = fsub <2 x double> %wide.load.15, %wide.load28.15
  %221 = fsub <2 x double> %wide.load27.15, %wide.load29.15
  %222 = tail call <2 x double> @llvm.fabs.v2f64(<2 x double> %220)
  %223 = tail call <2 x double> @llvm.fabs.v2f64(<2 x double> %221)
  %224 = fcmp ogt <2 x double> %222, <double 0x3EB0C6F7A0B5ED8D, double 0x3EB0C6F7A0B5ED8D>
  %225 = fcmp ogt <2 x double> %223, <double 0x3EB0C6F7A0B5ED8D, double 0x3EB0C6F7A0B5ED8D>
  %226 = zext <2 x i1> %224 to <2 x i32>
  %227 = or <2 x i32> %213, %226
  %228 = or <2 x i1> %214, %225
  %229 = zext <2 x i1> %228 to <2 x i32>
  %bin.rdx = or <2 x i32> %227, %229
  %230 = tail call i32 @llvm.vector.reduce.or.v2i32(<2 x i32> %bin.rdx)
  %indvars.iv.next23 = add nuw nsw i64 %indvars.iv22, 1
  %exitcond25.not = icmp eq i64 %indvars.iv.next23, 64
  br i1 %exitcond25.not, label %231, label %.preheader, !llvm.loop !9

231:                                              ; preds = %.preheader
  %.not = icmp eq i32 %230, 0
  %232 = zext i1 %.not to i32
  ret i32 %232
}

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <2 x double> @llvm.fabs.v2f64(<2 x double>) #1

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

attributes #0 = { nofree norecurse nosync nounwind memory(argmem: read) 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 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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}


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