CodeQL / Analyze (actions) (push) Canceled after 0s
CodeQL / Analyze (python) (push) Canceled after 0s
pre-commit / pre-commit (push) Canceled after 0s
Multi-Arch CI / setup (push) Canceled after 0s
Publish build_manylinux_x86_64 images / publish_build_manylinux_x86_64 (push) Canceled after 0s
Setup (Multi-Arch) / setup (push) Canceled after 0s
Multi-Arch CI / Linux::${{ fromJSON(needs.setup.outputs.linux_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubi10 image / publish_no_rocm_image_ubi10 (push) Canceled after 0s
Multi-Arch CI / Windows::${{ fromJSON(needs.setup.outputs.windows_build_config || '{}').build_variant_label || 'skip' }} (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Multi-Arch CI / Manifest Diff (push) Canceled after 0s
TheRock Manifest Diff Report / Generate Manifest Diff Report (push) Canceled after 0s
Multi-Arch CI / CI Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_ocl_rt images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04_rocgdb images / publish_no_rocm_image_ubuntu24_04_rocgdb (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_ocl_rt (push) Canceled after 0s
Publish TheRock Docker image / build-and-push-image (push) Canceled after 0s
Unit Tests / Unit Tests :: ubuntu-24.04 (push) Canceled after 0s
Unit Tests / Unit Tests :: windows-2022 (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_media (push) Canceled after 0s
Unit Tests / Unit Tests Summary (push) Canceled after 0s
Publish no_rocm_image_ubuntu24_04 images / publish_no_rocm_image_ubuntu24_04_openmpi (push) Canceled after 0s
38 lines
1.6 KiB
LLVM
38 lines
1.6 KiB
LLVM
; RUN: llc < %s -mtriple=i386-apple-darwin -mattr=+sse2 | not grep ".space"
|
|
; rdar://6668548
|
|
|
|
declare double @llvm.sqrt.f64(double) nounwind readonly
|
|
|
|
declare double @fabs(double)
|
|
|
|
declare double @llvm.pow.f64(double, double) nounwind readonly
|
|
|
|
define void @SolveCubic_bb1(ptr %solutions, ptr %x, x86_fp80 %.reload, x86_fp80 %.reload5, x86_fp80 %.reload6, double %.reload8) nounwind {
|
|
newFuncRoot:
|
|
br label %bb1
|
|
|
|
bb1.ret.exitStub: ; preds = %bb1
|
|
ret void
|
|
|
|
bb1: ; preds = %newFuncRoot
|
|
store i32 1, ptr %solutions, align 4
|
|
%0 = tail call double @llvm.sqrt.f64(double %.reload8) ; <double> [#uses=1]
|
|
%1 = fptrunc x86_fp80 %.reload6 to double ; <double> [#uses=1]
|
|
%2 = tail call double @fabs(double %1) nounwind readnone ; <double> [#uses=1]
|
|
%3 = fadd double %0, %2 ; <double> [#uses=1]
|
|
%4 = tail call double @llvm.pow.f64(double %3, double 0x3FD5555555555555) ; <double> [#uses=1]
|
|
%5 = fpext double %4 to x86_fp80 ; <x86_fp80> [#uses=2]
|
|
%6 = fdiv x86_fp80 %.reload5, %5 ; <x86_fp80> [#uses=1]
|
|
%7 = fadd x86_fp80 %5, %6 ; <x86_fp80> [#uses=1]
|
|
%8 = fptrunc x86_fp80 %7 to double ; <double> [#uses=1]
|
|
%9 = fcmp olt x86_fp80 %.reload6, 0xK00000000000000000000 ; <i1> [#uses=1]
|
|
%iftmp.6.0 = select i1 %9, double 1.000000e+00, double -1.000000e+00 ; <double> [#uses=1]
|
|
%10 = fmul double %8, %iftmp.6.0 ; <double> [#uses=1]
|
|
%11 = fpext double %10 to x86_fp80 ; <x86_fp80> [#uses=1]
|
|
%12 = fdiv x86_fp80 %.reload, 0xKC000C000000000000000 ; <x86_fp80> [#uses=1]
|
|
%13 = fadd x86_fp80 %11, %12 ; <x86_fp80> [#uses=1]
|
|
%14 = fptrunc x86_fp80 %13 to double ; <double> [#uses=1]
|
|
store double %14, ptr %x, align 1
|
|
br label %bb1.ret.exitStub
|
|
}
|