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
2.9 KiB
YAML
93 lines
2.9 KiB
YAML
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
|
|
# RUN: llc -run-pass=aarch64-mi-peephole-opt -o - -mtriple=aarch64-unknown-linux -verify-machineinstrs %s | FileCheck %s
|
|
# RUN: llc -passes=aarch64-mi-peephole-opt -o - -mtriple=aarch64-unknown-linux %s | FileCheck %s
|
|
---
|
|
name: copy_fpr128_gpr32
|
|
body: |
|
|
bb.0:
|
|
liveins: $q0
|
|
; CHECK-LABEL: name: copy_fpr128_gpr32
|
|
; CHECK: liveins: $q0
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: [[COPY:%[0-9]+]]:fpr128 = COPY $q0
|
|
; CHECK-NEXT: [[COPY1:%[0-9]+]]:fpr32 = COPY [[COPY]].ssub
|
|
; CHECK-NEXT: [[FMOVSWr:%[0-9]+]]:gpr32 = FMOVSWr [[COPY1]]
|
|
%0:fpr128 = COPY $q0
|
|
%1:gpr32 = COPY %0.ssub:fpr128
|
|
%2:gpr32 = ORRWrs $wzr, killed %1:gpr32, 0
|
|
...
|
|
---
|
|
name: copy_fpr32_gpr32
|
|
body: |
|
|
bb.0:
|
|
liveins: $s0
|
|
; CHECK-LABEL: name: copy_fpr32_gpr32
|
|
; CHECK: liveins: $s0
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: [[COPY:%[0-9]+]]:fpr32 = COPY $s0
|
|
; CHECK-NEXT: [[FMOVSWr:%[0-9]+]]:gpr32 = FMOVSWr [[COPY]]
|
|
%0:fpr32 = COPY $s0
|
|
%1:gpr32 = COPY %0:fpr32
|
|
%2:gpr32 = ORRWrs $wzr, killed %1:gpr32, 0
|
|
...
|
|
---
|
|
name: copy_zpr_gpr32
|
|
body: |
|
|
bb.0:
|
|
liveins: $z0
|
|
; CHECK-LABEL: name: copy_zpr_gpr32
|
|
; CHECK: liveins: $z0
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: [[COPY:%[0-9]+]]:zpr = COPY $z0
|
|
; CHECK-NEXT: [[COPY1:%[0-9]+]]:fpr32 = COPY [[COPY]].ssub
|
|
; CHECK-NEXT: [[FMOVSWr:%[0-9]+]]:gpr32 = FMOVSWr [[COPY1]]
|
|
%0:zpr = COPY $z0
|
|
%1:gpr32 = COPY %0.ssub:zpr
|
|
%2:gpr32 = ORRWrs $wzr, killed %1:gpr32, 0
|
|
...
|
|
---
|
|
name: copy_multiple_uses
|
|
tracksRegLiveness: true
|
|
body: |
|
|
; CHECK-LABEL: name: copy_multiple_uses
|
|
; CHECK: bb.0.entry:
|
|
; CHECK-NEXT: successors: %bb.1(0x80000000)
|
|
; CHECK-NEXT: liveins: $w0, $q0
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: [[COPY:%[0-9]+]]:fpr128 = COPY $q0
|
|
; CHECK-NEXT: [[COPY1:%[0-9]+]]:gpr32 = COPY $w0
|
|
; CHECK-NEXT: [[COPY2:%[0-9]+]]:gpr32sp = COPY $w0
|
|
; CHECK-NEXT: B %bb.1
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: bb.1:
|
|
; CHECK-NEXT: successors: %bb.1(0x40000000), %bb.2(0x40000000)
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: [[SUBSWri:%[0-9]+]]:gpr32 = SUBSWri [[COPY2]], 1, 0, implicit-def $nzcv
|
|
; CHECK-NEXT: [[COPY3:%[0-9]+]]:fpr32 = COPY [[COPY]].ssub
|
|
; CHECK-NEXT: [[FMOVSWr:%[0-9]+]]:gpr32 = FMOVSWr [[COPY3]]
|
|
; CHECK-NEXT: [[ADDWrr:%[0-9]+]]:gpr32 = ADDWrr [[FMOVSWr]], [[SUBSWri]]
|
|
; CHECK-NEXT: Bcc 2, %bb.1, implicit $nzcv
|
|
; CHECK-NEXT: B %bb.2
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: bb.2:
|
|
; CHECK-NEXT: $w0 = COPY [[ADDWrr]]
|
|
; CHECK-NEXT: RET_ReallyLR implicit $w0
|
|
bb.0.entry:
|
|
liveins: $w0, $q0
|
|
%0:fpr128 = COPY $q0
|
|
%1:gpr32 = COPY $w0
|
|
%6:gpr32sp = COPY $w0
|
|
B %bb.1
|
|
|
|
bb.1:
|
|
%7:gpr32 = SUBSWri %6, 1, 0, implicit-def $nzcv
|
|
%2:gpr32 = COPY %0.ssub:fpr128
|
|
%3:gpr32 = ORRWrs $wzr, %2:gpr32, 0
|
|
%5:gpr32 = ADDWrr %2:gpr32, %7:gpr32
|
|
Bcc 2, %bb.1, implicit $nzcv
|
|
B %bb.2
|
|
|
|
bb.2:
|
|
$w0 = COPY %5
|
|
RET_ReallyLR implicit $w0
|