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
66 lines
1.2 KiB
ArmAsm
66 lines
1.2 KiB
ArmAsm
## Test that llvm-bolt detects internal calls and marks the containing function
|
|
## as non-simple.
|
|
|
|
# RUN: llvm-mc -filetype=obj -triple aarch64-unknown-unknown %s -o %t.o
|
|
# RUN: %clang %cflags %t.o -o %t.exe -Wl,-q -static
|
|
# RUN: llvm-bolt %t.exe -o %t.null --print-all 2>&1 | FileCheck %s
|
|
|
|
# CHECK: Binary Function "_start" after building cfg
|
|
# CHECK: internal call detected in function _start
|
|
# CHECK-NOT: Binary Function "_start" after validate-internal-calls
|
|
|
|
.text
|
|
.globl _start
|
|
.type _start, %function
|
|
_start:
|
|
.cfi_startproc
|
|
.LBB00:
|
|
mov x11, #0x1fff
|
|
cmp x1, x11
|
|
b.hi .Ltmp1
|
|
|
|
.entry1:
|
|
movi v4.16b, #0x0
|
|
movi v5.16b, #0x0
|
|
subs x1, x1, #0x8
|
|
b.lo .Ltmp2
|
|
|
|
.entry2:
|
|
ld1 { v2.2d, v3.2d }, [x0], #32
|
|
ld1 { v0.2d, v1.2d }, [x0], #32
|
|
|
|
.Ltmp2:
|
|
uaddlp v4.4s, v4.8h
|
|
uaddlp v4.2d, v4.4s
|
|
mov x0, v4.d[0]
|
|
mov x1, v4.d[1]
|
|
add x0, x0, x1
|
|
ret x30
|
|
|
|
.Ltmp1:
|
|
mov x8, x30
|
|
|
|
.Lloop:
|
|
add x5, x0, x9
|
|
mov x1, #0xface
|
|
movi v4.16b, #0x0
|
|
movi v5.16b, #0x0
|
|
bl .entry2
|
|
add x4, x4, x0
|
|
mov x0, x5
|
|
sub x7, x7, x10
|
|
cmp x7, x11
|
|
b.hi .Lloop
|
|
|
|
mov x1, x7
|
|
bl .entry1
|
|
add x0, x4, x0
|
|
mov x30, x8
|
|
ret x30
|
|
|
|
.cfi_endproc
|
|
.size _start, .-_start
|
|
|
|
## Force relocation mode.
|
|
.reloc 0, R_AARCH64_NONE
|