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
91 lines
3.9 KiB
YAML
91 lines
3.9 KiB
YAML
# RUN: llc -run-pass=aarch64-ldst-opt -aarch64-load-store-renaming=true -mattr=+reserve-x10 \
|
|
# RUN: -mattr=+reserve-x11 -mattr=+reserve-x15 -mtriple=arm64-apple-iphoneos -verify-machineinstrs \
|
|
# RUN: -o - %s | FileCheck --check-prefix=CHECK --check-prefix=PRESERVED %s
|
|
|
|
# RUN: llc -run-pass=aarch64-ldst-opt -aarch64-load-store-renaming=true -mtriple=arm64-apple-iphoneos \
|
|
# RUN: -verify-machineinstrs -o - %s | FileCheck --check-prefix=CHECK --check-prefix=NOPRES %s
|
|
|
|
|
|
# Make sure we do not pick reserved registers. For test1, we would pick x10,
|
|
# and for test2 we would pick x15, both of which are reserved.
|
|
#
|
|
---
|
|
# CHECK-LABEL: name: test1
|
|
# CHECK: bb.0:
|
|
# CHECK-NEXT: liveins: $x0, $x1
|
|
# PRESERVED: $x9, renamable $x8 = LDPXi renamable $x0, 0 :: (load (s64))
|
|
# NOPRES: $x10, renamable $x8 = LDPXi renamable $x0, 0 :: (load (s64))
|
|
# CHECK: renamable $x9 = LDRXui renamable $x0, 1 :: (load (s64))
|
|
# CHECK-NEXT: STRXui renamable $x9, renamable $x0, 100 :: (store (s64), align 4)
|
|
# CHECK-NEXT: renamable $x8 = ADDXrr $x8, $x8
|
|
# PRESERVED-NEXT: STRXui renamable $x8, renamable $x0, 10 :: (store (s64), align 4)
|
|
# NOPRES-NEXT: STPXi renamable $x8, killed $x10, renamable $x0, 10 :: (store (s64), align 4)
|
|
# CHECK-NEXT: RET undef $lr
|
|
|
|
name: test1
|
|
alignment: 4
|
|
tracksRegLiveness: true
|
|
liveins:
|
|
- { reg: '$x0' }
|
|
- { reg: '$x1' }
|
|
- { reg: '$x8' }
|
|
frameInfo:
|
|
maxAlignment: 1
|
|
maxCallFrameSize: 0
|
|
machineFunctionInfo: {}
|
|
body: |
|
|
bb.0:
|
|
liveins: $x0, $x1
|
|
renamable $x9, renamable $x8 = LDPXi renamable $x0, 0 :: (load (s64))
|
|
STRXui renamable killed $x9, renamable $x0, 11 :: (store (s64), align 4)
|
|
renamable $x9 = LDRXui renamable $x0, 1 :: (load (s64))
|
|
STRXui renamable $x9, renamable $x0, 100 :: (store (s64), align 4)
|
|
renamable $x8 = ADDXrr $x8, $x8
|
|
STRXui renamable $x8, renamable $x0, 10 :: (store (s64), align 4)
|
|
RET undef $lr
|
|
|
|
...
|
|
# CHECK-LABEL: name: test2
|
|
# CHECK: bb.0:
|
|
# CHECK-NEXT: liveins: $x0, $x1, $x2, $x3, $x4, $x5, $x6, $x7, $x9, $x10, $x11, $x12, $x13
|
|
# CHECK: renamable $w19 = LDRWui renamable $x0, 0 :: (load (s64))
|
|
# PRESERVED-NEXT: renamable $x9, renamable $x8 = LDPXi renamable $x0, 1 :: (load (s64))
|
|
# NOPRES-NEXT: renamable $x9, renamable $x8 = LDPXi renamable $x0, 1 :: (load (s64))
|
|
# CHECK-NEXT: STRXui killed renamable $x9, renamable $x0, 11 :: (store (s64), align 4)
|
|
# CHECK-NEXT: renamable $x9 = LDRXui renamable $x0, 3 :: (load (s64))
|
|
# CHECK-NEXT: renamable $x14 = LDRXui renamable $x0, 5 :: (load (s64))
|
|
# PRESERVED-NEXT: STRXui renamable $x9, renamable $x0, 10 :: (store (s64), align 4)
|
|
# NOPRES-NEXT: STRXui renamable $x9, renamable $x0, 10 :: (store (s64), align 4)
|
|
# CHECK-NEXT: STRXui killed renamable $x14, renamable $x0, 200 :: (store (s64), align 4)
|
|
# CHECK-NEXT: renamable $w8 = ADDWrr $w19, $w19
|
|
# CHECK-NEXT: STRWui renamable $w8, renamable $x0, 100 :: (store (s64), align 4)
|
|
# CHECK-NEXT: RET undef $lr
|
|
#
|
|
name: test2
|
|
alignment: 4
|
|
tracksRegLiveness: true
|
|
liveins:
|
|
- { reg: '$x0' }
|
|
- { reg: '$x1' }
|
|
- { reg: '$x8' }
|
|
frameInfo:
|
|
maxAlignment: 1
|
|
maxCallFrameSize: 0
|
|
machineFunctionInfo: {}
|
|
body: |
|
|
bb.0:
|
|
liveins: $x0, $x1, $x2, $x3, $x4, $x5, $x6, $x7, $x9, $x10, $x11, $x12, $x13
|
|
renamable $w19 = LDRWui renamable $x0, 0 :: (load (s64))
|
|
renamable $x9, renamable $x8 = LDPXi renamable $x0, 1 :: (load (s64))
|
|
STRXui renamable killed $x9, renamable $x0, 11 :: (store (s64), align 4)
|
|
renamable $x9 = LDRXui renamable $x0, 3 :: (load (s64))
|
|
renamable $x14 = LDRXui renamable $x0, 5 :: (load (s64))
|
|
STRXui renamable $x9, renamable $x0, 10 :: (store (s64), align 4)
|
|
STRXui renamable killed $x14, renamable $x0, 200 :: (store (s64), align 4)
|
|
renamable $w8 = ADDWrr $w19, $w19
|
|
STRWui renamable $w8, renamable $x0, 100 :: (store (s64), align 4)
|
|
RET undef $lr
|
|
|
|
...
|
|
---
|