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
61 lines
1.8 KiB
LLVM
61 lines
1.8 KiB
LLVM
; RUN: llc < %s -mtriple=i386-apple-darwin9 -mattr=+sse2 | FileCheck %s --check-prefix=X32
|
|
; RUN: llc < %s -mtriple=x86_64-apple-darwin -mattr=+sse2 | FileCheck %s --check-prefix=X64
|
|
; RUN: llc < %s -mtriple=x86_64-apple-darwin -mattr=-sse3 | FileCheck %s --check-prefix=X64_BAD
|
|
|
|
; Sibcall optimization of expanded libcalls.
|
|
; rdar://8707777
|
|
|
|
define double @foo(double %a) nounwind readonly ssp {
|
|
entry:
|
|
; X32-LABEL: foo:
|
|
; X32: jmp _sin
|
|
|
|
; X64-LABEL: foo:
|
|
; X64: jmp _sin
|
|
%0 = tail call double @sin(double %a) nounwind readonly
|
|
ret double %0
|
|
}
|
|
|
|
define float @bar(float %a) nounwind readonly ssp {
|
|
; X32-LABEL: bar:
|
|
; X32: jmp _sinf
|
|
|
|
; X64-LABEL: bar:
|
|
; X64: jmp _sinf
|
|
entry:
|
|
%0 = tail call float @sinf(float %a) nounwind readonly
|
|
ret float %0
|
|
}
|
|
|
|
|
|
declare float @sinf(float) nounwind readonly
|
|
|
|
declare double @sin(double) nounwind readonly
|
|
|
|
; rdar://10930395
|
|
%0 = type opaque
|
|
|
|
@"\01L_OBJC_SELECTOR_REFERENCES_2" = external hidden global ptr, section "__DATA, __objc_selrefs, literal_pointers, no_dead_strip"
|
|
|
|
define hidden { double, double } @foo2(ptr %self, ptr nocapture %_cmd) uwtable optsize ssp {
|
|
; X64_BAD: foo
|
|
; X64_BAD: call
|
|
; X64_BAD: call
|
|
; X64_BAD: call
|
|
%1 = load ptr, ptr @"\01L_OBJC_SELECTOR_REFERENCES_2", align 8, !invariant.load !0
|
|
%2 = tail call { double, double } @objc_msgSend(ptr %self, ptr %1) optsize
|
|
%3 = extractvalue { double, double } %2, 0
|
|
%4 = extractvalue { double, double } %2, 1
|
|
%5 = tail call double @floor(double %3) optsize
|
|
%6 = tail call double @floor(double %4) optsize
|
|
%insert.i.i = insertvalue { double, double } undef, double %5, 0
|
|
%insert5.i.i = insertvalue { double, double } %insert.i.i, double %6, 1
|
|
ret { double, double } %insert5.i.i
|
|
}
|
|
|
|
declare ptr @objc_msgSend(ptr, ptr, ...)
|
|
|
|
declare double @floor(double) optsize
|
|
|
|
!0 = !{}
|