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
51 lines
1.5 KiB
ArmAsm
51 lines
1.5 KiB
ArmAsm
# RUN: llvm-mc -filetype=obj -triple=riscv64 -mattr=+c,+relax %s --defsym LATE=1 -o %t1
|
|
# RUN: llvm-objdump -dr --no-show-raw-insn -M no-aliases %t1 | FileCheck %s
|
|
|
|
# RUN: llvm-mc -filetype=obj -triple=riscv64 -mattr=+c,+relax %s -o %t0
|
|
# RUN: llvm-objdump -dr --no-show-raw-insn -M no-aliases %t0 | FileCheck %s --check-prefix=CHECK0
|
|
|
|
# CHECK: 4: 00 00 01 00 .word 0x00010000
|
|
# CHECK-EMPTY:
|
|
# CHECK: 8: 78 56 34 12 .word 0x12345678
|
|
# CHECK-NEXT: c: 00 00 00 00 .word 0x00000000
|
|
# CHECK: 10: auipc ra, 0x0
|
|
# CHECK-NEXT: R_RISCV_CALL_PLT foo
|
|
# CHECK-NEXT: R_RISCV_RELAX *ABS*
|
|
# CHECK: 18: c.nop
|
|
# CHECK-NEXT: R_RISCV_ALIGN *ABS*+0x6
|
|
|
|
## Alignment directives in a lower-numbered subsection may be conservatively treated as linker-relaxable.
|
|
# CHECK0: 4: 00 00 01 00 .word 0x00010000
|
|
# CHECK0-NEXT: 000000006: R_RISCV_ALIGN *ABS*+0x6
|
|
# CHECK0-NEXT: 8: 13 00 00 00 .word 0x00000013
|
|
# CHECK0: 14: auipc ra, 0x0
|
|
# CHECK0: 1c: c.nop
|
|
# CHECK0-NEXT: R_RISCV_ALIGN *ABS*+0x6
|
|
|
|
.text 2
|
|
.option push
|
|
.option norelax
|
|
## R_RISCV_ALIGN is required even if norelax, because it is after a linker-relaxable instruction.
|
|
.balign 8
|
|
l2:
|
|
.word 0x12345678
|
|
.option pop
|
|
|
|
.text 1
|
|
.org .+1
|
|
.org .+3
|
|
.ifdef LATE
|
|
.org .+0
|
|
.endif
|
|
call foo
|
|
|
|
.text 0
|
|
_start:
|
|
.space 6
|
|
.option push
|
|
.option norelax
|
|
.balign 8
|
|
l0:
|
|
.word 0x12345678
|
|
.option pop
|