; LLVM IR from OpenMathLib/OpenBLAS :: lapack-netlib/INSTALL (secondtst)

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

@.str = external hidden unnamed_addr constant [44 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [101 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [44 x i8], align 1
@c__1000 = external hidden global i32, align 4

; Function Attrs: nounwind uwtable
define dso_local i32 @main() #0 {
  %1 = alloca i32, align 4
  %2 = alloca float, align 4
  %3 = alloca i32, align 4
  %4 = alloca i32, align 4
  %5 = alloca float, align 4
  %6 = alloca [1000 x float], align 16
  %7 = alloca [1000 x float], align 16
  %8 = alloca float, align 4
  %9 = alloca float, align 4
  %10 = alloca float, align 4
  %11 = alloca float, align 4
  %12 = alloca float, align 4
  store i32 0, ptr %1, align 4
  call void @llvm.lifetime.start.p0(i64 4, ptr %2) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #4
  call void @llvm.lifetime.start.p0(i64 4000, ptr %6) #4
  call void @llvm.lifetime.start.p0(i64 4000, ptr %7) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #4
  store float 1.000000e+08, ptr %8, align 4, !tbaa !5
  store i32 1, ptr %3, align 4, !tbaa !9
  br label %13

13:                                               ; preds = %32, %0
  %14 = load i32, ptr %3, align 4, !tbaa !9
  %15 = icmp sle i32 %14, 1000
  br i1 %15, label %16, label %35

16:                                               ; preds = %13
  %17 = load i32, ptr %3, align 4, !tbaa !9
  %18 = sitofp i32 %17 to float
  %19 = fdiv float 1.000000e+00, %18
  %20 = load i32, ptr %3, align 4, !tbaa !9
  %21 = sub nsw i32 %20, 1
  %22 = sext i32 %21 to i64
  %23 = getelementptr inbounds [1000 x float], ptr %6, i64 0, i64 %22
  store float %19, ptr %23, align 4, !tbaa !5
  %24 = load i32, ptr %3, align 4, !tbaa !9
  %25 = sub nsw i32 1000, %24
  %26 = sitofp i32 %25 to float
  %27 = fdiv float %26, 1.000000e+03
  %28 = load i32, ptr %3, align 4, !tbaa !9
  %29 = sub nsw i32 %28, 1
  %30 = sext i32 %29 to i64
  %31 = getelementptr inbounds [1000 x float], ptr %7, i64 0, i64 %30
  store float %27, ptr %31, align 4, !tbaa !5
  br label %32

32:                                               ; preds = %16
  %33 = load i32, ptr %3, align 4, !tbaa !9
  %34 = add nsw i32 %33, 1
  store i32 %34, ptr %3, align 4, !tbaa !9
  br label %13, !llvm.loop !11

35:                                               ; preds = %13
  store float 0x3FD428F5C0000000, ptr %5, align 4, !tbaa !5
  %36 = call float @second_()
  store float %36, ptr %9, align 4, !tbaa !5
  store i32 1, ptr %4, align 4, !tbaa !9
  br label %37

37:                                               ; preds = %63, %35
  %38 = load i32, ptr %4, align 4, !tbaa !9
  %39 = icmp sle i32 %38, 50000
  br i1 %39, label %40, label %66

40:                                               ; preds = %37
  store i32 1, ptr %3, align 4, !tbaa !9
  br label %41

41:                                               ; preds = %57, %40
  %42 = load i32, ptr %3, align 4, !tbaa !9
  %43 = icmp sle i32 %42, 1000
  br i1 %43, label %44, label %60

44:                                               ; preds = %41
  %45 = load float, ptr %5, align 4, !tbaa !5
  %46 = load i32, ptr %3, align 4, !tbaa !9
  %47 = sub nsw i32 %46, 1
  %48 = sext i32 %47 to i64
  %49 = getelementptr inbounds [1000 x float], ptr %6, i64 0, i64 %48
  %50 = load float, ptr %49, align 4, !tbaa !5
  %51 = load i32, ptr %3, align 4, !tbaa !9
  %52 = sub nsw i32 %51, 1
  %53 = sext i32 %52 to i64
  %54 = getelementptr inbounds [1000 x float], ptr %7, i64 0, i64 %53
  %55 = load float, ptr %54, align 4, !tbaa !5
  %56 = call float @llvm.fmuladd.f32(float %45, float %50, float %55)
  store float %56, ptr %54, align 4, !tbaa !5
  br label %57

57:                                               ; preds = %44
  %58 = load i32, ptr %3, align 4, !tbaa !9
  %59 = add nsw i32 %58, 1
  store i32 %59, ptr %3, align 4, !tbaa !9
  br label %41, !llvm.loop !13

60:                                               ; preds = %41
  %61 = load float, ptr %5, align 4, !tbaa !5
  %62 = fneg float %61
  store float %62, ptr %5, align 4, !tbaa !5
  br label %63

63:                                               ; preds = %60
  %64 = load i32, ptr %4, align 4, !tbaa !9
  %65 = add nsw i32 %64, 1
  store i32 %65, ptr %4, align 4, !tbaa !9
  br label %37, !llvm.loop !14

66:                                               ; preds = %37
  %67 = call float @second_()
  store float %67, ptr %10, align 4, !tbaa !5
  %68 = load float, ptr %10, align 4, !tbaa !5
  %69 = load float, ptr %9, align 4, !tbaa !5
  %70 = fsub float %68, %69
  store float %70, ptr %11, align 4, !tbaa !5
  %71 = load float, ptr %8, align 4, !tbaa !5
  %72 = fpext float %71 to double
  %73 = load float, ptr %11, align 4, !tbaa !5
  %74 = fpext float %73 to double
  %75 = call i32 (ptr, ...) @printf(ptr noundef @.str, double noundef %72, double noundef %74)
  %76 = load float, ptr %11, align 4, !tbaa !5
  %77 = fcmp ogt float %76, 0.000000e+00
  br i1 %77, label %78, label %86

78:                                               ; preds = %66
  %79 = load float, ptr %8, align 4, !tbaa !5
  %80 = fpext float %79 to double
  %81 = fdiv double %80, 1.000000e+06
  %82 = load float, ptr %11, align 4, !tbaa !5
  %83 = fpext float %82 to double
  %84 = fdiv double %81, %83
  %85 = call i32 (ptr, ...) @printf(ptr noundef @.str.1, double noundef %84)
  br label %88

86:                                               ; preds = %66
  %87 = call i32 (ptr, ...) @printf(ptr noundef @.str.2)
  br label %88

88:                                               ; preds = %86, %78
  %89 = call float @second_()
  store float %89, ptr %9, align 4, !tbaa !5
  store i32 1, ptr %4, align 4, !tbaa !9
  br label %90

90:                                               ; preds = %117, %88
  %91 = load i32, ptr %4, align 4, !tbaa !9
  %92 = icmp sle i32 %91, 50000
  br i1 %92, label %93, label %120

93:                                               ; preds = %90
  store i32 1, ptr %3, align 4, !tbaa !9
  br label %94

94:                                               ; preds = %110, %93
  %95 = load i32, ptr %3, align 4, !tbaa !9
  %96 = icmp sle i32 %95, 1000
  br i1 %96, label %97, label %113

97:                                               ; preds = %94
  %98 = load float, ptr %5, align 4, !tbaa !5
  %99 = load i32, ptr %3, align 4, !tbaa !9
  %100 = sub nsw i32 %99, 1
  %101 = sext i32 %100 to i64
  %102 = getelementptr inbounds [1000 x float], ptr %6, i64 0, i64 %101
  %103 = load float, ptr %102, align 4, !tbaa !5
  %104 = load i32, ptr %3, align 4, !tbaa !9
  %105 = sub nsw i32 %104, 1
  %106 = sext i32 %105 to i64
  %107 = getelementptr inbounds [1000 x float], ptr %7, i64 0, i64 %106
  %108 = load float, ptr %107, align 4, !tbaa !5
  %109 = call float @llvm.fmuladd.f32(float %98, float %103, float %108)
  store float %109, ptr %107, align 4, !tbaa !5
  br label %110

110:                                              ; preds = %97
  %111 = load i32, ptr %3, align 4, !tbaa !9
  %112 = add nsw i32 %111, 1
  store i32 %112, ptr %3, align 4, !tbaa !9
  br label %94, !llvm.loop !15

113:                                              ; preds = %94
  %114 = load float, ptr %5, align 4, !tbaa !5
  %115 = fneg float %114
  store float %115, ptr %5, align 4, !tbaa !5
  %116 = call float @second_()
  store float %116, ptr %10, align 4, !tbaa !5
  br label %117

117:                                              ; preds = %113
  %118 = load i32, ptr %4, align 4, !tbaa !9
  %119 = add nsw i32 %118, 1
  store i32 %119, ptr %4, align 4, !tbaa !9
  br label %90, !llvm.loop !16

120:                                              ; preds = %90
  %121 = load float, ptr %10, align 4, !tbaa !5
  %122 = load float, ptr %9, align 4, !tbaa !5
  %123 = fsub float %121, %122
  %124 = fpext float %123 to double
  %125 = call i32 (ptr, ...) @printf(ptr noundef @.str.3, double noundef %124)
  %126 = load float, ptr %10, align 4, !tbaa !5
  %127 = load float, ptr %9, align 4, !tbaa !5
  %128 = fsub float %126, %127
  %129 = load float, ptr %11, align 4, !tbaa !5
  %130 = fsub float %128, %129
  %131 = fmul float %130, 1.000000e+03
  %132 = fdiv float %131, 5.000000e+04
  store float %132, ptr %12, align 4, !tbaa !5
  %133 = load float, ptr %12, align 4, !tbaa !5
  %134 = fcmp ogt float %133, 0.000000e+00
  br i1 %134, label %135, label %139

135:                                              ; preds = %120
  %136 = load float, ptr %12, align 4, !tbaa !5
  %137 = fpext float %136 to double
  %138 = call i32 (ptr, ...) @printf(ptr noundef @.str.4, double noundef %137)
  br label %139

139:                                              ; preds = %135, %120
  %140 = load float, ptr %12, align 4, !tbaa !5
  %141 = fcmp ogt float %140, 0.000000e+00
  br i1 %141, label %142, label %154

142:                                              ; preds = %139
  %143 = load float, ptr %11, align 4, !tbaa !5
  %144 = fcmp ogt float %143, 0.000000e+00
  br i1 %144, label %145, label %154

145:                                              ; preds = %142
  %146 = load float, ptr %12, align 4, !tbaa !5
  %147 = fdiv float %146, 1.000000e+03
  %148 = load float, ptr %8, align 4, !tbaa !5
  %149 = fmul float %147, %148
  %150 = load float, ptr %11, align 4, !tbaa !5
  %151 = fdiv float %149, %150
  %152 = fpext float %151 to double
  %153 = call i32 (ptr, ...) @printf(ptr noundef @.str.5, double noundef %152)
  br label %154

154:                                              ; preds = %145, %142, %139
  %155 = getelementptr inbounds [1000 x float], ptr %6, i64 0, i64 0
  %156 = getelementptr inbounds [1000 x float], ptr %7, i64 0, i64 0
  %157 = call i32 @mysub_(ptr noundef @c__1000, ptr noundef %155, ptr noundef %156)
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %11) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #4
  call void @llvm.lifetime.end.p0(i64 4000, ptr %7) #4
  call void @llvm.lifetime.end.p0(i64 4000, ptr %6) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #4
  call void @llvm.lifetime.end.p0(i64 4, ptr %2) #4
  ret i32 0
}

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

declare float @second_() #2

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare float @llvm.fmuladd.f32(float, float, float) #3

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @mysub_(ptr noundef, ptr noundef, ptr noundef) #0

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

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 = { "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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #4 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"float", !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 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}
!14 = distinct !{!14, !12}
!15 = distinct !{!15, !12}
!16 = distinct !{!16, !12}


; Optimized IR (opt -passes='default<O3>'):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

@.str = external hidden unnamed_addr constant [44 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [47 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [101 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [48 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [54 x i8], align 1
@.str.5 = external hidden unnamed_addr constant [44 x i8], align 1
@c__1000 = external hidden global i32, align 4

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @main() local_unnamed_addr #0 {
vector.ph:
  %0 = alloca [1000 x float], align 16
  %1 = alloca [1000 x float], align 16
  call void @llvm.lifetime.start.p0(i64 4000, ptr nonnull %0) #5
  call void @llvm.lifetime.start.p0(i64 4000, ptr nonnull %1) #5
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next.1, %vector.body ]
  %vec.ind = phi <4 x i32> [ <i32 1, i32 2, i32 3, i32 4>, %vector.ph ], [ %vec.ind.next.1, %vector.body ]
  %vec.ind72 = phi <4 x i32> [ <i32 1, i32 2, i32 3, i32 4>, %vector.ph ], [ %vec.ind.next73.1, %vector.body ]
  %2 = uitofp <4 x i32> %vec.ind to <4 x float>
  %3 = fdiv <4 x float> <float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00>, %2
  %4 = getelementptr inbounds [1000 x float], ptr %0, i64 0, i64 %index
  store <4 x float> %3, ptr %4, align 16, !tbaa !5
  %5 = sub <4 x i32> <i32 1000, i32 1000, i32 1000, i32 1000>, %vec.ind72
  %6 = uitofp <4 x i32> %5 to <4 x float>
  %7 = fdiv <4 x float> %6, <float 1.000000e+03, float 1.000000e+03, float 1.000000e+03, float 1.000000e+03>
  %8 = getelementptr inbounds [1000 x float], ptr %1, i64 0, i64 %index
  store <4 x float> %7, ptr %8, align 16, !tbaa !5
  %index.next = or disjoint i64 %index, 4
  %vec.ind.next = add <4 x i32> %vec.ind, <i32 4, i32 4, i32 4, i32 4>
  %9 = uitofp <4 x i32> %vec.ind.next to <4 x float>
  %10 = fdiv <4 x float> <float 1.000000e+00, float 1.000000e+00, float 1.000000e+00, float 1.000000e+00>, %9
  %11 = getelementptr inbounds [1000 x float], ptr %0, i64 0, i64 %index.next
  store <4 x float> %10, ptr %11, align 16, !tbaa !5
  %12 = sub <4 x i32> <i32 996, i32 996, i32 996, i32 996>, %vec.ind72
  %13 = uitofp <4 x i32> %12 to <4 x float>
  %14 = fdiv <4 x float> %13, <float 1.000000e+03, float 1.000000e+03, float 1.000000e+03, float 1.000000e+03>
  %15 = getelementptr inbounds [1000 x float], ptr %1, i64 0, i64 %index.next
  store <4 x float> %14, ptr %15, align 16, !tbaa !5
  %index.next.1 = add nuw nsw i64 %index, 8
  %vec.ind.next.1 = add <4 x i32> %vec.ind, <i32 8, i32 8, i32 8, i32 8>
  %vec.ind.next73.1 = add <4 x i32> %vec.ind72, <i32 8, i32 8, i32 8, i32 8>
  %16 = icmp eq i64 %index.next.1, 1000
  br i1 %16, label %middle.block, label %vector.body, !llvm.loop !9

middle.block:                                     ; preds = %vector.body
  %17 = tail call float @second_() #5
  br label %vector.ph76

vector.ph76:                                      ; preds = %middle.block74, %middle.block
  %.04154 = phi i32 [ 1, %middle.block ], [ %32, %middle.block74 ]
  %.04453 = phi float [ 0x3FD428F5C0000000, %middle.block ], [ %31, %middle.block74 ]
  %broadcast.splatinsert = insertelement <4 x float> poison, float %.04453, i64 0
  %broadcast.splat = shufflevector <4 x float> %broadcast.splatinsert, <4 x float> poison, <4 x i32> zeroinitializer
  br label %vector.body78

vector.body78:                                    ; preds = %vector.body78.1, %vector.ph76
  %index79 = phi i64 [ 0, %vector.ph76 ], [ %index.next84.1, %vector.body78.1 ]
  %18 = getelementptr inbounds [1000 x float], ptr %0, i64 0, i64 %index79
  %19 = getelementptr inbounds i8, ptr %18, i64 16
  %wide.load = load <4 x float>, ptr %18, align 16, !tbaa !5
  %wide.load81 = load <4 x float>, ptr %19, align 16, !tbaa !5
  %20 = getelementptr inbounds [1000 x float], ptr %1, i64 0, i64 %index79
  %21 = getelementptr inbounds i8, ptr %20, i64 16
  %wide.load82 = load <4 x float>, ptr %20, align 16, !tbaa !5
  %wide.load83 = load <4 x float>, ptr %21, align 16, !tbaa !5
  %22 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %broadcast.splat, <4 x float> %wide.load, <4 x float> %wide.load82)
  %23 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %broadcast.splat, <4 x float> %wide.load81, <4 x float> %wide.load83)
  store <4 x float> %22, ptr %20, align 16, !tbaa !5
  store <4 x float> %23, ptr %21, align 16, !tbaa !5
  %24 = icmp eq i64 %index79, 992
  br i1 %24, label %middle.block74, label %vector.body78.1, !llvm.loop !13

vector.body78.1:                                  ; preds = %vector.body78
  %index.next84 = or disjoint i64 %index79, 8
  %25 = getelementptr inbounds [1000 x float], ptr %0, i64 0, i64 %index.next84
  %26 = getelementptr inbounds i8, ptr %25, i64 16
  %wide.load.1 = load <4 x float>, ptr %25, align 16, !tbaa !5
  %wide.load81.1 = load <4 x float>, ptr %26, align 16, !tbaa !5
  %27 = getelementptr inbounds [1000 x float], ptr %1, i64 0, i64 %index.next84
  %28 = getelementptr inbounds i8, ptr %27, i64 16
  %wide.load82.1 = load <4 x float>, ptr %27, align 16, !tbaa !5
  %wide.load83.1 = load <4 x float>, ptr %28, align 16, !tbaa !5
  %29 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %broadcast.splat, <4 x float> %wide.load.1, <4 x float> %wide.load82.1)
  %30 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %broadcast.splat, <4 x float> %wide.load81.1, <4 x float> %wide.load83.1)
  store <4 x float> %29, ptr %27, align 16, !tbaa !5
  store <4 x float> %30, ptr %28, align 16, !tbaa !5
  %index.next84.1 = add nuw nsw i64 %index79, 16
  br label %vector.body78

middle.block74:                                   ; preds = %vector.body78
  %31 = fneg float %.04453
  %32 = add nuw nsw i32 %.04154, 1
  %exitcond64.not = icmp eq i32 %32, 50001
  br i1 %exitcond64.not, label %33, label %vector.ph76, !llvm.loop !14

33:                                               ; preds = %middle.block74
  %34 = tail call float @second_() #5
  %35 = fsub float %34, %17
  %36 = fpext float %35 to double
  %37 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str, double noundef 1.000000e+08, double noundef %36)
  %38 = fcmp ogt float %35, 0.000000e+00
  br i1 %38, label %39, label %42

39:                                               ; preds = %33
  %40 = fdiv double 1.000000e+02, %36
  %41 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.1, double noundef %40)
  br label %44

42:                                               ; preds = %33
  %43 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.2)
  br label %44

44:                                               ; preds = %42, %39
  %45 = tail call float @second_() #5
  br label %vector.ph87

vector.ph87:                                      ; preds = %middle.block85, %44
  %.14257 = phi i32 [ 1, %44 ], [ %61, %middle.block85 ]
  %.14556 = phi float [ %31, %44 ], [ %59, %middle.block85 ]
  %broadcast.splatinsert96 = insertelement <4 x float> poison, float %.14556, i64 0
  %broadcast.splat97 = shufflevector <4 x float> %broadcast.splatinsert96, <4 x float> poison, <4 x i32> zeroinitializer
  br label %vector.body89

vector.body89:                                    ; preds = %vector.body89.1, %vector.ph87
  %index90 = phi i64 [ 0, %vector.ph87 ], [ %index.next98.1, %vector.body89.1 ]
  %46 = getelementptr inbounds [1000 x float], ptr %0, i64 0, i64 %index90
  %47 = getelementptr inbounds i8, ptr %46, i64 16
  %wide.load92 = load <4 x float>, ptr %46, align 16, !tbaa !5
  %wide.load93 = load <4 x float>, ptr %47, align 16, !tbaa !5
  %48 = getelementptr inbounds [1000 x float], ptr %1, i64 0, i64 %index90
  %49 = getelementptr inbounds i8, ptr %48, i64 16
  %wide.load94 = load <4 x float>, ptr %48, align 16, !tbaa !5
  %wide.load95 = load <4 x float>, ptr %49, align 16, !tbaa !5
  %50 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %broadcast.splat97, <4 x float> %wide.load92, <4 x float> %wide.load94)
  %51 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %broadcast.splat97, <4 x float> %wide.load93, <4 x float> %wide.load95)
  store <4 x float> %50, ptr %48, align 16, !tbaa !5
  store <4 x float> %51, ptr %49, align 16, !tbaa !5
  %52 = icmp eq i64 %index90, 992
  br i1 %52, label %middle.block85, label %vector.body89.1, !llvm.loop !15

vector.body89.1:                                  ; preds = %vector.body89
  %index.next98 = or disjoint i64 %index90, 8
  %53 = getelementptr inbounds [1000 x float], ptr %0, i64 0, i64 %index.next98
  %54 = getelementptr inbounds i8, ptr %53, i64 16
  %wide.load92.1 = load <4 x float>, ptr %53, align 16, !tbaa !5
  %wide.load93.1 = load <4 x float>, ptr %54, align 16, !tbaa !5
  %55 = getelementptr inbounds [1000 x float], ptr %1, i64 0, i64 %index.next98
  %56 = getelementptr inbounds i8, ptr %55, i64 16
  %wide.load94.1 = load <4 x float>, ptr %55, align 16, !tbaa !5
  %wide.load95.1 = load <4 x float>, ptr %56, align 16, !tbaa !5
  %57 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %broadcast.splat97, <4 x float> %wide.load92.1, <4 x float> %wide.load94.1)
  %58 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %broadcast.splat97, <4 x float> %wide.load93.1, <4 x float> %wide.load95.1)
  store <4 x float> %57, ptr %55, align 16, !tbaa !5
  store <4 x float> %58, ptr %56, align 16, !tbaa !5
  %index.next98.1 = add nuw nsw i64 %index90, 16
  br label %vector.body89

middle.block85:                                   ; preds = %vector.body89
  %59 = fneg float %.14556
  %60 = tail call float @second_() #5
  %61 = add nuw nsw i32 %.14257, 1
  %exitcond69.not = icmp eq i32 %61, 50001
  br i1 %exitcond69.not, label %62, label %vector.ph87, !llvm.loop !16

62:                                               ; preds = %middle.block85
  %63 = fsub float %60, %45
  %64 = fpext float %63 to double
  %65 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.3, double noundef %64)
  %66 = fsub float %63, %35
  %67 = fmul float %66, 1.000000e+03
  %68 = fdiv float %67, 5.000000e+04
  %69 = fcmp ogt float %68, 0.000000e+00
  br i1 %69, label %70, label %.thread

70:                                               ; preds = %62
  %71 = fpext float %68 to double
  %72 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.4, double noundef %71)
  br i1 %38, label %73, label %.thread

73:                                               ; preds = %70
  %74 = fdiv float %68, 1.000000e+03
  %75 = fmul float %74, 1.000000e+08
  %76 = fdiv float %75, %35
  %77 = fpext float %76 to double
  %78 = tail call i32 (ptr, ...) @printf(ptr noundef nonnull dereferenceable(1) @.str.5, double noundef %77)
  br label %.thread

.thread:                                          ; preds = %62, %73, %70
  %79 = call i32 @mysub_(ptr noundef nonnull @c__1000, ptr noundef nonnull %0, ptr noundef nonnull %1)
  call void @llvm.lifetime.end.p0(i64 4000, ptr nonnull %1) #5
  call void @llvm.lifetime.end.p0(i64 4000, ptr nonnull %0) #5
  ret i32 0
}

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

declare float @second_() local_unnamed_addr #2

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

; Function Attrs: nounwind uwtable
declare dso_local i32 @mysub_(ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #0

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

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare <4 x float> @llvm.fmuladd.v4f32(<4 x float>, <4 x float>, <4 x float>) #4

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 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #3 = { 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 #4 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { nounwind }

!llvm.module.flags = !{!0, !1, !2, !3}
!llvm.ident = !{!4}

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"float", !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, !11, !12}
!14 = distinct !{!14, !10}
!15 = distinct !{!15, !10, !11, !12}
!16 = distinct !{!16, !10}


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