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
52 lines
1.7 KiB
LLVM
52 lines
1.7 KiB
LLVM
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
|
|
; RUN: llc < %s -mtriple=i386-apple-darwin -mattr=+mmx | FileCheck %s --check-prefix=X86-32
|
|
; RUN: llc < %s -mtriple=x86_64-apple-darwin -mattr=+mmx,+sse2 | FileCheck %s --check-prefix=X86-64
|
|
;
|
|
; On Darwin x86-32, v8i8, v4i16, v2i32 values are passed in MM[0-2].
|
|
; On Darwin x86-32, v1i64 values are passed in memory. In this example, they
|
|
; are never moved into an MM register at all.
|
|
; On Darwin x86-64, v8i8, v4i16, v2i32 values are passed in XMM[0-7].
|
|
; On Darwin x86-64, v1i64 values are passed in 64-bit GPRs.
|
|
|
|
@u1 = external global <1 x i64>
|
|
|
|
define void @t1(<1 x i64> %v1) nounwind {
|
|
; X86-32-LABEL: t1:
|
|
; X86-32: ## %bb.0:
|
|
; X86-32-NEXT: movl {{[0-9]+}}(%esp), %eax
|
|
; X86-32-NEXT: movl {{[0-9]+}}(%esp), %ecx
|
|
; X86-32-NEXT: movl L_u1$non_lazy_ptr, %edx
|
|
; X86-32-NEXT: movl %ecx, 4(%edx)
|
|
; X86-32-NEXT: movl %eax, (%edx)
|
|
; X86-32-NEXT: retl
|
|
;
|
|
; X86-64-LABEL: t1:
|
|
; X86-64: ## %bb.0:
|
|
; X86-64-NEXT: movq _u1@GOTPCREL(%rip), %rax
|
|
; X86-64-NEXT: movq %rdi, (%rax)
|
|
; X86-64-NEXT: retq
|
|
store <1 x i64> %v1, ptr @u1, align 8
|
|
ret void
|
|
}
|
|
|
|
@u2 = external global <1 x i64>
|
|
|
|
define void @t2(<1 x i64> %v1) nounwind {
|
|
; X86-32-LABEL: t2:
|
|
; X86-32: ## %bb.0:
|
|
; X86-32-NEXT: movl {{[0-9]+}}(%esp), %eax
|
|
; X86-32-NEXT: movl {{[0-9]+}}(%esp), %ecx
|
|
; X86-32-NEXT: movl L_u2$non_lazy_ptr, %edx
|
|
; X86-32-NEXT: movl %ecx, 4(%edx)
|
|
; X86-32-NEXT: movl %eax, (%edx)
|
|
; X86-32-NEXT: retl
|
|
;
|
|
; X86-64-LABEL: t2:
|
|
; X86-64: ## %bb.0:
|
|
; X86-64-NEXT: movq _u2@GOTPCREL(%rip), %rax
|
|
; X86-64-NEXT: movq %rdi, (%rax)
|
|
; X86-64-NEXT: retq
|
|
store <1 x i64> %v1, ptr @u2, align 8
|
|
ret void
|
|
}
|