; LLVM IR from aferikoglou/GenHLSOptimizer :: dataset/rodinia-backprop-4-doublebuffer-forward (backprop_kernel)

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

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

; Function Attrs: nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

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

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

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

; Function Attrs: mustprogress uwtable
define dso_local void @workload(ptr noundef %0, ptr noundef %1, ptr noundef %2) #3 {
  %4 = alloca ptr, align 8
  %5 = alloca ptr, align 8
  %6 = alloca ptr, align 8
  %7 = alloca [16 x float], align 16
  %8 = alloca i32, align 4
  %9 = alloca i32, align 4
  %10 = alloca i32, align 4
  %11 = alloca [65536 x float], align 16
  %12 = alloca [8192 x [16 x float]], align 16
  %13 = alloca [8192 x [16 x float]], align 16
  %14 = alloca [16 x float], align 16
  %15 = alloca i32, align 4
  %16 = alloca i32, align 4
  store ptr %0, ptr %4, align 8, !tbaa !5
  store ptr %1, ptr %5, align 8, !tbaa !5
  store ptr %2, ptr %6, align 8, !tbaa !5
  br label %17

17:                                               ; preds = %3
  call void @llvm.lifetime.start.p0(i64 64, ptr %7) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.start.p0(i64 4, ptr %10) #5
  br label %18

18:                                               ; preds = %17
  call void @llvm.lifetime.start.p0(i64 262144, ptr %11) #5
  br label %19

19:                                               ; preds = %18
  call void @llvm.lifetime.start.p0(i64 524288, ptr %12) #5
  br label %20

20:                                               ; preds = %19
  call void @llvm.lifetime.start.p0(i64 524288, ptr %13) #5
  br label %21

21:                                               ; preds = %20
  call void @llvm.lifetime.start.p0(i64 64, ptr %14) #5
  %22 = getelementptr inbounds [65536 x float], ptr %11, i64 0, i64 0
  %23 = load ptr, ptr %4, align 8, !tbaa !5
  %24 = getelementptr inbounds float, ptr %23, i64 1
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %22, ptr align 4 %24, i64 262144, i1 false)
  %25 = getelementptr inbounds [16 x float], ptr %7, i64 0, i64 0
  %26 = load ptr, ptr %6, align 8, !tbaa !5
  call void @llvm.memcpy.p0.p0.i64(ptr align 16 %25, ptr align 4 %26, i64 64, i1 false)
  br label %27

27:                                               ; preds = %21
  br label %28

28:                                               ; preds = %27
  store i32 0, ptr %10, align 4, !tbaa !9
  br label %29

29:                                               ; preds = %73, %28
  %30 = load i32, ptr %10, align 4, !tbaa !9
  %31 = icmp slt i32 %30, 73728
  br i1 %31, label %32, label %76

32:                                               ; preds = %29
  call void @llvm.lifetime.start.p0(i64 4, ptr %15) #5
  %33 = load i32, ptr %10, align 4, !tbaa !9
  %34 = icmp slt i32 %33, 65536
  %35 = zext i1 %34 to i32
  store i32 %35, ptr %15, align 4, !tbaa !9
  call void @llvm.lifetime.start.p0(i64 4, ptr %16) #5
  %36 = load i32, ptr %10, align 4, !tbaa !9
  %37 = icmp sge i32 %36, 8192
  %38 = zext i1 %37 to i32
  store i32 %38, ptr %16, align 4, !tbaa !9
  %39 = load i32, ptr %10, align 4, !tbaa !9
  %40 = sdiv i32 %39, 8192
  %41 = srem i32 %40, 2
  store i32 %41, ptr %8, align 4, !tbaa !9
  %42 = load i32, ptr %8, align 4, !tbaa !9
  %43 = icmp eq i32 %42, 0
  br i1 %43, label %44, label %58

44:                                               ; preds = %32
  %45 = load i32, ptr %15, align 4, !tbaa !9
  %46 = load ptr, ptr %6, align 8, !tbaa !5
  %47 = load i32, ptr %10, align 4, !tbaa !9
  %48 = add nsw i32 %47, 1
  %49 = mul nsw i32 %48, 16
  %50 = sext i32 %49 to i64
  %51 = getelementptr inbounds float, ptr %46, i64 %50
  %52 = getelementptr inbounds [8192 x [16 x float]], ptr %12, i64 0, i64 0
  call void @buffer_load(i32 noundef %45, ptr noundef %51, ptr noundef %52)
  %53 = load i32, ptr %16, align 4, !tbaa !9
  %54 = load i32, ptr %10, align 4, !tbaa !9
  %55 = getelementptr inbounds [65536 x float], ptr %11, i64 0, i64 0
  %56 = getelementptr inbounds [8192 x [16 x float]], ptr %13, i64 0, i64 0
  %57 = getelementptr inbounds [16 x float], ptr %7, i64 0, i64 0
  call void @buffer_compute(i32 noundef %53, i32 noundef %54, ptr noundef %55, ptr noundef %56, ptr noundef %57)
  br label %72

58:                                               ; preds = %32
  %59 = load i32, ptr %15, align 4, !tbaa !9
  %60 = load ptr, ptr %6, align 8, !tbaa !5
  %61 = load i32, ptr %10, align 4, !tbaa !9
  %62 = add nsw i32 %61, 1
  %63 = mul nsw i32 %62, 16
  %64 = sext i32 %63 to i64
  %65 = getelementptr inbounds float, ptr %60, i64 %64
  %66 = getelementptr inbounds [8192 x [16 x float]], ptr %13, i64 0, i64 0
  call void @buffer_load(i32 noundef %59, ptr noundef %65, ptr noundef %66)
  %67 = load i32, ptr %16, align 4, !tbaa !9
  %68 = load i32, ptr %10, align 4, !tbaa !9
  %69 = getelementptr inbounds [65536 x float], ptr %11, i64 0, i64 0
  %70 = getelementptr inbounds [8192 x [16 x float]], ptr %12, i64 0, i64 0
  %71 = getelementptr inbounds [16 x float], ptr %7, i64 0, i64 0
  call void @buffer_compute(i32 noundef %67, i32 noundef %68, ptr noundef %69, ptr noundef %70, ptr noundef %71)
  br label %72

72:                                               ; preds = %58, %44
  call void @llvm.lifetime.end.p0(i64 4, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %15) #5
  br label %73

73:                                               ; preds = %72
  %74 = load i32, ptr %10, align 4, !tbaa !9
  %75 = add nsw i32 %74, 8192
  store i32 %75, ptr %10, align 4, !tbaa !9
  br label %29, !llvm.loop !11

76:                                               ; preds = %29
  br label %77

77:                                               ; preds = %76
  br label %78

78:                                               ; preds = %77
  store i32 0, ptr %9, align 4, !tbaa !9
  br label %79

79:                                               ; preds = %96, %78
  %80 = load i32, ptr %9, align 4, !tbaa !9
  %81 = icmp slt i32 %80, 16
  br i1 %81, label %82, label %99

82:                                               ; preds = %79
  %83 = load i32, ptr %9, align 4, !tbaa !9
  %84 = sext i32 %83 to i64
  %85 = getelementptr inbounds [16 x float], ptr %7, i64 0, i64 %84
  %86 = load float, ptr %85, align 4, !tbaa !13
  %87 = fneg float %86
  %88 = call noundef float @_ZSt3expf(float noundef %87)
  %89 = fpext float %88 to double
  %90 = fadd double 1.000000e+00, %89
  %91 = fdiv double 1.000000e+00, %90
  %92 = fptrunc double %91 to float
  %93 = load i32, ptr %9, align 4, !tbaa !9
  %94 = sext i32 %93 to i64
  %95 = getelementptr inbounds [16 x float], ptr %14, i64 0, i64 %94
  store float %92, ptr %95, align 4, !tbaa !13
  br label %96

96:                                               ; preds = %82
  %97 = load i32, ptr %9, align 4, !tbaa !9
  %98 = add nsw i32 %97, 1
  store i32 %98, ptr %9, align 4, !tbaa !9
  br label %79, !llvm.loop !15

99:                                               ; preds = %79
  %100 = load ptr, ptr %5, align 8, !tbaa !5
  %101 = getelementptr inbounds float, ptr %100, i64 1
  %102 = getelementptr inbounds [16 x float], ptr %14, i64 0, i64 0
  call void @llvm.memcpy.p0.p0.i64(ptr align 4 %101, ptr align 16 %102, i64 64, i1 false)
  call void @llvm.lifetime.end.p0(i64 64, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 524288, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 524288, ptr %12) #5
  call void @llvm.lifetime.end.p0(i64 262144, ptr %11) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %10) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %9) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %8) #5
  call void @llvm.lifetime.end.p0(i64 64, ptr %7) #5
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt3expf(float noundef) #4

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 nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { mustprogress 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 #4 = { inlinehint 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 #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 = !{!"any pointer", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"int", !7, i64 0}
!11 = distinct !{!11, !12}
!12 = !{!"llvm.loop.mustprogress"}
!13 = !{!14, !14, i64 0}
!14 = !{!"float", !7, i64 0}
!15 = distinct !{!15, !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"

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

; Function Attrs: mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite)
declare void @llvm.memcpy.p0.p0.i64(ptr noalias nocapture writeonly, ptr noalias nocapture readonly, i64, i1 immarg) #1

; Function Attrs: mustprogress nounwind uwtable
declare dso_local void @buffer_compute(i32 noundef, i32 noundef, 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.start.p0(i64 immarg, ptr nocapture) #2

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

; Function Attrs: mustprogress nounwind uwtable
define dso_local void @workload(ptr nocapture noundef readonly %0, ptr nocapture noundef writeonly %1, ptr noundef %2) local_unnamed_addr #0 {
.preheader.preheader:
  %3 = alloca [16 x float], align 16
  %4 = alloca [65536 x float], align 16
  %5 = alloca [8192 x [16 x float]], align 16
  %6 = alloca [8192 x [16 x float]], align 16
  call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %3) #4
  call void @llvm.lifetime.start.p0(i64 262144, ptr nonnull %4) #4
  call void @llvm.lifetime.start.p0(i64 524288, ptr nonnull %5) #4
  call void @llvm.lifetime.start.p0(i64 524288, ptr nonnull %6) #4
  %7 = getelementptr inbounds i8, ptr %0, i64 4
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(262144) %4, ptr noundef nonnull align 4 dereferenceable(262144) %7, i64 262144, i1 false)
  call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 16 dereferenceable(64) %3, ptr noundef nonnull align 4 dereferenceable(64) %2, i64 64, i1 false)
  %8 = getelementptr inbounds i8, ptr %2, i64 64
  call void @buffer_load(i32 noundef 1, ptr noundef nonnull %8, ptr noundef nonnull %5)
  call void @buffer_compute(i32 noundef 0, i32 noundef 0, ptr noundef nonnull %4, ptr noundef nonnull %6, ptr noundef nonnull %3)
  %9 = getelementptr inbounds i8, ptr %2, i64 524352
  call void @buffer_load(i32 noundef 1, ptr noundef nonnull %9, ptr noundef nonnull %6)
  call void @buffer_compute(i32 noundef 1, i32 noundef 8192, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %3)
  %10 = getelementptr inbounds i8, ptr %2, i64 1048640
  call void @buffer_load(i32 noundef 1, ptr noundef nonnull %10, ptr noundef nonnull %5)
  call void @buffer_compute(i32 noundef 1, i32 noundef 16384, ptr noundef nonnull %4, ptr noundef nonnull %6, ptr noundef nonnull %3)
  %11 = getelementptr inbounds i8, ptr %2, i64 1572928
  call void @buffer_load(i32 noundef 1, ptr noundef nonnull %11, ptr noundef nonnull %6)
  call void @buffer_compute(i32 noundef 1, i32 noundef 24576, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %3)
  %12 = getelementptr inbounds i8, ptr %2, i64 2097216
  call void @buffer_load(i32 noundef 1, ptr noundef nonnull %12, ptr noundef nonnull %5)
  call void @buffer_compute(i32 noundef 1, i32 noundef 32768, ptr noundef nonnull %4, ptr noundef nonnull %6, ptr noundef nonnull %3)
  %13 = getelementptr inbounds i8, ptr %2, i64 2621504
  call void @buffer_load(i32 noundef 1, ptr noundef nonnull %13, ptr noundef nonnull %6)
  call void @buffer_compute(i32 noundef 1, i32 noundef 40960, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %3)
  %14 = getelementptr inbounds i8, ptr %2, i64 3145792
  call void @buffer_load(i32 noundef 1, ptr noundef nonnull %14, ptr noundef nonnull %5)
  call void @buffer_compute(i32 noundef 1, i32 noundef 49152, ptr noundef nonnull %4, ptr noundef nonnull %6, ptr noundef nonnull %3)
  %15 = getelementptr inbounds i8, ptr %2, i64 3670080
  call void @buffer_load(i32 noundef 1, ptr noundef nonnull %15, ptr noundef nonnull %6)
  call void @buffer_compute(i32 noundef 1, i32 noundef 57344, ptr noundef nonnull %4, ptr noundef nonnull %5, ptr noundef nonnull %3)
  %16 = getelementptr inbounds i8, ptr %2, i64 4194368
  call void @buffer_load(i32 noundef 0, ptr noundef nonnull %16, ptr noundef nonnull %5)
  call void @buffer_compute(i32 noundef 1, i32 noundef 65536, ptr noundef nonnull %4, ptr noundef nonnull %6, ptr noundef nonnull %3)
  %17 = load float, ptr %3, align 16, !tbaa !5
  %18 = fneg float %17
  %19 = call noundef float @_ZSt3expf(float noundef %18)
  %20 = getelementptr inbounds i8, ptr %3, i64 4
  %21 = load float, ptr %20, align 4, !tbaa !5
  %22 = fneg float %21
  %23 = call noundef float @_ZSt3expf(float noundef %22)
  %24 = getelementptr inbounds i8, ptr %3, i64 8
  %25 = load float, ptr %24, align 8, !tbaa !5
  %26 = fneg float %25
  %27 = call noundef float @_ZSt3expf(float noundef %26)
  %28 = getelementptr inbounds i8, ptr %3, i64 12
  %29 = load float, ptr %28, align 4, !tbaa !5
  %30 = fneg float %29
  %31 = call noundef float @_ZSt3expf(float noundef %30)
  %32 = getelementptr inbounds i8, ptr %3, i64 16
  %33 = load float, ptr %32, align 16, !tbaa !5
  %34 = fneg float %33
  %35 = call noundef float @_ZSt3expf(float noundef %34)
  %36 = getelementptr inbounds i8, ptr %3, i64 20
  %37 = load float, ptr %36, align 4, !tbaa !5
  %38 = fneg float %37
  %39 = call noundef float @_ZSt3expf(float noundef %38)
  %40 = getelementptr inbounds i8, ptr %3, i64 24
  %41 = load float, ptr %40, align 8, !tbaa !5
  %42 = fneg float %41
  %43 = call noundef float @_ZSt3expf(float noundef %42)
  %44 = getelementptr inbounds i8, ptr %3, i64 28
  %45 = load float, ptr %44, align 4, !tbaa !5
  %46 = fneg float %45
  %47 = call noundef float @_ZSt3expf(float noundef %46)
  %48 = getelementptr inbounds i8, ptr %3, i64 32
  %49 = load float, ptr %48, align 16, !tbaa !5
  %50 = fneg float %49
  %51 = call noundef float @_ZSt3expf(float noundef %50)
  %52 = getelementptr inbounds i8, ptr %3, i64 36
  %53 = load float, ptr %52, align 4, !tbaa !5
  %54 = fneg float %53
  %55 = call noundef float @_ZSt3expf(float noundef %54)
  %56 = getelementptr inbounds i8, ptr %3, i64 40
  %57 = load float, ptr %56, align 8, !tbaa !5
  %58 = fneg float %57
  %59 = call noundef float @_ZSt3expf(float noundef %58)
  %60 = getelementptr inbounds i8, ptr %3, i64 44
  %61 = load float, ptr %60, align 4, !tbaa !5
  %62 = fneg float %61
  %63 = call noundef float @_ZSt3expf(float noundef %62)
  %64 = getelementptr inbounds i8, ptr %3, i64 48
  %65 = load float, ptr %64, align 16, !tbaa !5
  %66 = fneg float %65
  %67 = call noundef float @_ZSt3expf(float noundef %66)
  %68 = getelementptr inbounds i8, ptr %3, i64 52
  %69 = load float, ptr %68, align 4, !tbaa !5
  %70 = fneg float %69
  %71 = call noundef float @_ZSt3expf(float noundef %70)
  %72 = getelementptr inbounds i8, ptr %3, i64 56
  %73 = load float, ptr %72, align 8, !tbaa !5
  %74 = fneg float %73
  %75 = call noundef float @_ZSt3expf(float noundef %74)
  %76 = getelementptr inbounds i8, ptr %3, i64 60
  %77 = load float, ptr %76, align 4, !tbaa !5
  %78 = fneg float %77
  %79 = call noundef float @_ZSt3expf(float noundef %78)
  %80 = getelementptr inbounds i8, ptr %1, i64 4
  %81 = insertelement <4 x float> poison, float %19, i64 0
  %82 = insertelement <4 x float> %81, float %23, i64 1
  %83 = insertelement <4 x float> %82, float %27, i64 2
  %84 = insertelement <4 x float> %83, float %31, i64 3
  %85 = fpext <4 x float> %84 to <4 x double>
  %86 = fadd <4 x double> %85, <double 1.000000e+00, double 1.000000e+00, double 1.000000e+00, double 1.000000e+00>
  %87 = fdiv <4 x double> <double 1.000000e+00, double 1.000000e+00, double 1.000000e+00, double 1.000000e+00>, %86
  %88 = fptrunc <4 x double> %87 to <4 x float>
  store <4 x float> %88, ptr %80, align 4
  %.sroa.7.0..sroa_idx = getelementptr inbounds i8, ptr %1, i64 20
  %89 = insertelement <4 x float> poison, float %35, i64 0
  %90 = insertelement <4 x float> %89, float %39, i64 1
  %91 = insertelement <4 x float> %90, float %43, i64 2
  %92 = insertelement <4 x float> %91, float %47, i64 3
  %93 = fpext <4 x float> %92 to <4 x double>
  %94 = fadd <4 x double> %93, <double 1.000000e+00, double 1.000000e+00, double 1.000000e+00, double 1.000000e+00>
  %95 = fdiv <4 x double> <double 1.000000e+00, double 1.000000e+00, double 1.000000e+00, double 1.000000e+00>, %94
  %96 = fptrunc <4 x double> %95 to <4 x float>
  store <4 x float> %96, ptr %.sroa.7.0..sroa_idx, align 4
  %.sroa.11.0..sroa_idx = getelementptr inbounds i8, ptr %1, i64 36
  %97 = insertelement <4 x float> poison, float %51, i64 0
  %98 = insertelement <4 x float> %97, float %55, i64 1
  %99 = insertelement <4 x float> %98, float %59, i64 2
  %100 = insertelement <4 x float> %99, float %63, i64 3
  %101 = fpext <4 x float> %100 to <4 x double>
  %102 = fadd <4 x double> %101, <double 1.000000e+00, double 1.000000e+00, double 1.000000e+00, double 1.000000e+00>
  %103 = fdiv <4 x double> <double 1.000000e+00, double 1.000000e+00, double 1.000000e+00, double 1.000000e+00>, %102
  %104 = fptrunc <4 x double> %103 to <4 x float>
  store <4 x float> %104, ptr %.sroa.11.0..sroa_idx, align 4
  %.sroa.15.0..sroa_idx = getelementptr inbounds i8, ptr %1, i64 52
  %105 = insertelement <4 x float> poison, float %67, i64 0
  %106 = insertelement <4 x float> %105, float %71, i64 1
  %107 = insertelement <4 x float> %106, float %75, i64 2
  %108 = insertelement <4 x float> %107, float %79, i64 3
  %109 = fpext <4 x float> %108 to <4 x double>
  %110 = fadd <4 x double> %109, <double 1.000000e+00, double 1.000000e+00, double 1.000000e+00, double 1.000000e+00>
  %111 = fdiv <4 x double> <double 1.000000e+00, double 1.000000e+00, double 1.000000e+00, double 1.000000e+00>, %110
  %112 = fptrunc <4 x double> %111 to <4 x float>
  store <4 x float> %112, ptr %.sroa.15.0..sroa_idx, align 4
  call void @llvm.lifetime.end.p0(i64 524288, ptr nonnull %6) #4
  call void @llvm.lifetime.end.p0(i64 524288, ptr nonnull %5) #4
  call void @llvm.lifetime.end.p0(i64 262144, ptr nonnull %4) #4
  call void @llvm.lifetime.end.p0(i64 64, ptr nonnull %3) #4
  ret void
}

; Function Attrs: inlinehint mustprogress nounwind uwtable
declare dso_local noundef float @_ZSt3expf(float noundef) local_unnamed_addr #3

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 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { inlinehint 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 #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++ TBAA"}


; Effective O3 passes: EarlyCSEPass,GVNPass,GlobalOptPass,IndVarSimplifyPass,InferAlignmentPass,InferFunctionAttrsPass,InstCombinePass,LoopRotatePass,LoopSimplifyPass,LoopUnrollPass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,SimplifyCFGPass