; LLVM IR from niuyishuai/PDCABB :: LAPACK_BLAS/BLAS/SRC (cscal)

; Unoptimized IR (clang -disable-llvm-passes):
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i64:64-i128:128-f80:128-n8:16:32:64-S128"
target triple = "x86_64-unknown-linux-gnu"

%struct.complex = type { float, float }

; Function Attrs: nounwind uwtable
define dso_local i32 @f2c_cscal(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 %struct.complex, align 4
  %15 = alloca i64, align 8
  %16 = alloca i64, align 8
  %17 = 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 8, ptr %15) #3
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #3
  %18 = load ptr, ptr %8, align 8, !tbaa !5
  %19 = getelementptr inbounds %struct.complex, ptr %18, i32 -1
  store ptr %19, ptr %8, align 8, !tbaa !5
  %20 = load ptr, ptr %6, align 8, !tbaa !5
  %21 = load i64, ptr %20, align 8, !tbaa !9
  %22 = icmp sle i64 %21, 0
  br i1 %22, label %27, label %23

23:                                               ; preds = %4
  %24 = load ptr, ptr %9, align 8, !tbaa !5
  %25 = load i64, ptr %24, align 8, !tbaa !9
  %26 = icmp sle i64 %25, 0
  br i1 %26, label %27, label %28

27:                                               ; preds = %23, %4
  store i32 0, ptr %5, align 4
  store i32 1, ptr %17, align 4
  br label %182

28:                                               ; preds = %23
  %29 = load ptr, ptr %9, align 8, !tbaa !5
  %30 = load i64, ptr %29, align 8, !tbaa !9
  %31 = icmp eq i64 %30, 1
  br i1 %31, label %32, label %33

32:                                               ; preds = %28
  br label %117

33:                                               ; preds = %28
  %34 = load ptr, ptr %6, align 8, !tbaa !5
  %35 = load i64, ptr %34, align 8, !tbaa !9
  %36 = load ptr, ptr %9, align 8, !tbaa !5
  %37 = load i64, ptr %36, align 8, !tbaa !9
  %38 = mul nsw i64 %35, %37
  store i64 %38, ptr %16, align 8, !tbaa !9
  %39 = load i64, ptr %16, align 8, !tbaa !9
  store i64 %39, ptr %10, align 8, !tbaa !9
  %40 = load ptr, ptr %9, align 8, !tbaa !5
  %41 = load i64, ptr %40, align 8, !tbaa !9
  store i64 %41, ptr %11, align 8, !tbaa !9
  store i64 1, ptr %15, align 8, !tbaa !9
  br label %42

42:                                               ; preds = %112, %33
  %43 = load i64, ptr %11, align 8, !tbaa !9
  %44 = icmp slt i64 %43, 0
  br i1 %44, label %45, label %50

45:                                               ; preds = %42
  %46 = load i64, ptr %15, align 8, !tbaa !9
  %47 = load i64, ptr %10, align 8, !tbaa !9
  %48 = icmp sge i64 %46, %47
  %49 = zext i1 %48 to i32
  br label %55

50:                                               ; preds = %42
  %51 = load i64, ptr %15, align 8, !tbaa !9
  %52 = load i64, ptr %10, align 8, !tbaa !9
  %53 = icmp sle i64 %51, %52
  %54 = zext i1 %53 to i32
  br label %55

55:                                               ; preds = %50, %45
  %56 = phi i32 [ %49, %45 ], [ %54, %50 ]
  %57 = icmp ne i32 %56, 0
  br i1 %57, label %58, label %116

58:                                               ; preds = %55
  %59 = load i64, ptr %15, align 8, !tbaa !9
  store i64 %59, ptr %12, align 8, !tbaa !9
  %60 = load i64, ptr %15, align 8, !tbaa !9
  store i64 %60, ptr %13, align 8, !tbaa !9
  %61 = load ptr, ptr %7, align 8, !tbaa !5
  %62 = getelementptr inbounds %struct.complex, ptr %61, i32 0, i32 0
  %63 = load float, ptr %62, align 4, !tbaa !11
  %64 = load ptr, ptr %8, align 8, !tbaa !5
  %65 = load i64, ptr %13, align 8, !tbaa !9
  %66 = getelementptr inbounds %struct.complex, ptr %64, i64 %65
  %67 = getelementptr inbounds %struct.complex, ptr %66, i32 0, i32 0
  %68 = load float, ptr %67, align 4, !tbaa !11
  %69 = load ptr, ptr %7, align 8, !tbaa !5
  %70 = getelementptr inbounds %struct.complex, ptr %69, i32 0, i32 1
  %71 = load float, ptr %70, align 4, !tbaa !14
  %72 = load ptr, ptr %8, align 8, !tbaa !5
  %73 = load i64, ptr %13, align 8, !tbaa !9
  %74 = getelementptr inbounds %struct.complex, ptr %72, i64 %73
  %75 = getelementptr inbounds %struct.complex, ptr %74, i32 0, i32 1
  %76 = load float, ptr %75, align 4, !tbaa !14
  %77 = fmul float %71, %76
  %78 = fneg float %77
  %79 = call float @llvm.fmuladd.f32(float %63, float %68, float %78)
  %80 = getelementptr inbounds %struct.complex, ptr %14, i32 0, i32 0
  store float %79, ptr %80, align 4, !tbaa !11
  %81 = load ptr, ptr %7, align 8, !tbaa !5
  %82 = getelementptr inbounds %struct.complex, ptr %81, i32 0, i32 0
  %83 = load float, ptr %82, align 4, !tbaa !11
  %84 = load ptr, ptr %8, align 8, !tbaa !5
  %85 = load i64, ptr %13, align 8, !tbaa !9
  %86 = getelementptr inbounds %struct.complex, ptr %84, i64 %85
  %87 = getelementptr inbounds %struct.complex, ptr %86, i32 0, i32 1
  %88 = load float, ptr %87, align 4, !tbaa !14
  %89 = load ptr, ptr %7, align 8, !tbaa !5
  %90 = getelementptr inbounds %struct.complex, ptr %89, i32 0, i32 1
  %91 = load float, ptr %90, align 4, !tbaa !14
  %92 = load ptr, ptr %8, align 8, !tbaa !5
  %93 = load i64, ptr %13, align 8, !tbaa !9
  %94 = getelementptr inbounds %struct.complex, ptr %92, i64 %93
  %95 = getelementptr inbounds %struct.complex, ptr %94, i32 0, i32 0
  %96 = load float, ptr %95, align 4, !tbaa !11
  %97 = fmul float %91, %96
  %98 = call float @llvm.fmuladd.f32(float %83, float %88, float %97)
  %99 = getelementptr inbounds %struct.complex, ptr %14, i32 0, i32 1
  store float %98, ptr %99, align 4, !tbaa !14
  %100 = getelementptr inbounds %struct.complex, ptr %14, i32 0, i32 0
  %101 = load float, ptr %100, align 4, !tbaa !11
  %102 = load ptr, ptr %8, align 8, !tbaa !5
  %103 = load i64, ptr %12, align 8, !tbaa !9
  %104 = getelementptr inbounds %struct.complex, ptr %102, i64 %103
  %105 = getelementptr inbounds %struct.complex, ptr %104, i32 0, i32 0
  store float %101, ptr %105, align 4, !tbaa !11
  %106 = getelementptr inbounds %struct.complex, ptr %14, i32 0, i32 1
  %107 = load float, ptr %106, align 4, !tbaa !14
  %108 = load ptr, ptr %8, align 8, !tbaa !5
  %109 = load i64, ptr %12, align 8, !tbaa !9
  %110 = getelementptr inbounds %struct.complex, ptr %108, i64 %109
  %111 = getelementptr inbounds %struct.complex, ptr %110, i32 0, i32 1
  store float %107, ptr %111, align 4, !tbaa !14
  br label %112

112:                                              ; preds = %58
  %113 = load i64, ptr %11, align 8, !tbaa !9
  %114 = load i64, ptr %15, align 8, !tbaa !9
  %115 = add nsw i64 %114, %113
  store i64 %115, ptr %15, align 8, !tbaa !9
  br label %42, !llvm.loop !15

116:                                              ; preds = %55
  store i32 0, ptr %5, align 4
  store i32 1, ptr %17, align 4
  br label %182

117:                                              ; preds = %32
  %118 = load ptr, ptr %6, align 8, !tbaa !5
  %119 = load i64, ptr %118, align 8, !tbaa !9
  store i64 %119, ptr %11, align 8, !tbaa !9
  store i64 1, ptr %15, align 8, !tbaa !9
  br label %120

120:                                              ; preds = %178, %117
  %121 = load i64, ptr %15, align 8, !tbaa !9
  %122 = load i64, ptr %11, align 8, !tbaa !9
  %123 = icmp sle i64 %121, %122
  br i1 %123, label %124, label %181

124:                                              ; preds = %120
  %125 = load i64, ptr %15, align 8, !tbaa !9
  store i64 %125, ptr %10, align 8, !tbaa !9
  %126 = load i64, ptr %15, align 8, !tbaa !9
  store i64 %126, ptr %12, align 8, !tbaa !9
  %127 = load ptr, ptr %7, align 8, !tbaa !5
  %128 = getelementptr inbounds %struct.complex, ptr %127, i32 0, i32 0
  %129 = load float, ptr %128, align 4, !tbaa !11
  %130 = load ptr, ptr %8, align 8, !tbaa !5
  %131 = load i64, ptr %12, align 8, !tbaa !9
  %132 = getelementptr inbounds %struct.complex, ptr %130, i64 %131
  %133 = getelementptr inbounds %struct.complex, ptr %132, i32 0, i32 0
  %134 = load float, ptr %133, align 4, !tbaa !11
  %135 = load ptr, ptr %7, align 8, !tbaa !5
  %136 = getelementptr inbounds %struct.complex, ptr %135, i32 0, i32 1
  %137 = load float, ptr %136, align 4, !tbaa !14
  %138 = load ptr, ptr %8, align 8, !tbaa !5
  %139 = load i64, ptr %12, align 8, !tbaa !9
  %140 = getelementptr inbounds %struct.complex, ptr %138, i64 %139
  %141 = getelementptr inbounds %struct.complex, ptr %140, i32 0, i32 1
  %142 = load float, ptr %141, align 4, !tbaa !14
  %143 = fmul float %137, %142
  %144 = fneg float %143
  %145 = call float @llvm.fmuladd.f32(float %129, float %134, float %144)
  %146 = getelementptr inbounds %struct.complex, ptr %14, i32 0, i32 0
  store float %145, ptr %146, align 4, !tbaa !11
  %147 = load ptr, ptr %7, align 8, !tbaa !5
  %148 = getelementptr inbounds %struct.complex, ptr %147, i32 0, i32 0
  %149 = load float, ptr %148, align 4, !tbaa !11
  %150 = load ptr, ptr %8, align 8, !tbaa !5
  %151 = load i64, ptr %12, align 8, !tbaa !9
  %152 = getelementptr inbounds %struct.complex, ptr %150, i64 %151
  %153 = getelementptr inbounds %struct.complex, ptr %152, i32 0, i32 1
  %154 = load float, ptr %153, align 4, !tbaa !14
  %155 = load ptr, ptr %7, align 8, !tbaa !5
  %156 = getelementptr inbounds %struct.complex, ptr %155, i32 0, i32 1
  %157 = load float, ptr %156, align 4, !tbaa !14
  %158 = load ptr, ptr %8, align 8, !tbaa !5
  %159 = load i64, ptr %12, align 8, !tbaa !9
  %160 = getelementptr inbounds %struct.complex, ptr %158, i64 %159
  %161 = getelementptr inbounds %struct.complex, ptr %160, i32 0, i32 0
  %162 = load float, ptr %161, align 4, !tbaa !11
  %163 = fmul float %157, %162
  %164 = call float @llvm.fmuladd.f32(float %149, float %154, float %163)
  %165 = getelementptr inbounds %struct.complex, ptr %14, i32 0, i32 1
  store float %164, ptr %165, align 4, !tbaa !14
  %166 = getelementptr inbounds %struct.complex, ptr %14, i32 0, i32 0
  %167 = load float, ptr %166, align 4, !tbaa !11
  %168 = load ptr, ptr %8, align 8, !tbaa !5
  %169 = load i64, ptr %10, align 8, !tbaa !9
  %170 = getelementptr inbounds %struct.complex, ptr %168, i64 %169
  %171 = getelementptr inbounds %struct.complex, ptr %170, i32 0, i32 0
  store float %167, ptr %171, align 4, !tbaa !11
  %172 = getelementptr inbounds %struct.complex, ptr %14, i32 0, i32 1
  %173 = load float, ptr %172, align 4, !tbaa !14
  %174 = load ptr, ptr %8, align 8, !tbaa !5
  %175 = load i64, ptr %10, align 8, !tbaa !9
  %176 = getelementptr inbounds %struct.complex, ptr %174, i64 %175
  %177 = getelementptr inbounds %struct.complex, ptr %176, i32 0, i32 1
  store float %173, ptr %177, align 4, !tbaa !14
  br label %178

178:                                              ; preds = %124
  %179 = load i64, ptr %15, align 8, !tbaa !9
  %180 = add nsw i64 %179, 1
  store i64 %180, ptr %15, align 8, !tbaa !9
  br label %120, !llvm.loop !17

181:                                              ; preds = %120
  store i32 0, ptr %5, align 4
  store i32 1, ptr %17, align 4
  br label %182

182:                                              ; preds = %181, %116, %27
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #3
  call void @llvm.lifetime.end.p0(i64 8, 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
  %183 = load i32, ptr %5, align 4
  ret i32 %183
}

; 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 float @llvm.fmuladd.f32(float, float, float) #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 = { 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 = !{!"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, !13, i64 0}
!12 = !{!"", !13, i64 0, !13, i64 4}
!13 = !{!"float", !7, i64 0}
!14 = !{!12, !13, i64 4}
!15 = distinct !{!15, !16}
!16 = !{!"llvm.loop.mustprogress"}
!17 = distinct !{!17, !16}


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

%struct.complex = type { float, float }

; Function Attrs: nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable
define dso_local noundef i32 @f2c_cscal(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef %2, ptr nocapture noundef readonly %3) local_unnamed_addr #0 {
  %5 = getelementptr inbounds i8, ptr %2, i64 -8
  %6 = load i64, ptr %0, align 8, !tbaa !5
  %7 = icmp slt i64 %6, 1
  br i1 %7, label %.loopexit, label %8

8:                                                ; preds = %4
  %9 = load i64, ptr %3, align 8, !tbaa !5
  %10 = icmp slt i64 %9, 1
  br i1 %10, label %.loopexit, label %11

11:                                               ; preds = %8
  %12 = icmp eq i64 %9, 1
  br i1 %12, label %.lr.ph65, label %.lr.ph

.lr.ph65:                                         ; preds = %11
  %13 = getelementptr inbounds i8, ptr %1, i64 4
  %min.iters.check102 = icmp ult i64 %6, 8
  br i1 %min.iters.check102, label %scalar.ph101.preheader, label %vector.memcheck88

scalar.ph101.preheader:                           ; preds = %middle.block100, %vector.memcheck88, %.lr.ph65
  %.164.ph = phi i64 [ 1, %vector.memcheck88 ], [ 1, %.lr.ph65 ], [ %ind.end106, %middle.block100 ]
  br label %scalar.ph101

vector.memcheck88:                                ; preds = %.lr.ph65
  %14 = shl i64 %6, 3
  %15 = getelementptr i8, ptr %2, i64 %14
  %scevgep89 = getelementptr i8, ptr %15, i64 -4
  %scevgep90 = getelementptr i8, ptr %2, i64 4
  %scevgep91 = getelementptr i8, ptr %2, i64 %14
  %scevgep92 = getelementptr i8, ptr %1, i64 8
  %bound093 = icmp ugt ptr %13, %2
  %bound194 = icmp ugt ptr %scevgep89, %1
  %found.conflict95 = and i1 %bound093, %bound194
  %bound096 = icmp ult ptr %scevgep90, %scevgep92
  %bound197 = icmp ult ptr %13, %scevgep91
  %found.conflict98 = and i1 %bound096, %bound197
  %conflict.rdx99 = or i1 %found.conflict95, %found.conflict98
  br i1 %conflict.rdx99, label %scalar.ph101.preheader, label %vector.ph103

vector.ph103:                                     ; preds = %vector.memcheck88
  %n.vec105 = and i64 %6, 9223372036854775804
  %ind.end106 = or disjoint i64 %n.vec105, 1
  br label %vector.body108

vector.body108:                                   ; preds = %vector.body108, %vector.ph103
  %index109 = phi i64 [ 0, %vector.ph103 ], [ %index.next119, %vector.body108 ]
  %16 = load float, ptr %1, align 4, !tbaa !9, !alias.scope !12
  %broadcast.splatinsert116 = insertelement <4 x float> poison, float %16, i64 0
  %broadcast.splat117 = shufflevector <4 x float> %broadcast.splatinsert116, <4 x float> poison, <4 x i32> zeroinitializer
  %17 = getelementptr %struct.complex, ptr %2, i64 %index109
  %wide.vec111 = load <8 x float>, ptr %17, align 4, !tbaa !15
  %strided.vec112 = shufflevector <8 x float> %wide.vec111, <8 x float> poison, <4 x i32> <i32 0, i32 2, i32 4, i32 6>
  %strided.vec113 = shufflevector <8 x float> %wide.vec111, <8 x float> poison, <4 x i32> <i32 1, i32 3, i32 5, i32 7>
  %18 = load float, ptr %13, align 4, !tbaa !16, !alias.scope !17
  %broadcast.splatinsert114 = insertelement <4 x float> poison, float %18, i64 0
  %broadcast.splat115 = shufflevector <4 x float> %broadcast.splatinsert114, <4 x float> poison, <4 x i32> zeroinitializer
  %19 = fneg <4 x float> %broadcast.splat115
  %20 = fmul <4 x float> %strided.vec113, %19
  %21 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %broadcast.splat117, <4 x float> %strided.vec112, <4 x float> %20)
  %22 = fmul <4 x float> %strided.vec112, %broadcast.splat115
  %23 = tail call <4 x float> @llvm.fmuladd.v4f32(<4 x float> %broadcast.splat117, <4 x float> %strided.vec113, <4 x float> %22)
  %interleaved.vec118 = shufflevector <4 x float> %21, <4 x float> %23, <8 x i32> <i32 0, i32 4, i32 1, i32 5, i32 2, i32 6, i32 3, i32 7>
  store <8 x float> %interleaved.vec118, ptr %17, align 4, !tbaa !15
  %index.next119 = add nuw i64 %index109, 4
  %24 = icmp eq i64 %index.next119, %n.vec105
  br i1 %24, label %middle.block100, label %vector.body108, !llvm.loop !19

middle.block100:                                  ; preds = %vector.body108
  %cmp.n120 = icmp eq i64 %6, %n.vec105
  br i1 %cmp.n120, label %.loopexit, label %scalar.ph101.preheader

.lr.ph:                                           ; preds = %11
  %25 = mul i64 %9, %6
  %26 = getelementptr i8, ptr %1, i64 4
  br label %27

27:                                               ; preds = %.lr.ph, %27
  %.05762 = phi i64 [ 1, %.lr.ph ], [ %40, %27 ]
  %28 = load float, ptr %1, align 4, !tbaa !9
  %29 = getelementptr inbounds %struct.complex, ptr %5, i64 %.05762
  %30 = load float, ptr %26, align 4, !tbaa !16
  %31 = fneg float %30
  %32 = load <2 x float>, ptr %29, align 4, !tbaa !15
  %33 = insertelement <2 x float> poison, float %30, i64 0
  %34 = insertelement <2 x float> %33, float %31, i64 1
  %35 = fmul <2 x float> %32, %34
  %36 = shufflevector <2 x float> %35, <2 x float> poison, <2 x i32> <i32 1, i32 0>
  %37 = insertelement <2 x float> poison, float %28, i64 0
  %38 = shufflevector <2 x float> %37, <2 x float> poison, <2 x i32> zeroinitializer
  %39 = tail call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %38, <2 x float> %32, <2 x float> %36)
  store <2 x float> %39, ptr %29, align 4, !tbaa !15
  %40 = add nuw nsw i64 %.05762, %9
  %.not = icmp sgt i64 %40, %25
  br i1 %.not, label %.loopexit, label %27, !llvm.loop !23

scalar.ph101:                                     ; preds = %scalar.ph101.preheader, %scalar.ph101
  %.164 = phi i64 [ %53, %scalar.ph101 ], [ %.164.ph, %scalar.ph101.preheader ]
  %41 = load float, ptr %1, align 4, !tbaa !9
  %42 = getelementptr inbounds %struct.complex, ptr %5, i64 %.164
  %43 = load float, ptr %13, align 4, !tbaa !16
  %44 = fneg float %43
  %45 = load <2 x float>, ptr %42, align 4, !tbaa !15
  %46 = insertelement <2 x float> poison, float %43, i64 0
  %47 = insertelement <2 x float> %46, float %44, i64 1
  %48 = fmul <2 x float> %45, %47
  %49 = shufflevector <2 x float> %48, <2 x float> poison, <2 x i32> <i32 1, i32 0>
  %50 = insertelement <2 x float> poison, float %41, i64 0
  %51 = shufflevector <2 x float> %50, <2 x float> poison, <2 x i32> zeroinitializer
  %52 = tail call <2 x float> @llvm.fmuladd.v2f32(<2 x float> %51, <2 x float> %45, <2 x float> %49)
  store <2 x float> %52, ptr %42, align 4, !tbaa !15
  %53 = add nuw i64 %.164, 1
  %exitcond.not = icmp eq i64 %.164, %6
  br i1 %exitcond.not, label %.loopexit, label %scalar.ph101, !llvm.loop !24

.loopexit:                                        ; preds = %27, %scalar.ph101, %middle.block100, %4, %8
  ret i32 0
}

; 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>) #1

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

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

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

!0 = !{i32 1, !"wchar_size", i32 4}
!1 = !{i32 8, !"PIC Level", i32 2}
!2 = !{i32 7, !"PIE Level", i32 2}
!3 = !{i32 7, !"uwtable", i32 2}
!4 = !{!"clang version 19.1.0 (git@github.com:llvm/llvm-project.git a4bf6cd7cfb1a1421ba92bca9d017b49936c55e4)"}
!5 = !{!6, !6, i64 0}
!6 = !{!"long", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !11, i64 0}
!10 = !{!"", !11, i64 0, !11, i64 4}
!11 = !{!"float", !7, i64 0}
!12 = !{!13}
!13 = distinct !{!13, !14}
!14 = distinct !{!14, !"LVerDomain"}
!15 = !{!11, !11, i64 0}
!16 = !{!10, !11, i64 4}
!17 = !{!18}
!18 = distinct !{!18, !14}
!19 = distinct !{!19, !20, !21, !22}
!20 = !{!"llvm.loop.mustprogress"}
!21 = !{!"llvm.loop.isvectorized", i32 1}
!22 = !{!"llvm.loop.unroll.runtime.disable"}
!23 = distinct !{!23, !20, !21}
!24 = distinct !{!24, !20, !21}


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