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
110 lines
4.6 KiB
YAML
110 lines
4.6 KiB
YAML
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 6
|
|
# RUN: llc -mtriple=aarch64-- -run-pass=aarch64-ldst-opt -verify-machineinstrs -o - %s | FileCheck %s
|
|
# Check that we copy implicit operands.
|
|
---
|
|
name: impdef_op1
|
|
tracksRegLiveness: true
|
|
body: |
|
|
bb.0:
|
|
liveins: $lr
|
|
; CHECK-LABEL: name: impdef_op1
|
|
; CHECK: liveins: $lr
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: renamable $q5, renamable $q20 = LDPQi renamable $lr, 3, implicit-def $q4_q5 :: (load (s128))
|
|
; CHECK-NEXT: $q0 = ORRv16i8 $q4, killed $q4
|
|
; CHECK-NEXT: $q1 = ORRv16i8 $q5, killed $q5
|
|
; CHECK-NEXT: RET_ReallyLR
|
|
renamable $q5 = LDRQui renamable $lr, 3, implicit-def $q4_q5 :: (load (s128))
|
|
renamable $q20 = LDRQui renamable $lr, 4 :: (load (s128))
|
|
$q0 = ORRv16i8 $q4, killed $q4
|
|
$q1 = ORRv16i8 $q5, killed $q5
|
|
RET_ReallyLR
|
|
...
|
|
---
|
|
name: impdef_op2
|
|
body: |
|
|
bb.0:
|
|
liveins: $lr
|
|
; CHECK-LABEL: name: impdef_op2
|
|
; CHECK: liveins: $lr
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: renamable $q20, renamable $q5 = LDPQi renamable $lr, 3, implicit-def $q4_q5 :: (load (s128))
|
|
; CHECK-NEXT: $q0 = ORRv16i8 $q4, killed $q4
|
|
; CHECK-NEXT: $q1 = ORRv16i8 $q5, killed $q5
|
|
; CHECK-NEXT: RET_ReallyLR
|
|
renamable $q20 = LDRQui renamable $lr, 3 :: (load (s128))
|
|
renamable $q5 = LDRQui renamable $lr, 4, implicit-def $q4_q5 :: (load (s128))
|
|
$q0 = ORRv16i8 $q4, killed $q4
|
|
$q1 = ORRv16i8 $q5, killed $q5
|
|
RET_ReallyLR
|
|
...
|
|
---
|
|
name: impdef_both
|
|
body: |
|
|
bb.0:
|
|
liveins: $lr
|
|
; CHECK-LABEL: name: impdef_both
|
|
; CHECK: liveins: $lr
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: renamable $q5, renamable $q20 = LDPQi renamable $lr, 3, implicit-def $q4_q5, implicit-def $q20_q21 :: (load (s128))
|
|
; CHECK-NEXT: $q0 = ORRv16i8 $q4, killed $q4
|
|
; CHECK-NEXT: $q1 = ORRv16i8 $q5, killed $q5
|
|
; CHECK-NEXT: $q2 = ORRv16i8 $q20, killed $q20
|
|
; CHECK-NEXT: $q3 = ORRv16i8 $q21, killed $q21
|
|
; CHECK-NEXT: RET_ReallyLR
|
|
renamable $q5 = LDRQui renamable $lr, 3, implicit-def $q4_q5 :: (load (s128))
|
|
renamable $q20 = LDRQui renamable $lr, 4, implicit-def $q20_q21 :: (load (s128))
|
|
$q0 = ORRv16i8 $q4, killed $q4
|
|
$q1 = ORRv16i8 $q5, killed $q5
|
|
$q2 = ORRv16i8 $q20, killed $q20
|
|
$q3 = ORRv16i8 $q21, killed $q21
|
|
RET_ReallyLR
|
|
...
|
|
---
|
|
name: impdef_both_same
|
|
body: |
|
|
bb.0:
|
|
liveins: $lr
|
|
; CHECK-LABEL: name: impdef_both_same
|
|
; CHECK: liveins: $lr
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: renamable $q5, renamable $q20 = LDPQi renamable $lr, 3, implicit-def $q4_q5 :: (load (s128))
|
|
; CHECK-NEXT: $q0 = ORRv16i8 $q4, killed $q4
|
|
; CHECK-NEXT: $q1 = ORRv16i8 $q5, killed $q5
|
|
; CHECK-NEXT: RET_ReallyLR
|
|
renamable $q5 = LDRQui renamable $lr, 3, implicit-def $q4_q5 :: (load (s128))
|
|
renamable $q20 = LDRQui renamable $lr, 4, implicit-def $q4_q5 :: (load (s128))
|
|
$q0 = ORRv16i8 $q4, killed $q4
|
|
$q1 = ORRv16i8 $q5, killed $q5
|
|
RET_ReallyLR
|
|
...
|
|
# Test that when the implicit-def is renamable, the loads/stores can still be
|
|
# bundled together.
|
|
---
|
|
name: impdef_renamable
|
|
tracksRegLiveness: true
|
|
stack:
|
|
- { id: 0, name: '', type: default, offset: -8, size: 8, alignment: 8,
|
|
stack-id: default, callee-saved-register: '', callee-saved-restored: true,
|
|
local-offset: -8, debug-info-variable: '', debug-info-expression: '',
|
|
debug-info-location: '' }
|
|
- { id: 1, name: '', type: default, offset: -16, size: 8, alignment: 8,
|
|
stack-id: default, callee-saved-register: '', callee-saved-restored: true,
|
|
local-offset: -16, debug-info-variable: '', debug-info-expression: '',
|
|
debug-info-location: '' }
|
|
body: |
|
|
bb.0:
|
|
; CHECK-LABEL: name: impdef_renamable
|
|
; CHECK: early-clobber $sp, renamable $w8, $w9 = frame-setup LDPWpre $sp, -4 :: (load (s32) from %stack.1 + 4), (load (s32) from %stack.1, align 8)
|
|
; CHECK-NEXT: STPWi killed renamable $w8, killed $w9, $sp, 2 :: (store (s32) into %stack.0 + 4), (store (s32) into %stack.0, align 8)
|
|
; CHECK-NEXT: $sp = frame-destroy ADDXri $sp, 16, 0
|
|
; CHECK-NEXT: RET undef $lr
|
|
$sp = frame-setup SUBXri $sp, 16, 0
|
|
renamable $w8 = LDRWui $sp, 1, implicit-def renamable $x8 :: (load (s32) from %stack.1 + 4)
|
|
STRWui killed renamable $w8, $sp, 3 :: (store (s32) into %stack.0 + 4)
|
|
renamable $w8 = LDRWui $sp, 0, implicit-def renamable $x8 :: (load (s32) from %stack.1, align 8)
|
|
STRWui killed renamable $w8, $sp, 2 :: (store (s32) into %stack.0, align 8)
|
|
$sp = frame-destroy ADDXri $sp, 16, 0
|
|
RET undef $lr
|
|
...
|