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

; 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 @cla_wwaddw__(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3) #0 {
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca i64, 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 %struct.complex, align 4
  %16 = alloca %struct.complex, align 4
  %17 = alloca i64, align 8
  %18 = alloca %struct.complex, align 4
  store ptr %0, ptr %5, align 8, !tbaa !5
  store ptr %1, ptr %6, align 8, !tbaa !5
  store ptr %2, ptr %7, align 8, !tbaa !5
  store ptr %3, ptr %8, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 8, ptr %9) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %10) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %11) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %12) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #2
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #2
  %19 = load ptr, ptr %8, align 8, !tbaa !5
  %20 = getelementptr inbounds %struct.complex, ptr %19, i32 -1
  store ptr %20, ptr %8, align 8, !tbaa !5
  %21 = load ptr, ptr %7, align 8, !tbaa !5
  %22 = getelementptr inbounds %struct.complex, ptr %21, i32 -1
  store ptr %22, ptr %7, align 8, !tbaa !5
  %23 = load ptr, ptr %6, align 8, !tbaa !5
  %24 = getelementptr inbounds %struct.complex, ptr %23, i32 -1
  store ptr %24, ptr %6, align 8, !tbaa !5
  %25 = load ptr, ptr %5, align 8, !tbaa !5
  %26 = load i64, ptr %25, align 8, !tbaa !9
  store i64 %26, ptr %9, align 8, !tbaa !9
  store i64 1, ptr %17, align 8, !tbaa !9
  br label %27

27:                                               ; preds = %177, %4
  %28 = load i64, ptr %17, align 8, !tbaa !9
  %29 = load i64, ptr %9, align 8, !tbaa !9
  %30 = icmp sle i64 %28, %29
  br i1 %30, label %31, label %180

31:                                               ; preds = %27
  %32 = load i64, ptr %17, align 8, !tbaa !9
  store i64 %32, ptr %10, align 8, !tbaa !9
  %33 = load i64, ptr %17, align 8, !tbaa !9
  store i64 %33, ptr %11, align 8, !tbaa !9
  %34 = load ptr, ptr %6, align 8, !tbaa !5
  %35 = load i64, ptr %10, align 8, !tbaa !9
  %36 = getelementptr inbounds %struct.complex, ptr %34, i64 %35
  %37 = getelementptr inbounds %struct.complex, ptr %36, i32 0, i32 0
  %38 = load float, ptr %37, align 4, !tbaa !11
  %39 = load ptr, ptr %8, align 8, !tbaa !5
  %40 = load i64, ptr %11, align 8, !tbaa !9
  %41 = getelementptr inbounds %struct.complex, ptr %39, i64 %40
  %42 = getelementptr inbounds %struct.complex, ptr %41, i32 0, i32 0
  %43 = load float, ptr %42, align 4, !tbaa !11
  %44 = fadd float %38, %43
  %45 = getelementptr inbounds %struct.complex, ptr %14, i32 0, i32 0
  store float %44, ptr %45, align 4, !tbaa !11
  %46 = load ptr, ptr %6, align 8, !tbaa !5
  %47 = load i64, ptr %10, align 8, !tbaa !9
  %48 = getelementptr inbounds %struct.complex, ptr %46, i64 %47
  %49 = getelementptr inbounds %struct.complex, ptr %48, i32 0, i32 1
  %50 = load float, ptr %49, align 4, !tbaa !14
  %51 = load ptr, ptr %8, align 8, !tbaa !5
  %52 = load i64, ptr %11, align 8, !tbaa !9
  %53 = getelementptr inbounds %struct.complex, ptr %51, i64 %52
  %54 = getelementptr inbounds %struct.complex, ptr %53, i32 0, i32 1
  %55 = load float, ptr %54, align 4, !tbaa !14
  %56 = fadd float %50, %55
  %57 = getelementptr inbounds %struct.complex, ptr %14, i32 0, i32 1
  store float %56, ptr %57, align 4, !tbaa !14
  %58 = getelementptr inbounds %struct.complex, ptr %14, i32 0, i32 0
  %59 = load float, ptr %58, align 4, !tbaa !11
  %60 = getelementptr inbounds %struct.complex, ptr %18, i32 0, i32 0
  store float %59, ptr %60, align 4, !tbaa !11
  %61 = getelementptr inbounds %struct.complex, ptr %14, i32 0, i32 1
  %62 = load float, ptr %61, align 4, !tbaa !14
  %63 = getelementptr inbounds %struct.complex, ptr %18, i32 0, i32 1
  store float %62, ptr %63, align 4, !tbaa !14
  %64 = getelementptr inbounds %struct.complex, ptr %18, i32 0, i32 0
  %65 = load float, ptr %64, align 4, !tbaa !11
  %66 = getelementptr inbounds %struct.complex, ptr %18, i32 0, i32 0
  %67 = load float, ptr %66, align 4, !tbaa !11
  %68 = fadd float %65, %67
  %69 = getelementptr inbounds %struct.complex, ptr %15, i32 0, i32 0
  store float %68, ptr %69, align 4, !tbaa !11
  %70 = getelementptr inbounds %struct.complex, ptr %18, i32 0, i32 1
  %71 = load float, ptr %70, align 4, !tbaa !14
  %72 = getelementptr inbounds %struct.complex, ptr %18, i32 0, i32 1
  %73 = load float, ptr %72, align 4, !tbaa !14
  %74 = fadd float %71, %73
  %75 = getelementptr inbounds %struct.complex, ptr %15, i32 0, i32 1
  store float %74, ptr %75, align 4, !tbaa !14
  %76 = getelementptr inbounds %struct.complex, ptr %15, i32 0, i32 0
  %77 = load float, ptr %76, align 4, !tbaa !11
  %78 = getelementptr inbounds %struct.complex, ptr %18, i32 0, i32 0
  %79 = load float, ptr %78, align 4, !tbaa !11
  %80 = fsub float %77, %79
  %81 = getelementptr inbounds %struct.complex, ptr %14, i32 0, i32 0
  store float %80, ptr %81, align 4, !tbaa !11
  %82 = getelementptr inbounds %struct.complex, ptr %15, i32 0, i32 1
  %83 = load float, ptr %82, align 4, !tbaa !14
  %84 = getelementptr inbounds %struct.complex, ptr %18, i32 0, i32 1
  %85 = load float, ptr %84, align 4, !tbaa !14
  %86 = fsub float %83, %85
  %87 = getelementptr inbounds %struct.complex, ptr %14, i32 0, i32 1
  store float %86, ptr %87, align 4, !tbaa !14
  %88 = getelementptr inbounds %struct.complex, ptr %14, i32 0, i32 0
  %89 = load float, ptr %88, align 4, !tbaa !11
  %90 = getelementptr inbounds %struct.complex, ptr %18, i32 0, i32 0
  store float %89, ptr %90, align 4, !tbaa !11
  %91 = getelementptr inbounds %struct.complex, ptr %14, i32 0, i32 1
  %92 = load float, ptr %91, align 4, !tbaa !14
  %93 = getelementptr inbounds %struct.complex, ptr %18, i32 0, i32 1
  store float %92, ptr %93, align 4, !tbaa !14
  %94 = load i64, ptr %17, align 8, !tbaa !9
  store i64 %94, ptr %10, align 8, !tbaa !9
  %95 = load i64, ptr %17, align 8, !tbaa !9
  store i64 %95, ptr %11, align 8, !tbaa !9
  %96 = load ptr, ptr %6, align 8, !tbaa !5
  %97 = load i64, ptr %11, align 8, !tbaa !9
  %98 = getelementptr inbounds %struct.complex, ptr %96, i64 %97
  %99 = getelementptr inbounds %struct.complex, ptr %98, i32 0, i32 0
  %100 = load float, ptr %99, align 4, !tbaa !11
  %101 = getelementptr inbounds %struct.complex, ptr %18, i32 0, i32 0
  %102 = load float, ptr %101, align 4, !tbaa !11
  %103 = fsub float %100, %102
  %104 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 0
  store float %103, ptr %104, align 4, !tbaa !11
  %105 = load ptr, ptr %6, align 8, !tbaa !5
  %106 = load i64, ptr %11, align 8, !tbaa !9
  %107 = getelementptr inbounds %struct.complex, ptr %105, i64 %106
  %108 = getelementptr inbounds %struct.complex, ptr %107, i32 0, i32 1
  %109 = load float, ptr %108, align 4, !tbaa !14
  %110 = getelementptr inbounds %struct.complex, ptr %18, i32 0, i32 1
  %111 = load float, ptr %110, align 4, !tbaa !14
  %112 = fsub float %109, %111
  %113 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 1
  store float %112, ptr %113, align 4, !tbaa !14
  %114 = load i64, ptr %17, align 8, !tbaa !9
  store i64 %114, ptr %12, align 8, !tbaa !9
  %115 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 0
  %116 = load float, ptr %115, align 4, !tbaa !11
  %117 = load ptr, ptr %8, align 8, !tbaa !5
  %118 = load i64, ptr %12, align 8, !tbaa !9
  %119 = getelementptr inbounds %struct.complex, ptr %117, i64 %118
  %120 = getelementptr inbounds %struct.complex, ptr %119, i32 0, i32 0
  %121 = load float, ptr %120, align 4, !tbaa !11
  %122 = fadd float %116, %121
  %123 = getelementptr inbounds %struct.complex, ptr %15, i32 0, i32 0
  store float %122, ptr %123, align 4, !tbaa !11
  %124 = getelementptr inbounds %struct.complex, ptr %16, i32 0, i32 1
  %125 = load float, ptr %124, align 4, !tbaa !14
  %126 = load ptr, ptr %8, align 8, !tbaa !5
  %127 = load i64, ptr %12, align 8, !tbaa !9
  %128 = getelementptr inbounds %struct.complex, ptr %126, i64 %127
  %129 = getelementptr inbounds %struct.complex, ptr %128, i32 0, i32 1
  %130 = load float, ptr %129, align 4, !tbaa !14
  %131 = fadd float %125, %130
  %132 = getelementptr inbounds %struct.complex, ptr %15, i32 0, i32 1
  store float %131, ptr %132, align 4, !tbaa !14
  %133 = load i64, ptr %17, align 8, !tbaa !9
  store i64 %133, ptr %13, align 8, !tbaa !9
  %134 = getelementptr inbounds %struct.complex, ptr %15, i32 0, i32 0
  %135 = load float, ptr %134, align 4, !tbaa !11
  %136 = load ptr, ptr %7, align 8, !tbaa !5
  %137 = load i64, ptr %13, align 8, !tbaa !9
  %138 = getelementptr inbounds %struct.complex, ptr %136, i64 %137
  %139 = getelementptr inbounds %struct.complex, ptr %138, i32 0, i32 0
  %140 = load float, ptr %139, align 4, !tbaa !11
  %141 = fadd float %135, %140
  %142 = getelementptr inbounds %struct.complex, ptr %14, i32 0, i32 0
  store float %141, ptr %142, align 4, !tbaa !11
  %143 = getelementptr inbounds %struct.complex, ptr %15, i32 0, i32 1
  %144 = load float, ptr %143, align 4, !tbaa !14
  %145 = load ptr, ptr %7, align 8, !tbaa !5
  %146 = load i64, ptr %13, align 8, !tbaa !9
  %147 = getelementptr inbounds %struct.complex, ptr %145, i64 %146
  %148 = getelementptr inbounds %struct.complex, ptr %147, i32 0, i32 1
  %149 = load float, ptr %148, align 4, !tbaa !14
  %150 = fadd float %144, %149
  %151 = getelementptr inbounds %struct.complex, ptr %14, i32 0, i32 1
  store float %150, ptr %151, align 4, !tbaa !14
  %152 = getelementptr inbounds %struct.complex, ptr %14, i32 0, i32 0
  %153 = load float, ptr %152, align 4, !tbaa !11
  %154 = load ptr, ptr %7, align 8, !tbaa !5
  %155 = load i64, ptr %10, align 8, !tbaa !9
  %156 = getelementptr inbounds %struct.complex, ptr %154, i64 %155
  %157 = getelementptr inbounds %struct.complex, ptr %156, i32 0, i32 0
  store float %153, ptr %157, align 4, !tbaa !11
  %158 = getelementptr inbounds %struct.complex, ptr %14, i32 0, i32 1
  %159 = load float, ptr %158, align 4, !tbaa !14
  %160 = load ptr, ptr %7, align 8, !tbaa !5
  %161 = load i64, ptr %10, align 8, !tbaa !9
  %162 = getelementptr inbounds %struct.complex, ptr %160, i64 %161
  %163 = getelementptr inbounds %struct.complex, ptr %162, i32 0, i32 1
  store float %159, ptr %163, align 4, !tbaa !14
  %164 = load i64, ptr %17, align 8, !tbaa !9
  store i64 %164, ptr %10, align 8, !tbaa !9
  %165 = getelementptr inbounds %struct.complex, ptr %18, i32 0, i32 0
  %166 = load float, ptr %165, align 4, !tbaa !11
  %167 = load ptr, ptr %6, align 8, !tbaa !5
  %168 = load i64, ptr %10, align 8, !tbaa !9
  %169 = getelementptr inbounds %struct.complex, ptr %167, i64 %168
  %170 = getelementptr inbounds %struct.complex, ptr %169, i32 0, i32 0
  store float %166, ptr %170, align 4, !tbaa !11
  %171 = getelementptr inbounds %struct.complex, ptr %18, i32 0, i32 1
  %172 = load float, ptr %171, align 4, !tbaa !14
  %173 = load ptr, ptr %6, align 8, !tbaa !5
  %174 = load i64, ptr %10, align 8, !tbaa !9
  %175 = getelementptr inbounds %struct.complex, ptr %173, i64 %174
  %176 = getelementptr inbounds %struct.complex, ptr %175, i32 0, i32 1
  store float %172, ptr %176, align 4, !tbaa !14
  br label %177

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

180:                                              ; preds = %27
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %12) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %11) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %10) #2
  call void @llvm.lifetime.end.p0(i64 8, ptr %9) #2
  ret i32 0
}

; 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 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 = { 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"}


; 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 @cla_wwaddw__(ptr nocapture noundef readonly %0, ptr nocapture noundef %1, ptr nocapture noundef %2, ptr nocapture noundef readonly %3) local_unnamed_addr #0 {
  %5 = getelementptr inbounds i8, ptr %3, i64 -8
  %6 = getelementptr inbounds i8, ptr %2, i64 -8
  %7 = getelementptr inbounds i8, ptr %1, i64 -8
  %8 = load i64, ptr %0, align 8, !tbaa !5
  %.not58 = icmp slt i64 %8, 1
  br i1 %.not58, label %._crit_edge, label %.lr.ph.preheader

.lr.ph.preheader:                                 ; preds = %4
  %min.iters.check = icmp ult i64 %8, 8
  br i1 %min.iters.check, label %.lr.ph.preheader95, label %vector.memcheck

vector.memcheck:                                  ; preds = %.lr.ph.preheader
  %9 = shl i64 %8, 3
  %10 = add i64 %9, -4
  %scevgep = getelementptr i8, ptr %2, i64 %10
  %scevgep60 = getelementptr i8, ptr %1, i64 %10
  %scevgep61 = getelementptr i8, ptr %3, i64 %10
  %scevgep62 = getelementptr i8, ptr %2, i64 4
  %scevgep63 = getelementptr i8, ptr %2, i64 %9
  %scevgep64 = getelementptr i8, ptr %1, i64 4
  %scevgep65 = getelementptr i8, ptr %1, i64 %9
  %scevgep66 = getelementptr i8, ptr %3, i64 4
  %scevgep67 = getelementptr i8, ptr %3, i64 %9
  %bound0 = icmp ugt ptr %scevgep60, %2
  %bound1 = icmp ugt ptr %scevgep, %1
  %found.conflict = and i1 %bound0, %bound1
  %bound068 = icmp ugt ptr %scevgep61, %2
  %bound169 = icmp ugt ptr %scevgep, %3
  %found.conflict70 = and i1 %bound068, %bound169
  %conflict.rdx = or i1 %found.conflict, %found.conflict70
  %bound071 = icmp ugt ptr %scevgep61, %1
  %bound172 = icmp ugt ptr %scevgep60, %3
  %found.conflict73 = and i1 %bound071, %bound172
  %conflict.rdx74 = or i1 %conflict.rdx, %found.conflict73
  %bound075 = icmp ult ptr %scevgep62, %scevgep65
  %bound176 = icmp ult ptr %scevgep64, %scevgep63
  %found.conflict77 = and i1 %bound075, %bound176
  %conflict.rdx78 = or i1 %conflict.rdx74, %found.conflict77
  %bound079 = icmp ult ptr %scevgep62, %scevgep67
  %bound180 = icmp ult ptr %scevgep66, %scevgep63
  %found.conflict81 = and i1 %bound079, %bound180
  %conflict.rdx82 = or i1 %conflict.rdx78, %found.conflict81
  %bound083 = icmp ult ptr %scevgep64, %scevgep67
  %bound184 = icmp ult ptr %scevgep66, %scevgep65
  %found.conflict85 = and i1 %bound083, %bound184
  %conflict.rdx86 = or i1 %conflict.rdx82, %found.conflict85
  br i1 %conflict.rdx86, label %.lr.ph.preheader95, label %vector.ph

vector.ph:                                        ; preds = %vector.memcheck
  %n.vec = and i64 %8, 9223372036854775804
  %ind.end = or disjoint i64 %n.vec, 1
  br label %vector.body

vector.body:                                      ; preds = %vector.body, %vector.ph
  %index = phi i64 [ 0, %vector.ph ], [ %index.next, %vector.body ]
  %11 = getelementptr %struct.complex, ptr %1, i64 %index
  %wide.vec = load <8 x float>, ptr %11, align 4, !tbaa !9
  %strided.vec = shufflevector <8 x float> %wide.vec, <8 x float> poison, <4 x i32> <i32 0, i32 2, i32 4, i32 6>
  %strided.vec87 = shufflevector <8 x float> %wide.vec, <8 x float> poison, <4 x i32> <i32 1, i32 3, i32 5, i32 7>
  %12 = getelementptr %struct.complex, ptr %3, i64 %index
  %wide.vec88 = load <8 x float>, ptr %12, align 4, !tbaa !9
  %strided.vec89 = shufflevector <8 x float> %wide.vec88, <8 x float> poison, <4 x i32> <i32 0, i32 2, i32 4, i32 6>
  %strided.vec90 = shufflevector <8 x float> %wide.vec88, <8 x float> poison, <4 x i32> <i32 1, i32 3, i32 5, i32 7>
  %13 = fadd <4 x float> %strided.vec, %strided.vec89
  %14 = fadd <4 x float> %strided.vec87, %strided.vec90
  %15 = fadd <4 x float> %13, %13
  %16 = fadd <4 x float> %14, %14
  %17 = fsub <4 x float> %15, %13
  %18 = fsub <4 x float> %16, %14
  %19 = fsub <4 x float> %strided.vec, %17
  %20 = fsub <4 x float> %strided.vec87, %18
  %21 = fadd <4 x float> %strided.vec89, %19
  %22 = fadd <4 x float> %strided.vec90, %20
  %23 = getelementptr %struct.complex, ptr %2, i64 %index
  %wide.vec91 = load <8 x float>, ptr %23, align 4, !tbaa !9
  %strided.vec92 = shufflevector <8 x float> %wide.vec91, <8 x float> poison, <4 x i32> <i32 0, i32 2, i32 4, i32 6>
  %strided.vec93 = shufflevector <8 x float> %wide.vec91, <8 x float> poison, <4 x i32> <i32 1, i32 3, i32 5, i32 7>
  %24 = fadd <4 x float> %strided.vec92, %21
  %25 = fadd <4 x float> %strided.vec93, %22
  %interleaved.vec = shufflevector <4 x float> %24, <4 x float> %25, <8 x i32> <i32 0, i32 4, i32 1, i32 5, i32 2, i32 6, i32 3, i32 7>
  store <8 x float> %interleaved.vec, ptr %23, align 4, !tbaa !9
  %interleaved.vec94 = shufflevector <4 x float> %17, <4 x float> %18, <8 x i32> <i32 0, i32 4, i32 1, i32 5, i32 2, i32 6, i32 3, i32 7>
  store <8 x float> %interleaved.vec94, ptr %11, align 4, !tbaa !9
  %index.next = add nuw i64 %index, 4
  %26 = icmp eq i64 %index.next, %n.vec
  br i1 %26, label %middle.block, label %vector.body, !llvm.loop !11

middle.block:                                     ; preds = %vector.body
  %cmp.n = icmp eq i64 %8, %n.vec
  br i1 %cmp.n, label %._crit_edge, label %.lr.ph.preheader95

.lr.ph.preheader95:                               ; preds = %middle.block, %vector.memcheck, %.lr.ph.preheader
  %.059.ph = phi i64 [ 1, %vector.memcheck ], [ 1, %.lr.ph.preheader ], [ %ind.end, %middle.block ]
  br label %.lr.ph

.lr.ph:                                           ; preds = %.lr.ph.preheader95, %.lr.ph
  %.059 = phi i64 [ %39, %.lr.ph ], [ %.059.ph, %.lr.ph.preheader95 ]
  %27 = getelementptr inbounds %struct.complex, ptr %7, i64 %.059
  %28 = getelementptr inbounds %struct.complex, ptr %5, i64 %.059
  %29 = getelementptr inbounds %struct.complex, ptr %6, i64 %.059
  %30 = load <2 x float>, ptr %27, align 4, !tbaa !9
  %31 = load <2 x float>, ptr %28, align 4, !tbaa !9
  %32 = fadd <2 x float> %30, %31
  %33 = fadd <2 x float> %32, %32
  %34 = fsub <2 x float> %33, %32
  %35 = fsub <2 x float> %30, %34
  %36 = fadd <2 x float> %31, %35
  %37 = load <2 x float>, ptr %29, align 4, !tbaa !9
  %38 = fadd <2 x float> %37, %36
  store <2 x float> %38, ptr %29, align 4, !tbaa !9
  store <2 x float> %34, ptr %27, align 4, !tbaa !9
  %39 = add nuw i64 %.059, 1
  %exitcond.not = icmp eq i64 %.059, %8
  br i1 %exitcond.not, label %._crit_edge, label %.lr.ph, !llvm.loop !15

._crit_edge:                                      ; preds = %.lr.ph, %middle.block, %4
  ret i32 0
}

attributes #0 = { nofree norecurse nosync nounwind memory(argmem: readwrite) uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }

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

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


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