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
93 lines
4.3 KiB
YAML
93 lines
4.3 KiB
YAML
# RUN: llc -mtriple=aarch64-unknown-linux -mattr=+sve -aarch64-sve-vector-bits-min=128 -aarch64-sve-vector-bits-max=128 -run-pass=aarch64-ldst-opt -verify-machineinstrs %s -o - | FileCheck %s
|
|
---
|
|
name: pair-sve-fill-spill
|
|
tracksRegLiveness: true
|
|
body: |
|
|
bb.0:
|
|
liveins: $x0, $x1
|
|
renamable $z0 = LDR_ZXI renamable $x0, 0 :: (load (<vscale x 1 x s128>))
|
|
renamable $z1 = LDR_ZXI killed renamable $x0, 1 :: (load (<vscale x 1 x s128>))
|
|
STR_ZXI killed renamable $z0, renamable $x1, 0 :: (store (<vscale x 1 x s128>))
|
|
STR_ZXI killed renamable $z1, killed renamable $x1, 1 :: (store (<vscale x 1 x s128>))
|
|
RET_ReallyLR
|
|
...
|
|
# CHECK-LABEL: name: pair-sve-fill-spill
|
|
# CHECK: $q0, $q1 = LDPQi renamable $x0, 0 :: (load (<vscale x 1 x s128>))
|
|
# CHECK: STPQi killed $q0, killed $q1, renamable $x1, 0 :: (store (<vscale x 1 x s128>))
|
|
---
|
|
name: do-not-pair-sve-with-neon-scaled
|
|
tracksRegLiveness: true
|
|
body: |
|
|
bb.0:
|
|
liveins: $x0, $x1
|
|
; SVE LDR + Neon LDR
|
|
renamable $z0 = LDR_ZXI renamable $x0, 0 :: (load (<vscale x 1 x s128>))
|
|
renamable $q1 = LDRQui renamable $x0, 1 :: (load (s128))
|
|
; Neon LDR + SVE LDR
|
|
renamable $q2 = LDRQui renamable $x0, 3 :: (load (s128))
|
|
renamable $z3 = LDR_ZXI renamable $x0, 4 :: (load (<vscale x 1 x s128>))
|
|
; SVE STR + Neon STR
|
|
STR_ZXI killed renamable $z0, renamable $x1, 0 :: (store (<vscale x 1 x s128>))
|
|
STRQui killed renamable $q1, renamable $x1, 1 :: (store (s128))
|
|
; Neon STR + SVE STR
|
|
STRQui killed renamable $q2, renamable $x1, 3 :: (store (s128))
|
|
STR_ZXI killed renamable $z3, renamable $x1, 4 :: (store (<vscale x 1 x s128>))
|
|
RET_ReallyLR
|
|
...
|
|
# CHECK-LABEL: name: do-not-pair-sve-with-neon-scaled
|
|
# CHECK: renamable $z0 = LDR_ZXI renamable $x0, 0 :: (load (<vscale x 1 x s128>))
|
|
# CHECK: renamable $q1 = LDRQui renamable $x0, 1 :: (load (s128))
|
|
# CHECK: renamable $q2 = LDRQui renamable $x0, 3 :: (load (s128))
|
|
# CHECK: renamable $z3 = LDR_ZXI renamable $x0, 4 :: (load (<vscale x 1 x s128>))
|
|
# CHECK: STR_ZXI killed renamable $z0, renamable $x1, 0 :: (store (<vscale x 1 x s128>))
|
|
# CHECK: STRQui killed renamable $q1, renamable $x1, 1 :: (store (s128))
|
|
# CHECK: STRQui killed renamable $q2, renamable $x1, 3 :: (store (s128))
|
|
# CHECK: STR_ZXI killed renamable $z3, renamable $x1, 4 :: (store (<vscale x 1 x s128>))
|
|
---
|
|
name: do-not-pair-sve-with-neon-unscaled
|
|
tracksRegLiveness: true
|
|
body: |
|
|
bb.0:
|
|
liveins: $x0, $x1
|
|
; SVE LDR + Neon LDUR
|
|
renamable $z0 = LDR_ZXI renamable $x0, 0 :: (load (<vscale x 1 x s128>))
|
|
renamable $q1 = LDURQi renamable $x0, 16 :: (load (s128))
|
|
; Neon LDUR + SVE LDR
|
|
renamable $q2 = LDURQi renamable $x0, 48 :: (load (s128))
|
|
renamable $z3 = LDR_ZXI renamable $x0, 4 :: (load (<vscale x 1 x s128>))
|
|
; SVE STR + Neon STUR
|
|
STR_ZXI killed renamable $z0, renamable $x1, 0 :: (store (<vscale x 1 x s128>))
|
|
STURQi killed renamable $q1, renamable $x1, 16 :: (store (s128))
|
|
; Neon STUR + SVE STR
|
|
STURQi killed renamable $q2, renamable $x1, 48 :: (store (s128))
|
|
STR_ZXI killed renamable $z3, renamable $x1, 4 :: (store (<vscale x 1 x s128>))
|
|
RET_ReallyLR
|
|
...
|
|
# CHECK-LABEL: name: do-not-pair-sve-with-neon-unscaled
|
|
# CHECK: renamable $z0 = LDR_ZXI renamable $x0, 0 :: (load (<vscale x 1 x s128>))
|
|
# CHECK: renamable $q1 = LDURQi renamable $x0, 16 :: (load (s128))
|
|
# CHECK: renamable $q2 = LDURQi renamable $x0, 48 :: (load (s128))
|
|
# CHECK: renamable $z3 = LDR_ZXI renamable $x0, 4 :: (load (<vscale x 1 x s128>))
|
|
# CHECK: STR_ZXI killed renamable $z0, renamable $x1, 0 :: (store (<vscale x 1 x s128>))
|
|
# CHECK: STURQi killed renamable $q1, renamable $x1, 16 :: (store (s128))
|
|
# CHECK: STURQi killed renamable $q2, renamable $x1, 48 :: (store (s128))
|
|
# CHECK: STR_ZXI killed renamable $z3, renamable $x1, 4 :: (store (<vscale x 1 x s128>))
|
|
---
|
|
name: clear-kill-in-bundle-forward
|
|
tracksRegLiveness: true
|
|
body: |
|
|
bb.0:
|
|
liveins: $x0, $z0
|
|
STR_ZXI $z0, $x0, 0 :: (store (<vscale x 1 x s128>))
|
|
BUNDLE implicit-def $z1, implicit killed $z0 {
|
|
$z1 = ADD_ZZZ_D killed $z0, $z0
|
|
}
|
|
STR_ZXI renamable $z1, $x0, 1 :: (store (<vscale x 1 x s128>))
|
|
RET_ReallyLR
|
|
...
|
|
# CHECK-LABEL: name: clear-kill-in-bundle-forward
|
|
# CHECK: BUNDLE implicit-def $z1, implicit $z0 {
|
|
# CHECK: $z1 = ADD_ZZZ_D $z0, $z0
|
|
# CHECK: }
|
|
# CHECK: STPQi $q0, $q1, $x0, 0 :: (store (<vscale x 1 x s128>))
|