; LLVM IR from Dev-XYS/Algorithms :: Gaussian-Elimination.ll (Z20gaussian_eliminationv)

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

@n = external dso_local global i32, align 4
@a = external dso_local global [15 x [15 x double]], align 16
@s = external dso_local global [15 x double], align 16

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

8:                                                ; preds = %68, %0
  %9 = load i32, ptr %1, align 4, !tbaa !5
  %10 = load i32, ptr @n, align 4, !tbaa !5
  %11 = icmp slt i32 %9, %10
  br i1 %11, label %13, label %12

12:                                               ; preds = %8
  store i32 2, ptr %2, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %1) #3
  br label %71

13:                                               ; preds = %8
  call void @llvm.lifetime.start.p0(i64 4, ptr %3) #3
  %14 = load i32, ptr %1, align 4, !tbaa !5
  %15 = add nsw i32 %14, 1
  store i32 %15, ptr %3, align 4, !tbaa !5
  br label %16

16:                                               ; preds = %64, %13
  %17 = load i32, ptr %3, align 4, !tbaa !5
  %18 = load i32, ptr @n, align 4, !tbaa !5
  %19 = icmp slt i32 %17, %18
  br i1 %19, label %21, label %20

20:                                               ; preds = %16
  store i32 5, ptr %2, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %3) #3
  br label %67

21:                                               ; preds = %16
  call void @llvm.lifetime.start.p0(i64 4, ptr %4) #3
  %22 = load i32, ptr @n, align 4, !tbaa !5
  store i32 %22, ptr %4, align 4, !tbaa !5
  br label %23

23:                                               ; preds = %60, %21
  %24 = load i32, ptr %4, align 4, !tbaa !5
  %25 = load i32, ptr %1, align 4, !tbaa !5
  %26 = icmp sge i32 %24, %25
  br i1 %26, label %28, label %27

27:                                               ; preds = %23
  store i32 8, ptr %2, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %4) #3
  br label %63

28:                                               ; preds = %23
  %29 = load i32, ptr %1, align 4, !tbaa !5
  %30 = sext i32 %29 to i64
  %31 = getelementptr inbounds [15 x [15 x double]], ptr @a, i64 0, i64 %30
  %32 = load i32, ptr %4, align 4, !tbaa !5
  %33 = sext i32 %32 to i64
  %34 = getelementptr inbounds [15 x double], ptr %31, i64 0, i64 %33
  %35 = load double, ptr %34, align 8, !tbaa !9
  %36 = load i32, ptr %3, align 4, !tbaa !5
  %37 = sext i32 %36 to i64
  %38 = getelementptr inbounds [15 x [15 x double]], ptr @a, i64 0, i64 %37
  %39 = load i32, ptr %1, align 4, !tbaa !5
  %40 = sext i32 %39 to i64
  %41 = getelementptr inbounds [15 x double], ptr %38, i64 0, i64 %40
  %42 = load double, ptr %41, align 8, !tbaa !9
  %43 = load i32, ptr %1, align 4, !tbaa !5
  %44 = sext i32 %43 to i64
  %45 = getelementptr inbounds [15 x [15 x double]], ptr @a, i64 0, i64 %44
  %46 = load i32, ptr %1, align 4, !tbaa !5
  %47 = sext i32 %46 to i64
  %48 = getelementptr inbounds [15 x double], ptr %45, i64 0, i64 %47
  %49 = load double, ptr %48, align 8, !tbaa !9
  %50 = fdiv double %42, %49
  %51 = load i32, ptr %3, align 4, !tbaa !5
  %52 = sext i32 %51 to i64
  %53 = getelementptr inbounds [15 x [15 x double]], ptr @a, i64 0, i64 %52
  %54 = load i32, ptr %4, align 4, !tbaa !5
  %55 = sext i32 %54 to i64
  %56 = getelementptr inbounds [15 x double], ptr %53, i64 0, i64 %55
  %57 = load double, ptr %56, align 8, !tbaa !9
  %58 = fneg double %35
  %59 = call double @llvm.fmuladd.f64(double %58, double %50, double %57)
  store double %59, ptr %56, align 8, !tbaa !9
  br label %60

60:                                               ; preds = %28
  %61 = load i32, ptr %4, align 4, !tbaa !5
  %62 = add nsw i32 %61, -1
  store i32 %62, ptr %4, align 4, !tbaa !5
  br label %23, !llvm.loop !11

63:                                               ; preds = %27
  br label %64

64:                                               ; preds = %63
  %65 = load i32, ptr %3, align 4, !tbaa !5
  %66 = add nsw i32 %65, 1
  store i32 %66, ptr %3, align 4, !tbaa !5
  br label %16, !llvm.loop !13

67:                                               ; preds = %20
  br label %68

68:                                               ; preds = %67
  %69 = load i32, ptr %1, align 4, !tbaa !5
  %70 = add nsw i32 %69, 1
  store i32 %70, ptr %1, align 4, !tbaa !5
  br label %8, !llvm.loop !14

71:                                               ; preds = %12
  call void @llvm.lifetime.start.p0(i64 4, ptr %5) #3
  %72 = load i32, ptr @n, align 4, !tbaa !5
  %73 = sub nsw i32 %72, 1
  store i32 %73, ptr %5, align 4, !tbaa !5
  br label %74

74:                                               ; preds = %124, %71
  %75 = load i32, ptr %5, align 4, !tbaa !5
  %76 = icmp sge i32 %75, 0
  br i1 %76, label %78, label %77

77:                                               ; preds = %74
  store i32 11, ptr %2, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %5) #3
  br label %127

78:                                               ; preds = %74
  call void @llvm.lifetime.start.p0(i64 8, ptr %6) #3
  %79 = load i32, ptr %5, align 4, !tbaa !5
  %80 = sext i32 %79 to i64
  %81 = getelementptr inbounds [15 x [15 x double]], ptr @a, i64 0, i64 %80
  %82 = load i32, ptr @n, align 4, !tbaa !5
  %83 = sext i32 %82 to i64
  %84 = getelementptr inbounds [15 x double], ptr %81, i64 0, i64 %83
  %85 = load double, ptr %84, align 8, !tbaa !9
  store double %85, ptr %6, align 8, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %7) #3
  %86 = load i32, ptr @n, align 4, !tbaa !5
  %87 = sub nsw i32 %86, 1
  store i32 %87, ptr %7, align 4, !tbaa !5
  br label %88

88:                                               ; preds = %108, %78
  %89 = load i32, ptr %7, align 4, !tbaa !5
  %90 = load i32, ptr %5, align 4, !tbaa !5
  %91 = icmp sgt i32 %89, %90
  br i1 %91, label %93, label %92

92:                                               ; preds = %88
  store i32 14, ptr %2, align 4
  call void @llvm.lifetime.end.p0(i64 4, ptr %7) #3
  br label %111

93:                                               ; preds = %88
  %94 = load i32, ptr %5, align 4, !tbaa !5
  %95 = sext i32 %94 to i64
  %96 = getelementptr inbounds [15 x [15 x double]], ptr @a, i64 0, i64 %95
  %97 = load i32, ptr %7, align 4, !tbaa !5
  %98 = sext i32 %97 to i64
  %99 = getelementptr inbounds [15 x double], ptr %96, i64 0, i64 %98
  %100 = load double, ptr %99, align 8, !tbaa !9
  %101 = load i32, ptr %7, align 4, !tbaa !5
  %102 = sext i32 %101 to i64
  %103 = getelementptr inbounds [15 x double], ptr @s, i64 0, i64 %102
  %104 = load double, ptr %103, align 8, !tbaa !9
  %105 = load double, ptr %6, align 8, !tbaa !9
  %106 = fneg double %100
  %107 = call double @llvm.fmuladd.f64(double %106, double %104, double %105)
  store double %107, ptr %6, align 8, !tbaa !9
  br label %108

108:                                              ; preds = %93
  %109 = load i32, ptr %7, align 4, !tbaa !5
  %110 = add nsw i32 %109, -1
  store i32 %110, ptr %7, align 4, !tbaa !5
  br label %88, !llvm.loop !15

111:                                              ; preds = %92
  %112 = load double, ptr %6, align 8, !tbaa !9
  %113 = load i32, ptr %5, align 4, !tbaa !5
  %114 = sext i32 %113 to i64
  %115 = getelementptr inbounds [15 x [15 x double]], ptr @a, i64 0, i64 %114
  %116 = load i32, ptr %5, align 4, !tbaa !5
  %117 = sext i32 %116 to i64
  %118 = getelementptr inbounds [15 x double], ptr %115, i64 0, i64 %117
  %119 = load double, ptr %118, align 8, !tbaa !9
  %120 = fdiv double %112, %119
  %121 = load i32, ptr %5, align 4, !tbaa !5
  %122 = sext i32 %121 to i64
  %123 = getelementptr inbounds [15 x double], ptr @s, i64 0, i64 %122
  store double %120, ptr %123, align 8, !tbaa !9
  call void @llvm.lifetime.end.p0(i64 8, ptr %6) #3
  br label %124

124:                                              ; preds = %111
  %125 = load i32, ptr %5, align 4, !tbaa !5
  %126 = add nsw i32 %125, -1
  store i32 %126, ptr %5, align 4, !tbaa !5
  br label %74, !llvm.loop !16

127:                                              ; preds = %77
  ret void
}

; 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 speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #2

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

attributes #0 = { mustprogress 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 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !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"

@n = external dso_local local_unnamed_addr global i32, align 4
@a = external dso_local local_unnamed_addr global [15 x [15 x double]], align 16
@s = external dso_local local_unnamed_addr global [15 x double], align 16

; Function Attrs: mustprogress nofree norecurse nosync nounwind memory(readwrite, argmem: none, inaccessiblemem: none) uwtable
define dso_local void @_Z20gaussian_eliminationv() local_unnamed_addr #0 {
  %1 = load i32, ptr @n, align 4, !tbaa !5
  %2 = icmp sgt i32 %1, 0
  br i1 %2, label %.lr.ph.preheader, label %._crit_edge52

.lr.ph.preheader:                                 ; preds = %0
  %3 = zext nneg i32 %1 to i64
  %wide.trip.count63 = zext nneg i32 %1 to i64
  %4 = shl nuw nsw i64 %3, 3
  %5 = mul nuw nsw i64 %3, 120
  %6 = shl nuw nsw i64 %3, 7
  %7 = getelementptr i8, ptr @a, i64 %6
  %scevgep74 = getelementptr i8, ptr %7, i64 -112
  %8 = shl nuw nsw i64 %3, 3
  %9 = add nuw nsw i64 %3, 1
  %10 = getelementptr i8, ptr @a, i64 %5
  %11 = getelementptr i8, ptr %10, i64 -112
  %12 = getelementptr i8, ptr @a, i64 %8
  %13 = getelementptr i8, ptr %12, i64 8
  %14 = getelementptr i8, ptr @a, i64 %4
  %15 = getelementptr i8, ptr @a, i64 %4
  %16 = getelementptr i8, ptr %15, i64 120
  br label %.lr.ph

.loopexit:                                        ; preds = %._crit_edge, %.lr.ph
  %indvars.iv.next56 = add nuw nsw i64 %indvars.iv55, 1
  %exitcond64.not = icmp eq i64 %indvars.iv.next61, %wide.trip.count63
  br i1 %exitcond64.not, label %.preheader, label %.lr.ph, !llvm.loop !9

.preheader:                                       ; preds = %.loopexit
  br i1 %2, label %.lr.ph51, label %._crit_edge52

.lr.ph51:                                         ; preds = %.preheader
  %17 = zext nneg i32 %1 to i64
  %18 = zext nneg i32 %1 to i64
  br label %53

.lr.ph:                                           ; preds = %.lr.ph.preheader, %.loopexit
  %indvars.iv60 = phi i64 [ 0, %.lr.ph.preheader ], [ %indvars.iv.next61, %.loopexit ]
  %indvars.iv55 = phi i64 [ 1, %.lr.ph.preheader ], [ %indvars.iv.next56, %.loopexit ]
  %19 = sub nsw i64 %9, %indvars.iv60
  %20 = shl nuw nsw i64 %indvars.iv60, 7
  %21 = or disjoint i64 %20, 120
  %scevgep72 = getelementptr i8, ptr @a, i64 %21
  %22 = shl nuw nsw i64 %indvars.iv60, 3
  %scevgep73 = getelementptr i8, ptr %11, i64 %22
  %scevgep75 = getelementptr i8, ptr @a, i64 %20
  %23 = or disjoint i64 %20, 8
  %scevgep76 = getelementptr i8, ptr @a, i64 %23
  %24 = mul nuw nsw i64 %indvars.iv60, 120
  %scevgep77 = getelementptr i8, ptr %13, i64 %24
  %25 = sub nsw i64 %3, %indvars.iv60
  %26 = mul nuw nsw i64 %indvars.iv60, 120
  %scevgep68 = getelementptr i8, ptr %14, i64 %26
  %indvars.iv.next61 = add nuw nsw i64 %indvars.iv60, 1
  %27 = icmp ult i64 %indvars.iv.next61, %3
  br i1 %27, label %.preheader36.preheader, label %.loopexit

.preheader36.preheader:                           ; preds = %.lr.ph
  %28 = getelementptr inbounds [15 x [15 x double]], ptr @a, i64 0, i64 %indvars.iv60, i64 %indvars.iv60
  %min.iters.check = icmp ult i64 %19, 4
  %29 = getelementptr i8, ptr %16, i64 %26
  %mul.result.neg = mul i64 %25, -8
  %mul.result70.neg = mul i64 %25, -8
  %mul.overflow71 = icmp ugt i64 %25, 2305843009213693951
  %30 = getelementptr i8, ptr %scevgep68, i64 %mul.result70.neg
  %31 = icmp ugt ptr %30, %scevgep68
  %32 = or i1 %31, %mul.overflow71
  %bound0 = icmp ult ptr %scevgep72, %scevgep74
  %bound1 = icmp ult ptr %scevgep72, %scevgep73
  %found.conflict = and i1 %bound0, %bound1
  %bound078 = icmp ult ptr %scevgep75, %scevgep74
  %bound179 = icmp ult ptr %scevgep72, %scevgep76
  %found.conflict80 = and i1 %bound078, %bound179
  %conflict.rdx = or i1 %found.conflict, %found.conflict80
  %bound081 = icmp ult ptr %scevgep72, %scevgep77
  %bound182 = icmp ult ptr %scevgep75, %scevgep74
  %found.conflict83 = and i1 %bound081, %bound182
  %conflict.rdx84 = or i1 %conflict.rdx, %found.conflict83
  %n.vec = and i64 %19, -2
  %ind.end = sub i64 %3, %n.vec
  %cmp.n = icmp eq i64 %19, %n.vec
  br label %.preheader36

.preheader36:                                     ; preds = %.preheader36.preheader, %._crit_edge
  %indvar = phi i64 [ 0, %.preheader36.preheader ], [ %indvar.next, %._crit_edge ]
  %indvars.iv57 = phi i64 [ %indvars.iv55, %.preheader36.preheader ], [ %indvars.iv.next58, %._crit_edge ]
  %33 = getelementptr inbounds [15 x [15 x double]], ptr @a, i64 0, i64 %indvars.iv57, i64 %indvars.iv60
  br i1 %min.iters.check, label %scalar.ph.preheader, label %vector.scevcheck

scalar.ph.preheader:                              ; preds = %vector.scevcheck, %middle.block, %.preheader36
  %indvars.iv.ph = phi i64 [ %3, %vector.scevcheck ], [ %3, %.preheader36 ], [ %ind.end, %middle.block ]
  br label %scalar.ph

vector.scevcheck:                                 ; preds = %.preheader36
  %34 = mul i64 %indvar, 120
  %scevgep = getelementptr i8, ptr %29, i64 %34
  %35 = getelementptr i8, ptr %scevgep, i64 %mul.result.neg
  %36 = icmp ugt ptr %35, %scevgep
  %37 = or i1 %36, %32
  %brmerge = select i1 %37, i1 true, i1 %conflict.rdx84
  br i1 %brmerge, label %scalar.ph.preheader, label %vector.ph

vector.ph:                                        ; preds = %vector.scevcheck
  %38 = load double, ptr %33, align 8, !tbaa !11, !alias.scope !13, !noalias !16
  %39 = load double, ptr %28, align 8, !tbaa !11, !alias.scope !18, !noalias !16
  %.scalar = fdiv double %38, %39
  %40 = insertelement <2 x double> poison, double %.scalar, i64 0
  %41 = shufflevector <2 x double> %40, <2 x double> poison, <2 x i32> zeroinitializer
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %offset.idx = sub i64 %3, %index
  %gep = getelementptr [15 x [15 x double]], ptr getelementptr (i8, ptr @a, i64 -8), i64 0, i64 %indvars.iv60, i64 %offset.idx
  %wide.load = load <2 x double>, ptr %gep, align 8, !tbaa !11, !alias.scope !20
  %gep90 = getelementptr [15 x [15 x double]], ptr getelementptr (i8, ptr @a, i64 -8), i64 0, i64 %indvars.iv57, i64 %offset.idx
  %wide.load87 = load <2 x double>, ptr %gep90, align 8, !tbaa !11, !alias.scope !16, !noalias !20
  %42 = fneg <2 x double> %wide.load
  %reverse89 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %42, <2 x double> %41, <2 x double> %wide.load87)
  store <2 x double> %reverse89, ptr %gep90, align 8, !tbaa !11, !alias.scope !16, !noalias !20
  %index.next = add nuw i64 %index, 2
  %43 = icmp eq i64 %index.next, %n.vec
  br i1 %43, label %middle.block, label %vector.body, !llvm.loop !22

middle.block:                                     ; preds = %vector.body
  br i1 %cmp.n, label %._crit_edge, label %scalar.ph.preheader

._crit_edge:                                      ; preds = %scalar.ph, %middle.block
  %indvars.iv.next58 = add nuw nsw i64 %indvars.iv57, 1
  %exitcond.not = icmp eq i64 %indvars.iv.next58, %wide.trip.count63
  %indvar.next = add i64 %indvar, 1
  br i1 %exitcond.not, label %.loopexit, label %.preheader36, !llvm.loop !25

scalar.ph:                                        ; preds = %scalar.ph.preheader, %scalar.ph
  %indvars.iv = phi i64 [ %indvars.iv.next, %scalar.ph ], [ %indvars.iv.ph, %scalar.ph.preheader ]
  %44 = getelementptr inbounds [15 x [15 x double]], ptr @a, i64 0, i64 %indvars.iv60, i64 %indvars.iv
  %45 = load double, ptr %44, align 8, !tbaa !11
  %46 = load double, ptr %33, align 8, !tbaa !11
  %47 = load double, ptr %28, align 8, !tbaa !11
  %48 = fdiv double %46, %47
  %49 = getelementptr inbounds [15 x [15 x double]], ptr @a, i64 0, i64 %indvars.iv57, i64 %indvars.iv
  %50 = load double, ptr %49, align 8, !tbaa !11
  %51 = fneg double %45
  %52 = tail call double @llvm.fmuladd.f64(double %51, double %48, double %50)
  store double %52, ptr %49, align 8, !tbaa !11
  %indvars.iv.next = add nsw i64 %indvars.iv, -1
  %.not.not = icmp sgt i64 %indvars.iv, %indvars.iv60
  br i1 %.not.not, label %scalar.ph, label %._crit_edge, !llvm.loop !26

._crit_edge52:                                    ; preds = %._crit_edge46, %0, %.preheader
  ret void

53:                                               ; preds = %.lr.ph51, %._crit_edge46
  %indvars.iv65 = phi i64 [ %17, %.lr.ph51 ], [ %indvars.iv.next66, %._crit_edge46 ]
  %indvars.iv.next66 = add nsw i64 %indvars.iv65, -1
  %54 = getelementptr inbounds [15 x [15 x double]], ptr @a, i64 0, i64 %indvars.iv.next66, i64 %17
  %55 = load double, ptr %54, align 8, !tbaa !11
  %56 = icmp slt i64 %indvars.iv65, %18
  br i1 %56, label %.lr.ph45, label %._crit_edge46

._crit_edge46:                                    ; preds = %.lr.ph45, %53
  %.029.lcssa = phi double [ %55, %53 ], [ %68, %.lr.ph45 ]
  %57 = getelementptr inbounds [15 x [15 x double]], ptr @a, i64 0, i64 %indvars.iv.next66, i64 %indvars.iv.next66
  %58 = load double, ptr %57, align 8, !tbaa !11
  %59 = fdiv double %.029.lcssa, %58
  %60 = getelementptr inbounds [15 x double], ptr @s, i64 0, i64 %indvars.iv.next66
  store double %59, ptr %60, align 8, !tbaa !11
  %61 = icmp sgt i64 %indvars.iv65, 1
  br i1 %61, label %53, label %._crit_edge52, !llvm.loop !27

.lr.ph45:                                         ; preds = %53, %.lr.ph45
  %.0.in43 = phi i32 [ %.0, %.lr.ph45 ], [ %1, %53 ]
  %.02942 = phi double [ %68, %.lr.ph45 ], [ %55, %53 ]
  %.0 = add nsw i32 %.0.in43, -1
  %62 = zext nneg i32 %.0 to i64
  %63 = getelementptr inbounds [15 x [15 x double]], ptr @a, i64 0, i64 %indvars.iv.next66, i64 %62
  %64 = load double, ptr %63, align 8, !tbaa !11
  %65 = getelementptr inbounds [15 x double], ptr @s, i64 0, i64 %62
  %66 = load double, ptr %65, align 8, !tbaa !11
  %67 = fneg double %64
  %68 = tail call double @llvm.fmuladd.f64(double %67, double %66, double %.02942)
  %69 = sext i32 %.0 to i64
  %70 = icmp slt i64 %indvars.iv65, %69
  br i1 %70, label %.lr.ph45, label %._crit_edge46, !llvm.loop !28
}

; Function Attrs: mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare double @llvm.fmuladd.f64(double, double, double) #1

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

attributes #0 = { mustprogress nofree norecurse nosync nounwind memory(readwrite, argmem: none, inaccessiblemem: none) 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 speculatable willreturn memory(none) }
attributes #2 = { 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 = !{!"int", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = distinct !{!9, !10}
!10 = !{!"llvm.loop.mustprogress"}
!11 = !{!12, !12, i64 0}
!12 = !{!"double", !7, i64 0}
!13 = !{!14}
!14 = distinct !{!14, !15}
!15 = distinct !{!15, !"LVerDomain"}
!16 = !{!17}
!17 = distinct !{!17, !15}
!18 = !{!19}
!19 = distinct !{!19, !15}
!20 = !{!21}
!21 = distinct !{!21, !15}
!22 = distinct !{!22, !10, !23, !24}
!23 = !{!"llvm.loop.isvectorized", i32 1}
!24 = !{!"llvm.loop.unroll.runtime.disable"}
!25 = distinct !{!25, !10}
!26 = distinct !{!26, !10, !23}
!27 = distinct !{!27, !10}
!28 = distinct !{!28, !10}


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