; LLVM IR from niuyishuai/PDCABB :: LAPACK_BLAS/LAPACK (spptri)

; 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 [2 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [6 x i8], align 1
@c_b8 = external hidden global float, align 4
@c__1 = external hidden global i64, align 8
@.str.5 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [10 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local i32 @spptri_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
  %5 = alloca i32, align 4
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca i64, align 8
  %11 = alloca i64, align 8
  %12 = alloca i64, align 8
  %13 = alloca i64, align 8
  %14 = alloca i64, align 8
  %15 = alloca float, align 4
  %16 = alloca i64, align 8
  %17 = alloca i64, align 8
  %18 = alloca i32, align 4
  store ptr %0, ptr %6, align 8, !tbaa !5
  store ptr %1, ptr %7, align 8, !tbaa !5
  store ptr %2, ptr %8, align 8, !tbaa !5
  store ptr %3, ptr %9, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #3
  %19 = load ptr, ptr %8, align 8, !tbaa !5
  %20 = getelementptr inbounds float, ptr %19, i32 -1
  store ptr %20, ptr %8, align 8, !tbaa !5
  %21 = load ptr, ptr %9, align 8, !tbaa !5
  store i64 0, ptr %21, align 8, !tbaa !9
  %22 = load ptr, ptr %6, align 8, !tbaa !5
  %23 = call i64 @lsame_(ptr noundef %22, ptr noundef @.str)
  store i64 %23, ptr %17, align 8, !tbaa !9
  %24 = load i64, ptr %17, align 8, !tbaa !9
  %25 = icmp ne i64 %24, 0
  br i1 %25, label %32, label %26

26:                                               ; preds = %4
  %27 = load ptr, ptr %6, align 8, !tbaa !5
  %28 = call i64 @lsame_(ptr noundef %27, ptr noundef @.str.1)
  %29 = icmp ne i64 %28, 0
  br i1 %29, label %32, label %30

30:                                               ; preds = %26
  %31 = load ptr, ptr %9, align 8, !tbaa !5
  store i64 -1, ptr %31, align 8, !tbaa !9
  br label %39

32:                                               ; preds = %26, %4
  %33 = load ptr, ptr %7, align 8, !tbaa !5
  %34 = load i64, ptr %33, align 8, !tbaa !9
  %35 = icmp slt i64 %34, 0
  br i1 %35, label %36, label %38

36:                                               ; preds = %32
  %37 = load ptr, ptr %9, align 8, !tbaa !5
  store i64 -2, ptr %37, align 8, !tbaa !9
  br label %38

38:                                               ; preds = %36, %32
  br label %39

39:                                               ; preds = %38, %30
  %40 = load ptr, ptr %9, align 8, !tbaa !5
  %41 = load i64, ptr %40, align 8, !tbaa !9
  %42 = icmp ne i64 %41, 0
  br i1 %42, label %43, label %48

43:                                               ; preds = %39
  %44 = load ptr, ptr %9, align 8, !tbaa !5
  %45 = load i64, ptr %44, align 8, !tbaa !9
  %46 = sub nsw i64 0, %45
  store i64 %46, ptr %10, align 8, !tbaa !9
  %47 = call i32 @xerbla_(ptr noundef @.str.2, ptr noundef %10)
  store i32 0, ptr %5, align 4
  store i32 1, ptr %18, align 4
  br label %159

48:                                               ; preds = %39
  %49 = load ptr, ptr %7, align 8, !tbaa !5
  %50 = load i64, ptr %49, align 8, !tbaa !9
  %51 = icmp eq i64 %50, 0
  br i1 %51, label %52, label %53

52:                                               ; preds = %48
  store i32 0, ptr %5, align 4
  store i32 1, ptr %18, align 4
  br label %159

53:                                               ; preds = %48
  %54 = load ptr, ptr %6, align 8, !tbaa !5
  %55 = load ptr, ptr %7, align 8, !tbaa !5
  %56 = load ptr, ptr %8, align 8, !tbaa !5
  %57 = getelementptr inbounds float, ptr %56, i64 1
  %58 = load ptr, ptr %9, align 8, !tbaa !5
  %59 = call i32 @stptri_(ptr noundef %54, ptr noundef @.str.3, ptr noundef %55, ptr noundef %57, ptr noundef %58)
  %60 = load ptr, ptr %9, align 8, !tbaa !5
  %61 = load i64, ptr %60, align 8, !tbaa !9
  %62 = icmp sgt i64 %61, 0
  br i1 %62, label %63, label %64

63:                                               ; preds = %53
  store i32 0, ptr %5, align 4
  store i32 1, ptr %18, align 4
  br label %159

64:                                               ; preds = %53
  %65 = load i64, ptr %17, align 8, !tbaa !9
  %66 = icmp ne i64 %65, 0
  br i1 %66, label %67, label %104

67:                                               ; preds = %64
  store i64 0, ptr %14, align 8, !tbaa !9
  %68 = load ptr, ptr %7, align 8, !tbaa !5
  %69 = load i64, ptr %68, align 8, !tbaa !9
  store i64 %69, ptr %10, align 8, !tbaa !9
  store i64 1, ptr %12, align 8, !tbaa !9
  br label %70

70:                                               ; preds = %100, %67
  %71 = load i64, ptr %12, align 8, !tbaa !9
  %72 = load i64, ptr %10, align 8, !tbaa !9
  %73 = icmp sle i64 %71, %72
  br i1 %73, label %74, label %103

74:                                               ; preds = %70
  %75 = load i64, ptr %14, align 8, !tbaa !9
  %76 = add nsw i64 %75, 1
  store i64 %76, ptr %13, align 8, !tbaa !9
  %77 = load i64, ptr %12, align 8, !tbaa !9
  %78 = load i64, ptr %14, align 8, !tbaa !9
  %79 = add nsw i64 %78, %77
  store i64 %79, ptr %14, align 8, !tbaa !9
  %80 = load i64, ptr %12, align 8, !tbaa !9
  %81 = icmp sgt i64 %80, 1
  br i1 %81, label %82, label %91

82:                                               ; preds = %74
  %83 = load i64, ptr %12, align 8, !tbaa !9
  %84 = sub nsw i64 %83, 1
  store i64 %84, ptr %11, align 8, !tbaa !9
  %85 = load ptr, ptr %8, align 8, !tbaa !5
  %86 = load i64, ptr %13, align 8, !tbaa !9
  %87 = getelementptr inbounds float, ptr %85, i64 %86
  %88 = load ptr, ptr %8, align 8, !tbaa !5
  %89 = getelementptr inbounds float, ptr %88, i64 1
  %90 = call i32 @f2c_sspr(ptr noundef @.str.4, ptr noundef %11, ptr noundef @c_b8, ptr noundef %87, ptr noundef @c__1, ptr noundef %89)
  br label %91

91:                                               ; preds = %82, %74
  %92 = load ptr, ptr %8, align 8, !tbaa !5
  %93 = load i64, ptr %14, align 8, !tbaa !9
  %94 = getelementptr inbounds float, ptr %92, i64 %93
  %95 = load float, ptr %94, align 4, !tbaa !11
  store float %95, ptr %15, align 4, !tbaa !11
  %96 = load ptr, ptr %8, align 8, !tbaa !5
  %97 = load i64, ptr %13, align 8, !tbaa !9
  %98 = getelementptr inbounds float, ptr %96, i64 %97
  %99 = call i32 @f2c_sscal(ptr noundef %12, ptr noundef %15, ptr noundef %98, ptr noundef @c__1)
  br label %100

100:                                              ; preds = %91
  %101 = load i64, ptr %12, align 8, !tbaa !9
  %102 = add nsw i64 %101, 1
  store i64 %102, ptr %12, align 8, !tbaa !9
  br label %70, !llvm.loop !13

103:                                              ; preds = %70
  br label %158

104:                                              ; preds = %64
  store i64 1, ptr %14, align 8, !tbaa !9
  %105 = load ptr, ptr %7, align 8, !tbaa !5
  %106 = load i64, ptr %105, align 8, !tbaa !9
  store i64 %106, ptr %10, align 8, !tbaa !9
  store i64 1, ptr %12, align 8, !tbaa !9
  br label %107

107:                                              ; preds = %154, %104
  %108 = load i64, ptr %12, align 8, !tbaa !9
  %109 = load i64, ptr %10, align 8, !tbaa !9
  %110 = icmp sle i64 %108, %109
  br i1 %110, label %111, label %157

111:                                              ; preds = %107
  %112 = load i64, ptr %14, align 8, !tbaa !9
  %113 = load ptr, ptr %7, align 8, !tbaa !5
  %114 = load i64, ptr %113, align 8, !tbaa !9
  %115 = add nsw i64 %112, %114
  %116 = load i64, ptr %12, align 8, !tbaa !9
  %117 = sub nsw i64 %115, %116
  %118 = add nsw i64 %117, 1
  store i64 %118, ptr %16, align 8, !tbaa !9
  %119 = load ptr, ptr %7, align 8, !tbaa !5
  %120 = load i64, ptr %119, align 8, !tbaa !9
  %121 = load i64, ptr %12, align 8, !tbaa !9
  %122 = sub nsw i64 %120, %121
  %123 = add nsw i64 %122, 1
  store i64 %123, ptr %11, align 8, !tbaa !9
  %124 = load ptr, ptr %8, align 8, !tbaa !5
  %125 = load i64, ptr %14, align 8, !tbaa !9
  %126 = getelementptr inbounds float, ptr %124, i64 %125
  %127 = load ptr, ptr %8, align 8, !tbaa !5
  %128 = load i64, ptr %14, align 8, !tbaa !9
  %129 = getelementptr inbounds float, ptr %127, i64 %128
  %130 = call double @f2c_sdot(ptr noundef %11, ptr noundef %126, ptr noundef @c__1, ptr noundef %129, ptr noundef @c__1)
  %131 = fptrunc double %130 to float
  %132 = load ptr, ptr %8, align 8, !tbaa !5
  %133 = load i64, ptr %14, align 8, !tbaa !9
  %134 = getelementptr inbounds float, ptr %132, i64 %133
  store float %131, ptr %134, align 4, !tbaa !11
  %135 = load i64, ptr %12, align 8, !tbaa !9
  %136 = load ptr, ptr %7, align 8, !tbaa !5
  %137 = load i64, ptr %136, align 8, !tbaa !9
  %138 = icmp slt i64 %135, %137
  br i1 %138, label %139, label %152

139:                                              ; preds = %111
  %140 = load ptr, ptr %7, align 8, !tbaa !5
  %141 = load i64, ptr %140, align 8, !tbaa !9
  %142 = load i64, ptr %12, align 8, !tbaa !9
  %143 = sub nsw i64 %141, %142
  store i64 %143, ptr %11, align 8, !tbaa !9
  %144 = load ptr, ptr %8, align 8, !tbaa !5
  %145 = load i64, ptr %16, align 8, !tbaa !9
  %146 = getelementptr inbounds float, ptr %144, i64 %145
  %147 = load ptr, ptr %8, align 8, !tbaa !5
  %148 = load i64, ptr %14, align 8, !tbaa !9
  %149 = add nsw i64 %148, 1
  %150 = getelementptr inbounds float, ptr %147, i64 %149
  %151 = call i32 @f2c_stpmv(ptr noundef @.str.5, ptr noundef @.str.6, ptr noundef @.str.3, ptr noundef %11, ptr noundef %146, ptr noundef %150, ptr noundef @c__1)
  br label %152

152:                                              ; preds = %139, %111
  %153 = load i64, ptr %16, align 8, !tbaa !9
  store i64 %153, ptr %14, align 8, !tbaa !9
  br label %154

154:                                              ; preds = %152
  %155 = load i64, ptr %12, align 8, !tbaa !9
  %156 = add nsw i64 %155, 1
  store i64 %156, ptr %12, align 8, !tbaa !9
  br label %107, !llvm.loop !15

157:                                              ; preds = %107
  br label %158

158:                                              ; preds = %157, %103
  store i32 0, ptr %5, align 4
  store i32 1, ptr %18, align 4
  br label %159

159:                                              ; preds = %158, %63, %52, %43
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #3
  %160 = load i32, ptr %5, align 4
  ret i32 %160
}

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

declare i64 @lsame_(ptr noundef, ptr noundef) #2

declare i32 @xerbla_(ptr noundef, ptr noundef) #2

declare i32 @stptri_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

declare i32 @f2c_sspr(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

declare i32 @f2c_sscal(ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

declare double @f2c_sdot(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

declare i32 @f2c_stpmv(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) #2

; 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 = { 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 = !{!"long", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"float", !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"

@.str = external hidden unnamed_addr constant [2 x i8], align 1
@.str.1 = external hidden unnamed_addr constant [2 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [7 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [9 x i8], align 1
@.str.4 = external hidden unnamed_addr constant [6 x i8], align 1
@c_b8 = external hidden global float, align 4
@c__1 = external hidden global i64, align 8
@.str.5 = external hidden unnamed_addr constant [6 x i8], align 1
@.str.6 = external hidden unnamed_addr constant [10 x i8], align 1

; Function Attrs: nounwind uwtable
define dso_local noundef i32 @spptri_(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) local_unnamed_addr #0 {
  %5 = alloca i64, align 8
  %6 = alloca i64, align 8
  %7 = alloca i64, align 8
  %8 = alloca float, align 4
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %5) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %6) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr nonnull %7) #3
  call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %8) #3
  %9 = getelementptr inbounds i8, ptr %2, i64 -4
  store i64 0, ptr %3, align 8, !tbaa !5
  %10 = tail call i64 @lsame_(ptr noundef %0, ptr noundef nonnull @.str) #3
  %.not = icmp eq i64 %10, 0
  br i1 %.not, label %11, label %13

11:                                               ; preds = %4
  %12 = tail call i64 @lsame_(ptr noundef %0, ptr noundef nonnull @.str.1) #3
  %.not49 = icmp eq i64 %12, 0
  br i1 %.not49, label %.thread.sink.split, label %13

13:                                               ; preds = %11, %4
  %14 = load i64, ptr %1, align 8, !tbaa !5
  %15 = icmp slt i64 %14, 0
  br i1 %15, label %.thread.sink.split, label %16

16:                                               ; preds = %13
  %.pr = load i64, ptr %3, align 8, !tbaa !5
  %.not50 = icmp eq i64 %.pr, 0
  br i1 %.not50, label %20, label %.thread

.thread.sink.split:                               ; preds = %13, %11
  %.sink = phi i64 [ -1, %11 ], [ -2, %13 ]
  store i64 %.sink, ptr %3, align 8, !tbaa !5
  br label %.thread

.thread:                                          ; preds = %.thread.sink.split, %16
  %17 = phi i64 [ %.pr, %16 ], [ %.sink, %.thread.sink.split ]
  %18 = sub nsw i64 0, %17
  store i64 %18, ptr %5, align 8, !tbaa !5
  %19 = call i32 @xerbla_(ptr noundef nonnull @.str.2, ptr noundef nonnull %5) #3
  br label %.loopexit

20:                                               ; preds = %16
  %21 = icmp eq i64 %14, 0
  br i1 %21, label %.loopexit, label %22

22:                                               ; preds = %20
  %23 = tail call i32 @stptri_(ptr noundef %0, ptr noundef nonnull @.str.3, ptr noundef nonnull %1, ptr noundef %2, ptr noundef nonnull %3) #3
  %24 = load i64, ptr %3, align 8, !tbaa !5
  %25 = icmp sgt i64 %24, 0
  br i1 %25, label %.loopexit, label %26

26:                                               ; preds = %22
  %27 = load i64, ptr %1, align 8, !tbaa !5
  br i1 %.not, label %42, label %28

28:                                               ; preds = %26
  store i64 1, ptr %7, align 8, !tbaa !5
  %.not5356 = icmp slt i64 %27, 1
  br i1 %.not5356, label %.loopexit, label %.lr.ph

.lr.ph:                                           ; preds = %28, %35
  %.04458 = phi i64 [ %29, %35 ], [ 0, %28 ]
  %storemerge5257 = phi i64 [ %41, %35 ], [ 1, %28 ]
  %29 = add nsw i64 %.04458, %storemerge5257
  %30 = icmp sgt i64 %storemerge5257, 1
  br i1 %30, label %31, label %35

31:                                               ; preds = %.lr.ph
  %32 = add nsw i64 %storemerge5257, -1
  store i64 %32, ptr %6, align 8, !tbaa !5
  %33 = getelementptr float, ptr %2, i64 %.04458
  %34 = call i32 @f2c_sspr(ptr noundef nonnull @.str.4, ptr noundef nonnull %6, ptr noundef nonnull @c_b8, ptr noundef %33, ptr noundef nonnull @c__1, ptr noundef %2) #3
  br label %35

35:                                               ; preds = %31, %.lr.ph
  %36 = getelementptr inbounds float, ptr %9, i64 %29
  %37 = load float, ptr %36, align 4, !tbaa !9
  store float %37, ptr %8, align 4, !tbaa !9
  %38 = getelementptr float, ptr %2, i64 %.04458
  %39 = call i32 @f2c_sscal(ptr noundef nonnull %7, ptr noundef nonnull %8, ptr noundef %38, ptr noundef nonnull @c__1) #3
  %40 = load i64, ptr %7, align 8, !tbaa !5
  %41 = add nsw i64 %40, 1
  store i64 %41, ptr %7, align 8, !tbaa !5
  %.not53.not = icmp slt i64 %40, %27
  br i1 %.not53.not, label %.lr.ph, label %.loopexit, !llvm.loop !11

42:                                               ; preds = %26
  %.not5159 = icmp slt i64 %27, 1
  br i1 %.not5159, label %.loopexit, label %.lr.ph62

.lr.ph62:                                         ; preds = %42, %60
  %43 = phi i64 [ %61, %60 ], [ 1, %42 ]
  %storemerge.neg61 = phi i64 [ %storemerge.neg, %60 ], [ -1, %42 ]
  %.160 = phi i64 [ %47, %60 ], [ 1, %42 ]
  %44 = load i64, ptr %1, align 8, !tbaa !5
  %45 = add i64 %.160, %storemerge.neg61
  %46 = add i64 %45, %44
  %47 = add nsw i64 %46, 1
  %48 = add i64 %storemerge.neg61, 1
  %49 = add i64 %48, %44
  store i64 %49, ptr %6, align 8, !tbaa !5
  %50 = getelementptr inbounds float, ptr %9, i64 %.160
  %51 = call double @f2c_sdot(ptr noundef nonnull %6, ptr noundef nonnull %50, ptr noundef nonnull @c__1, ptr noundef nonnull %50, ptr noundef nonnull @c__1) #3
  %52 = fptrunc double %51 to float
  store float %52, ptr %50, align 4, !tbaa !9
  %53 = load i64, ptr %1, align 8, !tbaa !5
  %54 = icmp slt i64 %43, %53
  br i1 %54, label %55, label %60

55:                                               ; preds = %.lr.ph62
  %56 = sub nsw i64 %53, %43
  store i64 %56, ptr %6, align 8, !tbaa !5
  %57 = getelementptr float, ptr %2, i64 %46
  %58 = getelementptr float, ptr %2, i64 %.160
  %59 = call i32 @f2c_stpmv(ptr noundef nonnull @.str.5, ptr noundef nonnull @.str.6, ptr noundef nonnull @.str.3, ptr noundef nonnull %6, ptr noundef %57, ptr noundef %58, ptr noundef nonnull @c__1) #3
  br label %60

60:                                               ; preds = %55, %.lr.ph62
  %61 = add nuw nsw i64 %43, 1
  %storemerge.neg = xor i64 %43, -1
  %.not51.not = icmp slt i64 %43, %27
  br i1 %.not51.not, label %.lr.ph62, label %.loopexit, !llvm.loop !13

.loopexit:                                        ; preds = %35, %60, %28, %42, %22, %20, %.thread
  call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %8) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %7) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %6) #3
  call void @llvm.lifetime.end.p0(i64 8, ptr nonnull %5) #3
  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 i64 @lsame_(ptr noundef, ptr noundef) local_unnamed_addr #2

declare i32 @xerbla_(ptr noundef, ptr noundef) local_unnamed_addr #2

declare i32 @stptri_(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare i32 @f2c_sspr(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare i32 @f2c_sscal(ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare double @f2c_sdot(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

declare i32 @f2c_stpmv(ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef, ptr noundef) local_unnamed_addr #2

; Function Attrs: mustprogress 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 = { 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 = { 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 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"float", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = distinct !{!13, !12}


; Effective O3 passes: DSEPass,EarlyCSEPass,GVNPass,GlobalOptPass,IPSCCPPass,InferFunctionAttrsPass,InstCombinePass,JumpThreadingPass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SROAPass,SimplifyCFGPass,TailCallElimPass