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
329 lines
10 KiB
YAML
329 lines
10 KiB
YAML
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
|
|
# RUN: llc %s -verify-machineinstrs -mtriple=aarch64-unknown-unknown -run-pass=instruction-select -mattr=+fullfp16 -o - | FileCheck %s
|
|
|
|
...
|
|
---
|
|
name: load_s8_s16
|
|
alignment: 4
|
|
legalized: true
|
|
regBankSelected: true
|
|
tracksRegLiveness: true
|
|
machineFunctionInfo: {}
|
|
body: |
|
|
bb.0:
|
|
liveins: $d0, $x0
|
|
; CHECK-LABEL: name: load_s8_s16
|
|
; CHECK: liveins: $d0, $x0
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: [[COPY:%[0-9]+]]:gpr64sp = COPY $x0
|
|
; CHECK-NEXT: early-clobber %3:gpr64sp, %4:fpr8 = LDRBpost [[COPY]], 4 :: (load (s8))
|
|
; CHECK-NEXT: [[SUBREG_TO_REG:%[0-9]+]]:fpr16 = SUBREG_TO_REG %4, %subreg.bsub
|
|
; CHECK-NEXT: $h0 = COPY [[SUBREG_TO_REG]]
|
|
; CHECK-NEXT: $x0 = COPY %3
|
|
; CHECK-NEXT: RET_ReallyLR implicit $d0
|
|
%0:gpr(p0) = COPY $x0
|
|
%1:gpr(s64) = G_CONSTANT i64 4
|
|
%2:fpr(s16), %3:gpr(p0) = G_INDEXED_LOAD %0:gpr, %1:gpr, 0 :: (load (s8))
|
|
$h0 = COPY %2(s16)
|
|
$x0 = COPY %3(p0)
|
|
RET_ReallyLR implicit $d0
|
|
|
|
...
|
|
---
|
|
name: load_s8_s32
|
|
alignment: 4
|
|
legalized: true
|
|
regBankSelected: true
|
|
tracksRegLiveness: true
|
|
machineFunctionInfo: {}
|
|
body: |
|
|
bb.0:
|
|
liveins: $d0, $x0
|
|
; CHECK-LABEL: name: load_s8_s32
|
|
; CHECK: liveins: $d0, $x0
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: [[COPY:%[0-9]+]]:gpr64sp = COPY $x0
|
|
; CHECK-NEXT: early-clobber %3:gpr64sp, %4:fpr8 = LDRBpost [[COPY]], 4 :: (load (s8))
|
|
; CHECK-NEXT: [[SUBREG_TO_REG:%[0-9]+]]:fpr32 = SUBREG_TO_REG %4, %subreg.bsub
|
|
; CHECK-NEXT: $s0 = COPY [[SUBREG_TO_REG]]
|
|
; CHECK-NEXT: $x0 = COPY %3
|
|
; CHECK-NEXT: RET_ReallyLR implicit $d0
|
|
%0:gpr(p0) = COPY $x0
|
|
%1:gpr(s64) = G_CONSTANT i64 4
|
|
%2:fpr(s32), %3:gpr(p0) = G_INDEXED_LOAD %0:gpr, %1:gpr, 0 :: (load (s8))
|
|
$s0 = COPY %2(s32)
|
|
$x0 = COPY %3(p0)
|
|
RET_ReallyLR implicit $d0
|
|
|
|
...
|
|
---
|
|
name: load_s8_s64
|
|
alignment: 4
|
|
legalized: true
|
|
regBankSelected: true
|
|
tracksRegLiveness: true
|
|
machineFunctionInfo: {}
|
|
body: |
|
|
bb.0:
|
|
liveins: $d0, $x0
|
|
; CHECK-LABEL: name: load_s8_s64
|
|
; CHECK: liveins: $d0, $x0
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: [[COPY:%[0-9]+]]:gpr64sp = COPY $x0
|
|
; CHECK-NEXT: early-clobber %3:gpr64sp, %4:fpr8 = LDRBpost [[COPY]], 4 :: (load (s8))
|
|
; CHECK-NEXT: [[SUBREG_TO_REG:%[0-9]+]]:fpr64 = SUBREG_TO_REG %4, %subreg.bsub
|
|
; CHECK-NEXT: $d0 = COPY [[SUBREG_TO_REG]]
|
|
; CHECK-NEXT: $x0 = COPY %3
|
|
; CHECK-NEXT: RET_ReallyLR implicit $d0
|
|
%0:gpr(p0) = COPY $x0
|
|
%1:gpr(s64) = G_CONSTANT i64 4
|
|
%2:fpr(s64), %3:gpr(p0) = G_INDEXED_LOAD %0:gpr, %1:gpr, 0 :: (load (s8))
|
|
$d0 = COPY %2(s64)
|
|
$x0 = COPY %3(p0)
|
|
RET_ReallyLR implicit $d0
|
|
|
|
...
|
|
---
|
|
name: load_s16_s32
|
|
alignment: 4
|
|
legalized: true
|
|
regBankSelected: true
|
|
tracksRegLiveness: true
|
|
machineFunctionInfo: {}
|
|
body: |
|
|
bb.0:
|
|
liveins: $d0, $x0
|
|
; CHECK-LABEL: name: load_s16_s32
|
|
; CHECK: liveins: $d0, $x0
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: [[COPY:%[0-9]+]]:gpr64sp = COPY $x0
|
|
; CHECK-NEXT: early-clobber %3:gpr64sp, %4:fpr16 = LDRHpost [[COPY]], 4 :: (load (s16))
|
|
; CHECK-NEXT: [[SUBREG_TO_REG:%[0-9]+]]:fpr32 = SUBREG_TO_REG %4, %subreg.hsub
|
|
; CHECK-NEXT: $s0 = COPY [[SUBREG_TO_REG]]
|
|
; CHECK-NEXT: $x0 = COPY %3
|
|
; CHECK-NEXT: RET_ReallyLR implicit $d0
|
|
%0:gpr(p0) = COPY $x0
|
|
%1:gpr(s64) = G_CONSTANT i64 4
|
|
%2:fpr(s32), %3:gpr(p0) = G_INDEXED_LOAD %0:gpr, %1:gpr, 0 :: (load (s16))
|
|
$s0 = COPY %2(s32)
|
|
$x0 = COPY %3(p0)
|
|
RET_ReallyLR implicit $d0
|
|
|
|
...
|
|
---
|
|
name: load_s16_s64
|
|
alignment: 4
|
|
legalized: true
|
|
regBankSelected: true
|
|
tracksRegLiveness: true
|
|
machineFunctionInfo: {}
|
|
body: |
|
|
bb.0:
|
|
liveins: $d0, $x0
|
|
; CHECK-LABEL: name: load_s16_s64
|
|
; CHECK: liveins: $d0, $x0
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: [[COPY:%[0-9]+]]:gpr64sp = COPY $x0
|
|
; CHECK-NEXT: early-clobber %3:gpr64sp, %4:fpr16 = LDRHpost [[COPY]], 4 :: (load (s16))
|
|
; CHECK-NEXT: [[SUBREG_TO_REG:%[0-9]+]]:fpr64 = SUBREG_TO_REG %4, %subreg.hsub
|
|
; CHECK-NEXT: $d0 = COPY [[SUBREG_TO_REG]]
|
|
; CHECK-NEXT: $x0 = COPY %3
|
|
; CHECK-NEXT: RET_ReallyLR implicit $d0
|
|
%0:gpr(p0) = COPY $x0
|
|
%1:gpr(s64) = G_CONSTANT i64 4
|
|
%2:fpr(s64), %3:gpr(p0) = G_INDEXED_LOAD %0:gpr, %1:gpr, 0 :: (load (s16))
|
|
$d0 = COPY %2(s64)
|
|
$x0 = COPY %3(p0)
|
|
RET_ReallyLR implicit $d0
|
|
|
|
...
|
|
---
|
|
name: load_s32_s64
|
|
alignment: 4
|
|
legalized: true
|
|
regBankSelected: true
|
|
tracksRegLiveness: true
|
|
machineFunctionInfo: {}
|
|
body: |
|
|
bb.0:
|
|
liveins: $d0, $x0
|
|
; CHECK-LABEL: name: load_s32_s64
|
|
; CHECK: liveins: $d0, $x0
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: [[COPY:%[0-9]+]]:gpr64sp = COPY $x0
|
|
; CHECK-NEXT: early-clobber %3:gpr64sp, %4:fpr32 = LDRSpost [[COPY]], 4 :: (load (s32))
|
|
; CHECK-NEXT: [[SUBREG_TO_REG:%[0-9]+]]:fpr64 = SUBREG_TO_REG %4, %subreg.ssub
|
|
; CHECK-NEXT: $d0 = COPY [[SUBREG_TO_REG]]
|
|
; CHECK-NEXT: $x0 = COPY %3
|
|
; CHECK-NEXT: RET_ReallyLR implicit $d0
|
|
%0:gpr(p0) = COPY $x0
|
|
%1:gpr(s64) = G_CONSTANT i64 4
|
|
%2:fpr(s64), %3:gpr(p0) = G_INDEXED_LOAD %0:gpr, %1:gpr, 0 :: (load (s32))
|
|
$d0 = COPY %2(s64)
|
|
$x0 = COPY %3(p0)
|
|
RET_ReallyLR implicit $d0
|
|
|
|
...
|
|
---
|
|
name: load_s8_s16_pre
|
|
alignment: 4
|
|
legalized: true
|
|
regBankSelected: true
|
|
tracksRegLiveness: true
|
|
machineFunctionInfo: {}
|
|
body: |
|
|
bb.0:
|
|
liveins: $d0, $x0
|
|
; CHECK-LABEL: name: load_s8_s16_pre
|
|
; CHECK: liveins: $d0, $x0
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: [[COPY:%[0-9]+]]:gpr64sp = COPY $x0
|
|
; CHECK-NEXT: early-clobber %3:gpr64sp, %4:fpr8 = LDRBpre [[COPY]], 4 :: (load (s8))
|
|
; CHECK-NEXT: [[SUBREG_TO_REG:%[0-9]+]]:fpr16 = SUBREG_TO_REG %4, %subreg.bsub
|
|
; CHECK-NEXT: $h0 = COPY [[SUBREG_TO_REG]]
|
|
; CHECK-NEXT: $x0 = COPY %3
|
|
; CHECK-NEXT: RET_ReallyLR implicit $d0
|
|
%0:gpr(p0) = COPY $x0
|
|
%1:gpr(s64) = G_CONSTANT i64 4
|
|
%2:fpr(s16), %3:gpr(p0) = G_INDEXED_LOAD %0:gpr, %1:gpr, 1 :: (load (s8))
|
|
$h0 = COPY %2(s16)
|
|
$x0 = COPY %3(p0)
|
|
RET_ReallyLR implicit $d0
|
|
|
|
...
|
|
---
|
|
name: load_s8_s32_pre
|
|
alignment: 4
|
|
legalized: true
|
|
regBankSelected: true
|
|
tracksRegLiveness: true
|
|
machineFunctionInfo: {}
|
|
body: |
|
|
bb.0:
|
|
liveins: $d0, $x0
|
|
; CHECK-LABEL: name: load_s8_s32_pre
|
|
; CHECK: liveins: $d0, $x0
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: [[COPY:%[0-9]+]]:gpr64sp = COPY $x0
|
|
; CHECK-NEXT: early-clobber %3:gpr64sp, %4:fpr8 = LDRBpre [[COPY]], 4 :: (load (s8))
|
|
; CHECK-NEXT: [[SUBREG_TO_REG:%[0-9]+]]:fpr32 = SUBREG_TO_REG %4, %subreg.bsub
|
|
; CHECK-NEXT: $s0 = COPY [[SUBREG_TO_REG]]
|
|
; CHECK-NEXT: $x0 = COPY %3
|
|
; CHECK-NEXT: RET_ReallyLR implicit $d0
|
|
%0:gpr(p0) = COPY $x0
|
|
%1:gpr(s64) = G_CONSTANT i64 4
|
|
%2:fpr(s32), %3:gpr(p0) = G_INDEXED_LOAD %0:gpr, %1:gpr, 1 :: (load (s8))
|
|
$s0 = COPY %2(s32)
|
|
$x0 = COPY %3(p0)
|
|
RET_ReallyLR implicit $d0
|
|
|
|
...
|
|
---
|
|
name: load_s8_s64_pre
|
|
alignment: 4
|
|
legalized: true
|
|
regBankSelected: true
|
|
tracksRegLiveness: true
|
|
machineFunctionInfo: {}
|
|
body: |
|
|
bb.0:
|
|
liveins: $d0, $x0
|
|
; CHECK-LABEL: name: load_s8_s64_pre
|
|
; CHECK: liveins: $d0, $x0
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: [[COPY:%[0-9]+]]:gpr64sp = COPY $x0
|
|
; CHECK-NEXT: early-clobber %3:gpr64sp, %4:fpr8 = LDRBpre [[COPY]], 4 :: (load (s8))
|
|
; CHECK-NEXT: [[SUBREG_TO_REG:%[0-9]+]]:fpr64 = SUBREG_TO_REG %4, %subreg.bsub
|
|
; CHECK-NEXT: $d0 = COPY [[SUBREG_TO_REG]]
|
|
; CHECK-NEXT: $x0 = COPY %3
|
|
; CHECK-NEXT: RET_ReallyLR implicit $d0
|
|
%0:gpr(p0) = COPY $x0
|
|
%1:gpr(s64) = G_CONSTANT i64 4
|
|
%2:fpr(s64), %3:gpr(p0) = G_INDEXED_LOAD %0:gpr, %1:gpr, 1 :: (load (s8))
|
|
$d0 = COPY %2(s64)
|
|
$x0 = COPY %3(p0)
|
|
RET_ReallyLR implicit $d0
|
|
|
|
...
|
|
---
|
|
name: load_s16_s32_pre
|
|
alignment: 4
|
|
legalized: true
|
|
regBankSelected: true
|
|
tracksRegLiveness: true
|
|
machineFunctionInfo: {}
|
|
body: |
|
|
bb.0:
|
|
liveins: $d0, $x0
|
|
; CHECK-LABEL: name: load_s16_s32_pre
|
|
; CHECK: liveins: $d0, $x0
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: [[COPY:%[0-9]+]]:gpr64sp = COPY $x0
|
|
; CHECK-NEXT: early-clobber %3:gpr64sp, %4:fpr16 = LDRHpre [[COPY]], 4 :: (load (s16))
|
|
; CHECK-NEXT: [[SUBREG_TO_REG:%[0-9]+]]:fpr32 = SUBREG_TO_REG %4, %subreg.hsub
|
|
; CHECK-NEXT: $s0 = COPY [[SUBREG_TO_REG]]
|
|
; CHECK-NEXT: $x0 = COPY %3
|
|
; CHECK-NEXT: RET_ReallyLR implicit $d0
|
|
%0:gpr(p0) = COPY $x0
|
|
%1:gpr(s64) = G_CONSTANT i64 4
|
|
%2:fpr(s32), %3:gpr(p0) = G_INDEXED_LOAD %0:gpr, %1:gpr, 1 :: (load (s16))
|
|
$s0 = COPY %2(s32)
|
|
$x0 = COPY %3(p0)
|
|
RET_ReallyLR implicit $d0
|
|
|
|
...
|
|
---
|
|
name: load_s16_s64_pre
|
|
alignment: 4
|
|
legalized: true
|
|
regBankSelected: true
|
|
tracksRegLiveness: true
|
|
machineFunctionInfo: {}
|
|
body: |
|
|
bb.0:
|
|
liveins: $d0, $x0
|
|
; CHECK-LABEL: name: load_s16_s64_pre
|
|
; CHECK: liveins: $d0, $x0
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: [[COPY:%[0-9]+]]:gpr64sp = COPY $x0
|
|
; CHECK-NEXT: early-clobber %3:gpr64sp, %4:fpr16 = LDRHpre [[COPY]], 4 :: (load (s16))
|
|
; CHECK-NEXT: [[SUBREG_TO_REG:%[0-9]+]]:fpr64 = SUBREG_TO_REG %4, %subreg.hsub
|
|
; CHECK-NEXT: $d0 = COPY [[SUBREG_TO_REG]]
|
|
; CHECK-NEXT: $x0 = COPY %3
|
|
; CHECK-NEXT: RET_ReallyLR implicit $d0
|
|
%0:gpr(p0) = COPY $x0
|
|
%1:gpr(s64) = G_CONSTANT i64 4
|
|
%2:fpr(s64), %3:gpr(p0) = G_INDEXED_LOAD %0:gpr, %1:gpr, 1 :: (load (s16))
|
|
$d0 = COPY %2(s64)
|
|
$x0 = COPY %3(p0)
|
|
RET_ReallyLR implicit $d0
|
|
|
|
...
|
|
---
|
|
name: load_s32_s64_pre
|
|
alignment: 4
|
|
legalized: true
|
|
regBankSelected: true
|
|
tracksRegLiveness: true
|
|
machineFunctionInfo: {}
|
|
body: |
|
|
bb.0:
|
|
liveins: $d0, $x0
|
|
; CHECK-LABEL: name: load_s32_s64_pre
|
|
; CHECK: liveins: $d0, $x0
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: [[COPY:%[0-9]+]]:gpr64sp = COPY $x0
|
|
; CHECK-NEXT: early-clobber %3:gpr64sp, %4:fpr32 = LDRSpre [[COPY]], 4 :: (load (s32))
|
|
; CHECK-NEXT: [[SUBREG_TO_REG:%[0-9]+]]:fpr64 = SUBREG_TO_REG %4, %subreg.ssub
|
|
; CHECK-NEXT: $d0 = COPY [[SUBREG_TO_REG]]
|
|
; CHECK-NEXT: $x0 = COPY %3
|
|
; CHECK-NEXT: RET_ReallyLR implicit $d0
|
|
%0:gpr(p0) = COPY $x0
|
|
%1:gpr(s64) = G_CONSTANT i64 4
|
|
%2:fpr(s64), %3:gpr(p0) = G_INDEXED_LOAD %0:gpr, %1:gpr, 1 :: (load (s32))
|
|
$d0 = COPY %2(s64)
|
|
$x0 = COPY %3(p0)
|
|
RET_ReallyLR implicit $d0
|
|
|
|
...
|