; LLVM IR from sourceryinstitute/MORFEUS-Source :: src/FV/src/mesh_optimize/OptMS (SMfunc2d)

; 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.1 = external hidden unnamed_addr constant [108 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [34 x i8], align 1

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

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

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

; Function Attrs: nounwind
declare double @sqrt(double noundef) #3

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

; Function Attrs: nounwind uwtable
define dso_local i32 @SMcomputeAreaLengthRatioGradients(ptr noundef %0, ptr noundef %1, ptr noundef %2, ptr noundef %3, ptr noundef %4) #4 {
  %6 = alloca i32, align 4
  %7 = alloca ptr, align 8
  %8 = alloca ptr, align 8
  %9 = alloca ptr, align 8
  %10 = alloca ptr, align 8
  %11 = alloca ptr, align 8
  %12 = alloca i32, align 4
  %13 = alloca double, align 8
  %14 = alloca double, align 8
  %15 = alloca double, align 8
  %16 = alloca double, align 8
  %17 = alloca double, align 8
  %18 = alloca double, align 8
  %19 = alloca double, align 8
  %20 = alloca double, align 8
  %21 = alloca double, align 8
  %22 = alloca double, align 8
  %23 = alloca double, align 8
  %24 = alloca double, align 8
  %25 = alloca double, align 8
  %26 = alloca double, align 8
  %27 = alloca double, align 8
  %28 = alloca double, align 8
  %29 = alloca double, align 8
  %30 = alloca double, align 8
  %31 = alloca i32, align 4
  store ptr %0, ptr %7, align 8, !tbaa !5
  store ptr %1, ptr %8, align 8, !tbaa !5
  store ptr %2, ptr %9, align 8, !tbaa !5
  store ptr %3, ptr %10, align 8, !tbaa !5
  store ptr %4, ptr %11, align 8, !tbaa !5
  call void @llvm.lifetime.start.p0(i64 4, ptr %12) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %28) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %29) #5
  call void @llvm.lifetime.start.p0(i64 8, ptr %30) #5
  %32 = load ptr, ptr %7, align 8, !tbaa !5
  %33 = getelementptr inbounds double, ptr %32, i64 0
  %34 = load double, ptr %33, align 8, !tbaa !9
  store double %34, ptr %25, align 8, !tbaa !9
  %35 = load ptr, ptr %7, align 8, !tbaa !5
  %36 = getelementptr inbounds double, ptr %35, i64 1
  %37 = load double, ptr %36, align 8, !tbaa !9
  store double %37, ptr %28, align 8, !tbaa !9
  %38 = load ptr, ptr %8, align 8, !tbaa !5
  %39 = getelementptr inbounds double, ptr %38, i64 0
  %40 = load double, ptr %39, align 8, !tbaa !9
  store double %40, ptr %26, align 8, !tbaa !9
  %41 = load ptr, ptr %8, align 8, !tbaa !5
  %42 = getelementptr inbounds double, ptr %41, i64 1
  %43 = load double, ptr %42, align 8, !tbaa !9
  store double %43, ptr %29, align 8, !tbaa !9
  %44 = load ptr, ptr %9, align 8, !tbaa !5
  %45 = getelementptr inbounds double, ptr %44, i64 0
  %46 = load double, ptr %45, align 8, !tbaa !9
  store double %46, ptr %27, align 8, !tbaa !9
  %47 = load ptr, ptr %9, align 8, !tbaa !5
  %48 = getelementptr inbounds double, ptr %47, i64 1
  %49 = load double, ptr %48, align 8, !tbaa !9
  store double %49, ptr %30, align 8, !tbaa !9
  %50 = load double, ptr %26, align 8, !tbaa !9
  %51 = load double, ptr %27, align 8, !tbaa !9
  %52 = fsub double %50, %51
  store double %52, ptr %19, align 8, !tbaa !9
  %53 = load double, ptr %29, align 8, !tbaa !9
  %54 = load double, ptr %30, align 8, !tbaa !9
  %55 = fsub double %53, %54
  store double %55, ptr %22, align 8, !tbaa !9
  %56 = load double, ptr %25, align 8, !tbaa !9
  %57 = load double, ptr %27, align 8, !tbaa !9
  %58 = fsub double %56, %57
  store double %58, ptr %20, align 8, !tbaa !9
  %59 = load double, ptr %28, align 8, !tbaa !9
  %60 = load double, ptr %30, align 8, !tbaa !9
  %61 = fsub double %59, %60
  store double %61, ptr %23, align 8, !tbaa !9
  %62 = load double, ptr %25, align 8, !tbaa !9
  %63 = load double, ptr %26, align 8, !tbaa !9
  %64 = fsub double %62, %63
  store double %64, ptr %21, align 8, !tbaa !9
  %65 = load double, ptr %28, align 8, !tbaa !9
  %66 = load double, ptr %29, align 8, !tbaa !9
  %67 = fsub double %65, %66
  store double %67, ptr %24, align 8, !tbaa !9
  %68 = load double, ptr %19, align 8, !tbaa !9
  %69 = load double, ptr %19, align 8, !tbaa !9
  %70 = load double, ptr %22, align 8, !tbaa !9
  %71 = load double, ptr %22, align 8, !tbaa !9
  %72 = fmul double %70, %71
  %73 = call double @llvm.fmuladd.f64(double %68, double %69, double %72)
  store double %73, ptr %16, align 8, !tbaa !9
  %74 = load double, ptr %20, align 8, !tbaa !9
  %75 = load double, ptr %20, align 8, !tbaa !9
  %76 = load double, ptr %23, align 8, !tbaa !9
  %77 = load double, ptr %23, align 8, !tbaa !9
  %78 = fmul double %76, %77
  %79 = call double @llvm.fmuladd.f64(double %74, double %75, double %78)
  store double %79, ptr %17, align 8, !tbaa !9
  %80 = load double, ptr %21, align 8, !tbaa !9
  %81 = load double, ptr %21, align 8, !tbaa !9
  %82 = load double, ptr %24, align 8, !tbaa !9
  %83 = load double, ptr %24, align 8, !tbaa !9
  %84 = fmul double %82, %83
  %85 = call double @llvm.fmuladd.f64(double %80, double %81, double %84)
  store double %85, ptr %18, align 8, !tbaa !9
  %86 = load double, ptr %26, align 8, !tbaa !9
  %87 = load double, ptr %30, align 8, !tbaa !9
  %88 = load double, ptr %27, align 8, !tbaa !9
  %89 = load double, ptr %29, align 8, !tbaa !9
  %90 = fmul double %88, %89
  %91 = fneg double %90
  %92 = call double @llvm.fmuladd.f64(double %86, double %87, double %91)
  store double %92, ptr %13, align 8, !tbaa !9
  %93 = load double, ptr %29, align 8, !tbaa !9
  %94 = load double, ptr %30, align 8, !tbaa !9
  %95 = fsub double %93, %94
  store double %95, ptr %14, align 8, !tbaa !9
  %96 = load double, ptr %27, align 8, !tbaa !9
  %97 = load double, ptr %26, align 8, !tbaa !9
  %98 = fsub double %96, %97
  store double %98, ptr %15, align 8, !tbaa !9
  %99 = load double, ptr %16, align 8, !tbaa !9
  %100 = load double, ptr %17, align 8, !tbaa !9
  %101 = fadd double %99, %100
  %102 = load double, ptr %18, align 8, !tbaa !9
  %103 = fadd double %101, %102
  %104 = fcmp olt double %103, 1.000000e-15
  br i1 %104, label %105, label %107

105:                                              ; preds = %5
  %106 = call i32 @SMerror(i32 noundef 847, ptr noundef @.str.28, ptr noundef @.str.1, ptr noundef @.str.2, i32 noundef 57, i32 noundef 0, ptr noundef @.str.3)
  store i32 %106, ptr %6, align 4
  store i32 1, ptr %31, align 4
  br label %215

107:                                              ; preds = %5
  %108 = load double, ptr %14, align 8, !tbaa !9
  %109 = fmul double 5.000000e-01, %108
  %110 = load double, ptr %16, align 8, !tbaa !9
  %111 = load double, ptr %17, align 8, !tbaa !9
  %112 = fadd double %110, %111
  %113 = load double, ptr %18, align 8, !tbaa !9
  %114 = fadd double %112, %113
  %115 = fdiv double %109, %114
  %116 = load double, ptr %13, align 8, !tbaa !9
  %117 = load double, ptr %14, align 8, !tbaa !9
  %118 = load double, ptr %25, align 8, !tbaa !9
  %119 = call double @llvm.fmuladd.f64(double %117, double %118, double %116)
  %120 = load double, ptr %15, align 8, !tbaa !9
  %121 = load double, ptr %28, align 8, !tbaa !9
  %122 = call double @llvm.fmuladd.f64(double %120, double %121, double %119)
  %123 = fmul double 5.000000e-01, %122
  %124 = load double, ptr %25, align 8, !tbaa !9
  %125 = load double, ptr %27, align 8, !tbaa !9
  %126 = fmul double 2.000000e+00, %125
  %127 = fneg double %126
  %128 = call double @llvm.fmuladd.f64(double 4.000000e+00, double %124, double %127)
  %129 = load double, ptr %26, align 8, !tbaa !9
  %130 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %129, double %128)
  %131 = fmul double %123, %130
  %132 = load double, ptr %16, align 8, !tbaa !9
  %133 = load double, ptr %17, align 8, !tbaa !9
  %134 = fadd double %132, %133
  %135 = load double, ptr %18, align 8, !tbaa !9
  %136 = fadd double %134, %135
  %137 = load double, ptr %16, align 8, !tbaa !9
  %138 = load double, ptr %17, align 8, !tbaa !9
  %139 = fadd double %137, %138
  %140 = load double, ptr %18, align 8, !tbaa !9
  %141 = fadd double %139, %140
  %142 = fmul double %136, %141
  %143 = fdiv double %131, %142
  %144 = fsub double %115, %143
  %145 = load ptr, ptr %10, align 8, !tbaa !5
  %146 = getelementptr inbounds ptr, ptr %145, i64 0
  %147 = load ptr, ptr %146, align 8, !tbaa !5
  %148 = getelementptr inbounds double, ptr %147, i64 0
  store double %144, ptr %148, align 8, !tbaa !9
  %149 = load double, ptr %15, align 8, !tbaa !9
  %150 = fmul double 5.000000e-01, %149
  %151 = load double, ptr %16, align 8, !tbaa !9
  %152 = load double, ptr %17, align 8, !tbaa !9
  %153 = fadd double %151, %152
  %154 = load double, ptr %18, align 8, !tbaa !9
  %155 = fadd double %153, %154
  %156 = fdiv double %150, %155
  %157 = load double, ptr %13, align 8, !tbaa !9
  %158 = load double, ptr %14, align 8, !tbaa !9
  %159 = load double, ptr %25, align 8, !tbaa !9
  %160 = call double @llvm.fmuladd.f64(double %158, double %159, double %157)
  %161 = load double, ptr %15, align 8, !tbaa !9
  %162 = load double, ptr %28, align 8, !tbaa !9
  %163 = call double @llvm.fmuladd.f64(double %161, double %162, double %160)
  %164 = fmul double 5.000000e-01, %163
  %165 = load double, ptr %28, align 8, !tbaa !9
  %166 = load double, ptr %30, align 8, !tbaa !9
  %167 = fmul double 2.000000e+00, %166
  %168 = fneg double %167
  %169 = call double @llvm.fmuladd.f64(double 4.000000e+00, double %165, double %168)
  %170 = load double, ptr %29, align 8, !tbaa !9
  %171 = call double @llvm.fmuladd.f64(double -2.000000e+00, double %170, double %169)
  %172 = fmul double %164, %171
  %173 = load double, ptr %16, align 8, !tbaa !9
  %174 = load double, ptr %17, align 8, !tbaa !9
  %175 = fadd double %173, %174
  %176 = load double, ptr %18, align 8, !tbaa !9
  %177 = fadd double %175, %176
  %178 = load double, ptr %16, align 8, !tbaa !9
  %179 = load double, ptr %17, align 8, !tbaa !9
  %180 = fadd double %178, %179
  %181 = load double, ptr %18, align 8, !tbaa !9
  %182 = fadd double %180, %181
  %183 = fmul double %177, %182
  %184 = fdiv double %172, %183
  %185 = fsub double %156, %184
  %186 = load ptr, ptr %10, align 8, !tbaa !5
  %187 = getelementptr inbounds ptr, ptr %186, i64 0
  %188 = load ptr, ptr %187, align 8, !tbaa !5
  %189 = getelementptr inbounds double, ptr %188, i64 1
  store double %185, ptr %189, align 8, !tbaa !9
  %190 = call double @sqrt(double noundef 3.000000e+00) #5
  %191 = fdiv double 1.200000e+01, %190
  %192 = load ptr, ptr %10, align 8, !tbaa !5
  %193 = getelementptr inbounds ptr, ptr %192, i64 0
  %194 = load ptr, ptr %193, align 8, !tbaa !5
  %195 = getelementptr inbounds double, ptr %194, i64 0
  %196 = load double, ptr %195, align 8, !tbaa !9
  %197 = fmul double %191, %196
  %198 = load ptr, ptr %10, align 8, !tbaa !5
  %199 = getelementptr inbounds ptr, ptr %198, i64 0
  %200 = load ptr, ptr %199, align 8, !tbaa !5
  %201 = getelementptr inbounds double, ptr %200, i64 0
  store double %197, ptr %201, align 8, !tbaa !9
  %202 = call double @sqrt(double noundef 3.000000e+00) #5
  %203 = fdiv double 1.200000e+01, %202
  %204 = load ptr, ptr %10, align 8, !tbaa !5
  %205 = getelementptr inbounds ptr, ptr %204, i64 0
  %206 = load ptr, ptr %205, align 8, !tbaa !5
  %207 = getelementptr inbounds double, ptr %206, i64 1
  %208 = load double, ptr %207, align 8, !tbaa !9
  %209 = fmul double %203, %208
  %210 = load ptr, ptr %10, align 8, !tbaa !5
  %211 = getelementptr inbounds ptr, ptr %210, i64 0
  %212 = load ptr, ptr %211, align 8, !tbaa !5
  %213 = getelementptr inbounds double, ptr %212, i64 1
  store double %209, ptr %213, align 8, !tbaa !9
  %214 = load ptr, ptr %11, align 8, !tbaa !5
  store i32 1, ptr %214, align 4, !tbaa !11
  store i32 0, ptr %12, align 4, !tbaa !11
  store i32 0, ptr %6, align 4
  store i32 1, ptr %31, align 4
  br label %215

215:                                              ; preds = %107, %105
  call void @llvm.lifetime.end.p0(i64 8, ptr %30) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %29) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %28) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %27) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %26) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %25) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %24) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %23) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %22) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %21) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %20) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %19) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %18) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %17) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %16) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %15) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %14) #5
  call void @llvm.lifetime.end.p0(i64 8, ptr %13) #5
  call void @llvm.lifetime.end.p0(i64 4, ptr %12) #5
  %216 = load i32, ptr %6, align 4
  ret i32 %216
}

attributes #0 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #1 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 "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 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/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"double", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}


; 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.1 = external hidden unnamed_addr constant [108 x i8], align 1
@.str.2 = external hidden unnamed_addr constant [18 x i8], align 1
@.str.3 = external hidden unnamed_addr constant [19 x i8], align 1
@.str.28 = external hidden unnamed_addr constant [34 x i8], align 1

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

declare i32 @SMerror(i32 noundef, ptr noundef, ptr noundef, ptr noundef, i32 noundef, i32 noundef, ptr noundef) local_unnamed_addr #1

; Function Attrs: nounwind uwtable
define dso_local i32 @SMcomputeAreaLengthRatioGradients(ptr nocapture noundef readonly %0, ptr nocapture noundef readonly %1, ptr nocapture noundef readonly %2, ptr nocapture noundef readonly %3, ptr nocapture noundef writeonly %4) local_unnamed_addr #2 {
  %6 = load <2 x double>, ptr %0, align 8, !tbaa !5
  %7 = load <2 x double>, ptr %1, align 8, !tbaa !5
  %8 = load <2 x double>, ptr %2, align 8, !tbaa !5
  %9 = extractelement <2 x double> %7, i64 1
  %10 = extractelement <2 x double> %6, i64 1
  %11 = fsub <2 x double> %6, %7
  %12 = extractelement <2 x double> %11, i64 0
  %13 = fsub double %10, %9
  %14 = shufflevector <2 x double> %7, <2 x double> %6, <2 x i32> <i32 0, i32 2>
  %15 = shufflevector <2 x double> %8, <2 x double> poison, <2 x i32> zeroinitializer
  %16 = fsub <2 x double> %14, %15
  %17 = shufflevector <2 x double> %7, <2 x double> %6, <2 x i32> <i32 1, i32 3>
  %18 = shufflevector <2 x double> %8, <2 x double> poison, <2 x i32> <i32 1, i32 1>
  %19 = fsub <2 x double> %17, %18
  %20 = fmul <2 x double> %19, %19
  %21 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %16, <2 x double> %16, <2 x double> %20)
  %22 = fmul double %13, %13
  %23 = tail call double @llvm.fmuladd.f64(double %12, double %12, double %22)
  %shift = shufflevector <2 x double> %21, <2 x double> poison, <2 x i32> <i32 1, i32 poison>
  %24 = fadd <2 x double> %21, %shift
  %25 = extractelement <2 x double> %24, i64 0
  %26 = fadd double %23, %25
  %27 = fcmp olt double %26, 1.000000e-15
  br i1 %27, label %28, label %30

28:                                               ; preds = %5
  %29 = tail call i32 @SMerror(i32 noundef 847, ptr noundef nonnull @.str.28, ptr noundef nonnull @.str.1, ptr noundef nonnull @.str.2, i32 noundef 57, i32 noundef 0, ptr noundef nonnull @.str.3) #4
  br label %62

30:                                               ; preds = %5
  %31 = extractelement <2 x double> %6, i64 0
  %32 = extractelement <2 x double> %7, i64 0
  %33 = extractelement <2 x double> %8, i64 0
  %34 = fsub <2 x double> %8, %7
  %35 = extractelement <2 x double> %34, i64 0
  %36 = fneg double %33
  %37 = fmul double %9, %36
  %38 = extractelement <2 x double> %8, i64 1
  %39 = tail call double @llvm.fmuladd.f64(double %32, double %38, double %37)
  %40 = extractelement <2 x double> %19, i64 0
  %41 = tail call double @llvm.fmuladd.f64(double %40, double %31, double %39)
  %42 = tail call double @llvm.fmuladd.f64(double %35, double %10, double %41)
  %43 = fmul double %42, 5.000000e-01
  %44 = fmul <2 x double> %8, <double -2.000000e+00, double -2.000000e+00>
  %45 = fmul double %26, %26
  %46 = load ptr, ptr %3, align 8, !tbaa !9
  %47 = shufflevector <2 x double> %19, <2 x double> %34, <2 x i32> <i32 0, i32 2>
  %48 = fmul <2 x double> %47, <double 5.000000e-01, double 5.000000e-01>
  %49 = insertelement <2 x double> poison, double %26, i64 0
  %50 = shufflevector <2 x double> %49, <2 x double> poison, <2 x i32> zeroinitializer
  %51 = fdiv <2 x double> %48, %50
  %52 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %6, <2 x double> <double 4.000000e+00, double 4.000000e+00>, <2 x double> %44)
  %53 = tail call <2 x double> @llvm.fmuladd.v2f64(<2 x double> %7, <2 x double> <double -2.000000e+00, double -2.000000e+00>, <2 x double> %52)
  %54 = insertelement <2 x double> poison, double %43, i64 0
  %55 = shufflevector <2 x double> %54, <2 x double> poison, <2 x i32> zeroinitializer
  %56 = fmul <2 x double> %53, %55
  %57 = insertelement <2 x double> poison, double %45, i64 0
  %58 = shufflevector <2 x double> %57, <2 x double> poison, <2 x i32> zeroinitializer
  %59 = fdiv <2 x double> %56, %58
  %60 = fsub <2 x double> %51, %59
  %61 = fmul <2 x double> %60, <double 0x401BB67AE8584CAB, double 0x401BB67AE8584CAB>
  store <2 x double> %61, ptr %46, align 8, !tbaa !5
  store i32 1, ptr %4, align 4, !tbaa !11
  br label %62

62:                                               ; preds = %30, %28
  %.0 = phi i32 [ %29, %28 ], [ 0, %30 ]
  ret i32 %.0
}

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

attributes #0 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #1 = { "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 #2 = { 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 #3 = { nocallback nofree nosync nounwind speculatable willreturn memory(none) }
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 = !{!"double", !7, i64 0}
!7 = !{!"omnipotent char", !8, i64 0}
!8 = !{!"Simple C/C++ TBAA"}
!9 = !{!10, !10, i64 0}
!10 = !{!"any pointer", !7, i64 0}
!11 = !{!12, !12, i64 0}
!12 = !{!"int", !7, i64 0}


; Effective O3 passes: DSEPass,EarlyCSEPass,GlobalOptPass,InferFunctionAttrsPass,InstCombinePass,PostOrderFunctionAttrsPass,ReassociatePass,SLPVectorizerPass,SROAPass,TailCallElimPass,VectorCombinePass