; LLVM IR from aferikoglou/GenHLSOptimizer :: dataset/machsuite-backprop (backprop)

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

; 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 void @add_bias_to_activations(ptr noundef %0, ptr noundef %1, i32 noundef %2) #1 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca i32, align 4
  %7 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store i32 %2, ptr %6, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #2
  br label %8

8:                                                ; preds = %3
  store i32 0, ptr %7, align 4, !tbaa !9
  br label %9

9:                                                ; preds = %28, %8
  %10 = load i32, ptr %7, align 4, !tbaa !9
  %11 = icmp slt i32 %10, 100
  br i1 %11, label %12, label %31

12:                                               ; preds = %9
  %13 = load ptr, ptr %5, align 8, !tbaa !5
  %14 = load i32, ptr %7, align 4, !tbaa !9
  %15 = sext i32 %14 to i64
  %16 = getelementptr inbounds double, ptr %13, i64 %15
  %17 = load double, ptr %16, align 8, !tbaa !11
  %18 = load ptr, ptr %4, align 8, !tbaa !5
  %19 = load i32, ptr %7, align 4, !tbaa !9
  %20 = sext i32 %19 to i64
  %21 = getelementptr inbounds double, ptr %18, i64 %20
  %22 = load double, ptr %21, align 8, !tbaa !11
  %23 = fadd double %17, %22
  %24 = load ptr, ptr %5, align 8, !tbaa !5
  %25 = load i32, ptr %7, align 4, !tbaa !9
  %26 = sext i32 %25 to i64
  %27 = getelementptr inbounds double, ptr %24, i64 %26
  store double %23, ptr %27, align 8, !tbaa !11
  br label %28

28:                                               ; preds = %12
  %29 = load i32, ptr %7, align 4, !tbaa !9
  %30 = add nsw i32 %29, 1
  store i32 %30, ptr %7, align 4, !tbaa !9
  br label %9, !llvm.loop !13

31:                                               ; preds = %9
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #2
  ret void
}

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


; 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: readwrite) uwtable
define dso_local void @add_bias_to_activations(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, i32 noundef %2) local_unnamed_addr #0 {
vector.memcheck:
  %scevgep = getelementptr i8, ptr %1, i64 800
  %scevgep9 = getelementptr i8, ptr %0, i64 800
  %bound0 = icmp ugt ptr %scevgep9, %1
  %bound1 = icmp ugt ptr %scevgep, %0
  %found.conflict = and i1 %bound0, %bound1
  br i1 %found.conflict, label %scalar.ph, label %vector.body

vector.body:                                      ; preds = %vector.memcheck
  %3 = getelementptr inbounds i8, ptr %1, i64 16
  %wide.load = load <2 x double>, ptr %1, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %wide.load10 = load <2 x double>, ptr %3, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %4 = getelementptr inbounds i8, ptr %0, i64 16
  %wide.load11 = load <2 x double>, ptr %0, align 8, !tbaa !5, !alias.scope !12
  %wide.load12 = load <2 x double>, ptr %4, align 8, !tbaa !5, !alias.scope !12
  %5 = fadd <2 x double> %wide.load, %wide.load11
  %6 = fadd <2 x double> %wide.load10, %wide.load12
  store <2 x double> %5, ptr %1, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  store <2 x double> %6, ptr %3, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %7 = getelementptr inbounds i8, ptr %1, i64 32
  %8 = getelementptr inbounds i8, ptr %1, i64 48
  %wide.load.1 = load <2 x double>, ptr %7, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %wide.load10.1 = load <2 x double>, ptr %8, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %9 = getelementptr inbounds i8, ptr %0, i64 32
  %10 = getelementptr inbounds i8, ptr %0, i64 48
  %wide.load11.1 = load <2 x double>, ptr %9, align 8, !tbaa !5, !alias.scope !12
  %wide.load12.1 = load <2 x double>, ptr %10, align 8, !tbaa !5, !alias.scope !12
  %11 = fadd <2 x double> %wide.load.1, %wide.load11.1
  %12 = fadd <2 x double> %wide.load10.1, %wide.load12.1
  store <2 x double> %11, ptr %7, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  store <2 x double> %12, ptr %8, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %13 = getelementptr inbounds i8, ptr %1, i64 64
  %14 = getelementptr inbounds i8, ptr %1, i64 80
  %wide.load.2 = load <2 x double>, ptr %13, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %wide.load10.2 = load <2 x double>, ptr %14, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %15 = getelementptr inbounds i8, ptr %0, i64 64
  %16 = getelementptr inbounds i8, ptr %0, i64 80
  %wide.load11.2 = load <2 x double>, ptr %15, align 8, !tbaa !5, !alias.scope !12
  %wide.load12.2 = load <2 x double>, ptr %16, align 8, !tbaa !5, !alias.scope !12
  %17 = fadd <2 x double> %wide.load.2, %wide.load11.2
  %18 = fadd <2 x double> %wide.load10.2, %wide.load12.2
  store <2 x double> %17, ptr %13, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  store <2 x double> %18, ptr %14, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %19 = getelementptr inbounds i8, ptr %1, i64 96
  %20 = getelementptr inbounds i8, ptr %1, i64 112
  %wide.load.3 = load <2 x double>, ptr %19, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %wide.load10.3 = load <2 x double>, ptr %20, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %21 = getelementptr inbounds i8, ptr %0, i64 96
  %22 = getelementptr inbounds i8, ptr %0, i64 112
  %wide.load11.3 = load <2 x double>, ptr %21, align 8, !tbaa !5, !alias.scope !12
  %wide.load12.3 = load <2 x double>, ptr %22, align 8, !tbaa !5, !alias.scope !12
  %23 = fadd <2 x double> %wide.load.3, %wide.load11.3
  %24 = fadd <2 x double> %wide.load10.3, %wide.load12.3
  store <2 x double> %23, ptr %19, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  store <2 x double> %24, ptr %20, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %25 = getelementptr inbounds i8, ptr %1, i64 128
  %26 = getelementptr inbounds i8, ptr %1, i64 144
  %wide.load.4 = load <2 x double>, ptr %25, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %wide.load10.4 = load <2 x double>, ptr %26, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %27 = getelementptr inbounds i8, ptr %0, i64 128
  %28 = getelementptr inbounds i8, ptr %0, i64 144
  %wide.load11.4 = load <2 x double>, ptr %27, align 8, !tbaa !5, !alias.scope !12
  %wide.load12.4 = load <2 x double>, ptr %28, align 8, !tbaa !5, !alias.scope !12
  %29 = fadd <2 x double> %wide.load.4, %wide.load11.4
  %30 = fadd <2 x double> %wide.load10.4, %wide.load12.4
  store <2 x double> %29, ptr %25, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  store <2 x double> %30, ptr %26, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %31 = getelementptr inbounds i8, ptr %1, i64 160
  %32 = getelementptr inbounds i8, ptr %1, i64 176
  %wide.load.5 = load <2 x double>, ptr %31, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %wide.load10.5 = load <2 x double>, ptr %32, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %33 = getelementptr inbounds i8, ptr %0, i64 160
  %34 = getelementptr inbounds i8, ptr %0, i64 176
  %wide.load11.5 = load <2 x double>, ptr %33, align 8, !tbaa !5, !alias.scope !12
  %wide.load12.5 = load <2 x double>, ptr %34, align 8, !tbaa !5, !alias.scope !12
  %35 = fadd <2 x double> %wide.load.5, %wide.load11.5
  %36 = fadd <2 x double> %wide.load10.5, %wide.load12.5
  store <2 x double> %35, ptr %31, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  store <2 x double> %36, ptr %32, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %37 = getelementptr inbounds i8, ptr %1, i64 192
  %38 = getelementptr inbounds i8, ptr %1, i64 208
  %wide.load.6 = load <2 x double>, ptr %37, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %wide.load10.6 = load <2 x double>, ptr %38, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %39 = getelementptr inbounds i8, ptr %0, i64 192
  %40 = getelementptr inbounds i8, ptr %0, i64 208
  %wide.load11.6 = load <2 x double>, ptr %39, align 8, !tbaa !5, !alias.scope !12
  %wide.load12.6 = load <2 x double>, ptr %40, align 8, !tbaa !5, !alias.scope !12
  %41 = fadd <2 x double> %wide.load.6, %wide.load11.6
  %42 = fadd <2 x double> %wide.load10.6, %wide.load12.6
  store <2 x double> %41, ptr %37, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  store <2 x double> %42, ptr %38, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %43 = getelementptr inbounds i8, ptr %1, i64 224
  %44 = getelementptr inbounds i8, ptr %1, i64 240
  %wide.load.7 = load <2 x double>, ptr %43, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %wide.load10.7 = load <2 x double>, ptr %44, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %45 = getelementptr inbounds i8, ptr %0, i64 224
  %46 = getelementptr inbounds i8, ptr %0, i64 240
  %wide.load11.7 = load <2 x double>, ptr %45, align 8, !tbaa !5, !alias.scope !12
  %wide.load12.7 = load <2 x double>, ptr %46, align 8, !tbaa !5, !alias.scope !12
  %47 = fadd <2 x double> %wide.load.7, %wide.load11.7
  %48 = fadd <2 x double> %wide.load10.7, %wide.load12.7
  store <2 x double> %47, ptr %43, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  store <2 x double> %48, ptr %44, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %49 = getelementptr inbounds i8, ptr %1, i64 256
  %50 = getelementptr inbounds i8, ptr %1, i64 272
  %wide.load.8 = load <2 x double>, ptr %49, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %wide.load10.8 = load <2 x double>, ptr %50, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %51 = getelementptr inbounds i8, ptr %0, i64 256
  %52 = getelementptr inbounds i8, ptr %0, i64 272
  %wide.load11.8 = load <2 x double>, ptr %51, align 8, !tbaa !5, !alias.scope !12
  %wide.load12.8 = load <2 x double>, ptr %52, align 8, !tbaa !5, !alias.scope !12
  %53 = fadd <2 x double> %wide.load.8, %wide.load11.8
  %54 = fadd <2 x double> %wide.load10.8, %wide.load12.8
  store <2 x double> %53, ptr %49, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  store <2 x double> %54, ptr %50, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %55 = getelementptr inbounds i8, ptr %1, i64 288
  %56 = getelementptr inbounds i8, ptr %1, i64 304
  %wide.load.9 = load <2 x double>, ptr %55, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %wide.load10.9 = load <2 x double>, ptr %56, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %57 = getelementptr inbounds i8, ptr %0, i64 288
  %58 = getelementptr inbounds i8, ptr %0, i64 304
  %wide.load11.9 = load <2 x double>, ptr %57, align 8, !tbaa !5, !alias.scope !12
  %wide.load12.9 = load <2 x double>, ptr %58, align 8, !tbaa !5, !alias.scope !12
  %59 = fadd <2 x double> %wide.load.9, %wide.load11.9
  %60 = fadd <2 x double> %wide.load10.9, %wide.load12.9
  store <2 x double> %59, ptr %55, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  store <2 x double> %60, ptr %56, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %61 = getelementptr inbounds i8, ptr %1, i64 320
  %62 = getelementptr inbounds i8, ptr %1, i64 336
  %wide.load.10 = load <2 x double>, ptr %61, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %wide.load10.10 = load <2 x double>, ptr %62, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %63 = getelementptr inbounds i8, ptr %0, i64 320
  %64 = getelementptr inbounds i8, ptr %0, i64 336
  %wide.load11.10 = load <2 x double>, ptr %63, align 8, !tbaa !5, !alias.scope !12
  %wide.load12.10 = load <2 x double>, ptr %64, align 8, !tbaa !5, !alias.scope !12
  %65 = fadd <2 x double> %wide.load.10, %wide.load11.10
  %66 = fadd <2 x double> %wide.load10.10, %wide.load12.10
  store <2 x double> %65, ptr %61, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  store <2 x double> %66, ptr %62, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %67 = getelementptr inbounds i8, ptr %1, i64 352
  %68 = getelementptr inbounds i8, ptr %1, i64 368
  %wide.load.11 = load <2 x double>, ptr %67, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %wide.load10.11 = load <2 x double>, ptr %68, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %69 = getelementptr inbounds i8, ptr %0, i64 352
  %70 = getelementptr inbounds i8, ptr %0, i64 368
  %wide.load11.11 = load <2 x double>, ptr %69, align 8, !tbaa !5, !alias.scope !12
  %wide.load12.11 = load <2 x double>, ptr %70, align 8, !tbaa !5, !alias.scope !12
  %71 = fadd <2 x double> %wide.load.11, %wide.load11.11
  %72 = fadd <2 x double> %wide.load10.11, %wide.load12.11
  store <2 x double> %71, ptr %67, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  store <2 x double> %72, ptr %68, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %73 = getelementptr inbounds i8, ptr %1, i64 384
  %74 = getelementptr inbounds i8, ptr %1, i64 400
  %wide.load.12 = load <2 x double>, ptr %73, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %wide.load10.12 = load <2 x double>, ptr %74, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %75 = getelementptr inbounds i8, ptr %0, i64 384
  %76 = getelementptr inbounds i8, ptr %0, i64 400
  %wide.load11.12 = load <2 x double>, ptr %75, align 8, !tbaa !5, !alias.scope !12
  %wide.load12.12 = load <2 x double>, ptr %76, align 8, !tbaa !5, !alias.scope !12
  %77 = fadd <2 x double> %wide.load.12, %wide.load11.12
  %78 = fadd <2 x double> %wide.load10.12, %wide.load12.12
  store <2 x double> %77, ptr %73, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  store <2 x double> %78, ptr %74, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %79 = getelementptr inbounds i8, ptr %1, i64 416
  %80 = getelementptr inbounds i8, ptr %1, i64 432
  %wide.load.13 = load <2 x double>, ptr %79, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %wide.load10.13 = load <2 x double>, ptr %80, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %81 = getelementptr inbounds i8, ptr %0, i64 416
  %82 = getelementptr inbounds i8, ptr %0, i64 432
  %wide.load11.13 = load <2 x double>, ptr %81, align 8, !tbaa !5, !alias.scope !12
  %wide.load12.13 = load <2 x double>, ptr %82, align 8, !tbaa !5, !alias.scope !12
  %83 = fadd <2 x double> %wide.load.13, %wide.load11.13
  %84 = fadd <2 x double> %wide.load10.13, %wide.load12.13
  store <2 x double> %83, ptr %79, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  store <2 x double> %84, ptr %80, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %85 = getelementptr inbounds i8, ptr %1, i64 448
  %86 = getelementptr inbounds i8, ptr %1, i64 464
  %wide.load.14 = load <2 x double>, ptr %85, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %wide.load10.14 = load <2 x double>, ptr %86, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %87 = getelementptr inbounds i8, ptr %0, i64 448
  %88 = getelementptr inbounds i8, ptr %0, i64 464
  %wide.load11.14 = load <2 x double>, ptr %87, align 8, !tbaa !5, !alias.scope !12
  %wide.load12.14 = load <2 x double>, ptr %88, align 8, !tbaa !5, !alias.scope !12
  %89 = fadd <2 x double> %wide.load.14, %wide.load11.14
  %90 = fadd <2 x double> %wide.load10.14, %wide.load12.14
  store <2 x double> %89, ptr %85, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  store <2 x double> %90, ptr %86, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %91 = getelementptr inbounds i8, ptr %1, i64 480
  %92 = getelementptr inbounds i8, ptr %1, i64 496
  %wide.load.15 = load <2 x double>, ptr %91, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %wide.load10.15 = load <2 x double>, ptr %92, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %93 = getelementptr inbounds i8, ptr %0, i64 480
  %94 = getelementptr inbounds i8, ptr %0, i64 496
  %wide.load11.15 = load <2 x double>, ptr %93, align 8, !tbaa !5, !alias.scope !12
  %wide.load12.15 = load <2 x double>, ptr %94, align 8, !tbaa !5, !alias.scope !12
  %95 = fadd <2 x double> %wide.load.15, %wide.load11.15
  %96 = fadd <2 x double> %wide.load10.15, %wide.load12.15
  store <2 x double> %95, ptr %91, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  store <2 x double> %96, ptr %92, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %97 = getelementptr inbounds i8, ptr %1, i64 512
  %98 = getelementptr inbounds i8, ptr %1, i64 528
  %wide.load.16 = load <2 x double>, ptr %97, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %wide.load10.16 = load <2 x double>, ptr %98, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %99 = getelementptr inbounds i8, ptr %0, i64 512
  %100 = getelementptr inbounds i8, ptr %0, i64 528
  %wide.load11.16 = load <2 x double>, ptr %99, align 8, !tbaa !5, !alias.scope !12
  %wide.load12.16 = load <2 x double>, ptr %100, align 8, !tbaa !5, !alias.scope !12
  %101 = fadd <2 x double> %wide.load.16, %wide.load11.16
  %102 = fadd <2 x double> %wide.load10.16, %wide.load12.16
  store <2 x double> %101, ptr %97, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  store <2 x double> %102, ptr %98, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %103 = getelementptr inbounds i8, ptr %1, i64 544
  %104 = getelementptr inbounds i8, ptr %1, i64 560
  %wide.load.17 = load <2 x double>, ptr %103, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %wide.load10.17 = load <2 x double>, ptr %104, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %105 = getelementptr inbounds i8, ptr %0, i64 544
  %106 = getelementptr inbounds i8, ptr %0, i64 560
  %wide.load11.17 = load <2 x double>, ptr %105, align 8, !tbaa !5, !alias.scope !12
  %wide.load12.17 = load <2 x double>, ptr %106, align 8, !tbaa !5, !alias.scope !12
  %107 = fadd <2 x double> %wide.load.17, %wide.load11.17
  %108 = fadd <2 x double> %wide.load10.17, %wide.load12.17
  store <2 x double> %107, ptr %103, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  store <2 x double> %108, ptr %104, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %109 = getelementptr inbounds i8, ptr %1, i64 576
  %110 = getelementptr inbounds i8, ptr %1, i64 592
  %wide.load.18 = load <2 x double>, ptr %109, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %wide.load10.18 = load <2 x double>, ptr %110, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %111 = getelementptr inbounds i8, ptr %0, i64 576
  %112 = getelementptr inbounds i8, ptr %0, i64 592
  %wide.load11.18 = load <2 x double>, ptr %111, align 8, !tbaa !5, !alias.scope !12
  %wide.load12.18 = load <2 x double>, ptr %112, align 8, !tbaa !5, !alias.scope !12
  %113 = fadd <2 x double> %wide.load.18, %wide.load11.18
  %114 = fadd <2 x double> %wide.load10.18, %wide.load12.18
  store <2 x double> %113, ptr %109, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  store <2 x double> %114, ptr %110, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %115 = getelementptr inbounds i8, ptr %1, i64 608
  %116 = getelementptr inbounds i8, ptr %1, i64 624
  %wide.load.19 = load <2 x double>, ptr %115, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %wide.load10.19 = load <2 x double>, ptr %116, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %117 = getelementptr inbounds i8, ptr %0, i64 608
  %118 = getelementptr inbounds i8, ptr %0, i64 624
  %wide.load11.19 = load <2 x double>, ptr %117, align 8, !tbaa !5, !alias.scope !12
  %wide.load12.19 = load <2 x double>, ptr %118, align 8, !tbaa !5, !alias.scope !12
  %119 = fadd <2 x double> %wide.load.19, %wide.load11.19
  %120 = fadd <2 x double> %wide.load10.19, %wide.load12.19
  store <2 x double> %119, ptr %115, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  store <2 x double> %120, ptr %116, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %121 = getelementptr inbounds i8, ptr %1, i64 640
  %122 = getelementptr inbounds i8, ptr %1, i64 656
  %wide.load.20 = load <2 x double>, ptr %121, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %wide.load10.20 = load <2 x double>, ptr %122, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %123 = getelementptr inbounds i8, ptr %0, i64 640
  %124 = getelementptr inbounds i8, ptr %0, i64 656
  %wide.load11.20 = load <2 x double>, ptr %123, align 8, !tbaa !5, !alias.scope !12
  %wide.load12.20 = load <2 x double>, ptr %124, align 8, !tbaa !5, !alias.scope !12
  %125 = fadd <2 x double> %wide.load.20, %wide.load11.20
  %126 = fadd <2 x double> %wide.load10.20, %wide.load12.20
  store <2 x double> %125, ptr %121, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  store <2 x double> %126, ptr %122, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %127 = getelementptr inbounds i8, ptr %1, i64 672
  %128 = getelementptr inbounds i8, ptr %1, i64 688
  %wide.load.21 = load <2 x double>, ptr %127, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %wide.load10.21 = load <2 x double>, ptr %128, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %129 = getelementptr inbounds i8, ptr %0, i64 672
  %130 = getelementptr inbounds i8, ptr %0, i64 688
  %wide.load11.21 = load <2 x double>, ptr %129, align 8, !tbaa !5, !alias.scope !12
  %wide.load12.21 = load <2 x double>, ptr %130, align 8, !tbaa !5, !alias.scope !12
  %131 = fadd <2 x double> %wide.load.21, %wide.load11.21
  %132 = fadd <2 x double> %wide.load10.21, %wide.load12.21
  store <2 x double> %131, ptr %127, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  store <2 x double> %132, ptr %128, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %133 = getelementptr inbounds i8, ptr %1, i64 704
  %134 = getelementptr inbounds i8, ptr %1, i64 720
  %wide.load.22 = load <2 x double>, ptr %133, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %wide.load10.22 = load <2 x double>, ptr %134, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %135 = getelementptr inbounds i8, ptr %0, i64 704
  %136 = getelementptr inbounds i8, ptr %0, i64 720
  %wide.load11.22 = load <2 x double>, ptr %135, align 8, !tbaa !5, !alias.scope !12
  %wide.load12.22 = load <2 x double>, ptr %136, align 8, !tbaa !5, !alias.scope !12
  %137 = fadd <2 x double> %wide.load.22, %wide.load11.22
  %138 = fadd <2 x double> %wide.load10.22, %wide.load12.22
  store <2 x double> %137, ptr %133, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  store <2 x double> %138, ptr %134, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %139 = getelementptr inbounds i8, ptr %1, i64 736
  %140 = getelementptr inbounds i8, ptr %1, i64 752
  %wide.load.23 = load <2 x double>, ptr %139, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %wide.load10.23 = load <2 x double>, ptr %140, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %141 = getelementptr inbounds i8, ptr %0, i64 736
  %142 = getelementptr inbounds i8, ptr %0, i64 752
  %wide.load11.23 = load <2 x double>, ptr %141, align 8, !tbaa !5, !alias.scope !12
  %wide.load12.23 = load <2 x double>, ptr %142, align 8, !tbaa !5, !alias.scope !12
  %143 = fadd <2 x double> %wide.load.23, %wide.load11.23
  %144 = fadd <2 x double> %wide.load10.23, %wide.load12.23
  store <2 x double> %143, ptr %139, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  store <2 x double> %144, ptr %140, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %145 = getelementptr inbounds i8, ptr %1, i64 768
  %146 = getelementptr inbounds i8, ptr %1, i64 784
  %wide.load.24 = load <2 x double>, ptr %145, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %wide.load10.24 = load <2 x double>, ptr %146, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  %147 = getelementptr inbounds i8, ptr %0, i64 768
  %148 = getelementptr inbounds i8, ptr %0, i64 784
  %wide.load11.24 = load <2 x double>, ptr %147, align 8, !tbaa !5, !alias.scope !12
  %wide.load12.24 = load <2 x double>, ptr %148, align 8, !tbaa !5, !alias.scope !12
  %149 = fadd <2 x double> %wide.load.24, %wide.load11.24
  %150 = fadd <2 x double> %wide.load10.24, %wide.load12.24
  store <2 x double> %149, ptr %145, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  store <2 x double> %150, ptr %146, align 8, !tbaa !5, !alias.scope !9, !noalias !12
  br label %middle.block

scalar.ph:                                        ; preds = %vector.memcheck, %scalar.ph
  %indvars.iv = phi i64 [ %indvars.iv.next.3, %scalar.ph ], [ 0, %vector.memcheck ]
  %151 = getelementptr inbounds double, ptr %1, i64 %indvars.iv
  %152 = load double, ptr %151, align 8, !tbaa !5
  %153 = getelementptr inbounds double, ptr %0, i64 %indvars.iv
  %154 = load double, ptr %153, align 8, !tbaa !5
  %155 = fadd double %152, %154
  store double %155, ptr %151, align 8, !tbaa !5
  %indvars.iv.next = or disjoint i64 %indvars.iv, 1
  %156 = getelementptr inbounds double, ptr %1, i64 %indvars.iv.next
  %157 = load double, ptr %156, align 8, !tbaa !5
  %158 = getelementptr inbounds double, ptr %0, i64 %indvars.iv.next
  %159 = load double, ptr %158, align 8, !tbaa !5
  %160 = fadd double %157, %159
  store double %160, ptr %156, align 8, !tbaa !5
  %indvars.iv.next.1 = or disjoint i64 %indvars.iv, 2
  %161 = getelementptr inbounds double, ptr %1, i64 %indvars.iv.next.1
  %162 = load double, ptr %161, align 8, !tbaa !5
  %163 = getelementptr inbounds double, ptr %0, i64 %indvars.iv.next.1
  %164 = load double, ptr %163, align 8, !tbaa !5
  %165 = fadd double %162, %164
  store double %165, ptr %161, align 8, !tbaa !5
  %indvars.iv.next.2 = or disjoint i64 %indvars.iv, 3
  %166 = getelementptr inbounds double, ptr %1, i64 %indvars.iv.next.2
  %167 = load double, ptr %166, align 8, !tbaa !5
  %168 = getelementptr inbounds double, ptr %0, i64 %indvars.iv.next.2
  %169 = load double, ptr %168, align 8, !tbaa !5
  %170 = fadd double %167, %169
  store double %170, ptr %166, align 8, !tbaa !5
  %indvars.iv.next.3 = add nuw nsw i64 %indvars.iv, 4
  %exitcond.not.3 = icmp eq i64 %indvars.iv.next.3, 100
  br i1 %exitcond.not.3, label %middle.block, label %scalar.ph, !llvm.loop !14

middle.block:                                     ; preds = %scalar.ph, %vector.body
  ret void
}

attributes #0 = { nofree norecurse nosync nounwind memory(argmem: readwrite) 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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10}
!10 = distinct !{!10, !11}
!11 = distinct !{!11, !"LVerDomain"}
!12 = !{!13}
!13 = distinct !{!13, !11}
!14 = distinct !{!14, !15, !16}
!15 = !{!"llvm.loop.mustprogress"}
!16 = !{!"llvm.loop.isvectorized", i32 1}


; Effective O3 passes: EarlyCSEPass,GlobalOptPass,IndVarSimplifyPass,InferFunctionAttrsPass,InstCombinePass,LoopLoadEliminationPass,LoopRotatePass,LoopUnrollPass,LoopVectorizePass,PostOrderFunctionAttrsPass,SROAPass,SimplifyCFGPass