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
73 lines
2.5 KiB
LLVM
73 lines
2.5 KiB
LLVM
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
|
|
; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu | FileCheck %s --check-prefix=HAS-RAX
|
|
; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu -mattr=+sse | FileCheck %s --check-prefix=HAS-RAX
|
|
; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu -mattr=-sse | FileCheck %s --check-prefix=NO-RAX
|
|
|
|
define void @foo() {
|
|
; HAS-RAX-LABEL: foo:
|
|
; HAS-RAX: # %bb.0:
|
|
; HAS-RAX-NEXT: movl $1, %edi
|
|
; HAS-RAX-NEXT: xorl %eax, %eax
|
|
; HAS-RAX-NEXT: jmp bar@PLT # TAILCALL
|
|
;
|
|
; NO-RAX-LABEL: foo:
|
|
; NO-RAX: # %bb.0:
|
|
; NO-RAX-NEXT: movl $1, %edi
|
|
; NO-RAX-NEXT: jmp bar@PLT # TAILCALL
|
|
tail call void (i32, ...) @bar(i32 1)
|
|
ret void
|
|
}
|
|
|
|
define void @bar(i32, ...) nounwind {
|
|
; HAS-RAX-LABEL: bar:
|
|
; HAS-RAX: # %bb.0:
|
|
; HAS-RAX-NEXT: subq $56, %rsp
|
|
; HAS-RAX-NEXT: movq %rsi, -{{[0-9]+}}(%rsp)
|
|
; HAS-RAX-NEXT: movq %rdx, -{{[0-9]+}}(%rsp)
|
|
; HAS-RAX-NEXT: movq %rcx, -{{[0-9]+}}(%rsp)
|
|
; HAS-RAX-NEXT: movq %r8, -{{[0-9]+}}(%rsp)
|
|
; HAS-RAX-NEXT: movq %r9, -{{[0-9]+}}(%rsp)
|
|
; HAS-RAX-NEXT: testb %al, %al
|
|
; HAS-RAX-NEXT: je .LBB1_2
|
|
; HAS-RAX-NEXT: # %bb.1:
|
|
; HAS-RAX-NEXT: movaps %xmm0, -{{[0-9]+}}(%rsp)
|
|
; HAS-RAX-NEXT: movaps %xmm1, -{{[0-9]+}}(%rsp)
|
|
; HAS-RAX-NEXT: movaps %xmm2, -{{[0-9]+}}(%rsp)
|
|
; HAS-RAX-NEXT: movaps %xmm3, -{{[0-9]+}}(%rsp)
|
|
; HAS-RAX-NEXT: movaps %xmm4, -{{[0-9]+}}(%rsp)
|
|
; HAS-RAX-NEXT: movaps %xmm5, (%rsp)
|
|
; HAS-RAX-NEXT: movaps %xmm6, {{[0-9]+}}(%rsp)
|
|
; HAS-RAX-NEXT: movaps %xmm7, {{[0-9]+}}(%rsp)
|
|
; HAS-RAX-NEXT: .LBB1_2:
|
|
; HAS-RAX-NEXT: leaq {{[0-9]+}}(%rsp), %rax
|
|
; HAS-RAX-NEXT: movq %rax, 8
|
|
; HAS-RAX-NEXT: leaq -{{[0-9]+}}(%rsp), %rax
|
|
; HAS-RAX-NEXT: movq %rax, 16
|
|
; HAS-RAX-NEXT: movl $8, 0
|
|
; HAS-RAX-NEXT: movl $48, 4
|
|
; HAS-RAX-NEXT: addq $56, %rsp
|
|
; HAS-RAX-NEXT: retq
|
|
;
|
|
; NO-RAX-LABEL: bar:
|
|
; NO-RAX: # %bb.0:
|
|
; NO-RAX-NEXT: movq %rsi, -{{[0-9]+}}(%rsp)
|
|
; NO-RAX-NEXT: movq %rdx, -{{[0-9]+}}(%rsp)
|
|
; NO-RAX-NEXT: movq %rcx, -{{[0-9]+}}(%rsp)
|
|
; NO-RAX-NEXT: movq %r8, -{{[0-9]+}}(%rsp)
|
|
; NO-RAX-NEXT: movq %r9, -{{[0-9]+}}(%rsp)
|
|
; NO-RAX-NEXT: leaq {{[0-9]+}}(%rsp), %rax
|
|
; NO-RAX-NEXT: movq %rax, 8
|
|
; NO-RAX-NEXT: leaq -{{[0-9]+}}(%rsp), %rax
|
|
; NO-RAX-NEXT: movq %rax, 16
|
|
; NO-RAX-NEXT: movl $8, 0
|
|
; NO-RAX-NEXT: movl $48, 4
|
|
; NO-RAX-NEXT: retq
|
|
call void @llvm.va_start(ptr null)
|
|
ret void
|
|
}
|
|
|
|
declare void @llvm.va_start(ptr)
|
|
|
|
!llvm.module.flags = !{!0}
|
|
!0 = !{i32 4, !"SkipRaxSetup", i32 1}
|