Files
TheRock/compiler/amd-llvm/llvm/test/CodeGen/PowerPC/subreg-lanemasks.mir
T
derek.holloway 7502bf64a4
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
Flatten subprojects into a single base monorepo
2026-09-02 16:34:47 -07:00

65 lines
3.3 KiB
YAML

# RUN: llc -mcpu=pwr10 -enable-subreg-liveness -filetype=null \
# RUN: -mtriple=powerpc64le-unknown-linux-gnu -run-pass=greedy,virtregrewriter \
# RUN: -debug-only=regalloc -o - %s 2>&1 | FileCheck %s
# REQUIRES: asserts
# Keep track of all of the lanemasks for various subregsiters.
#
# CHECK: %3 [80r,80d:0) 0@80r L000000000000000C [80r,80d:0) 0@80r weight:0.000000e+00
# CHECK: %4 [96r,96d:0) 0@96r L0000000000003000 [96r,96d:0) 0@96r weight:0.000000e+00
# CHECK: %5 [112r,112d:0) 0@112r L000000000000000C [112r,112d:0) 0@112r weight:0.000000e+00
# CHECK: %6 [128r,128d:0) 0@128r L0000000000003000 [128r,128d:0) 0@128r weight:0.000000e+00
# CHECK: %7 [144r,144d:0) 0@144r L0000000000000004 [144r,144d:0) 0@144r weight:0.000000e+00
# CHECK: %8 [160r,160d:0) 0@160r L0000000000001000 [160r,160d:0) 0@160r weight:0.000000e+00
# CHECK: %9 [176r,176d:0) 0@176r L0000000000000004 [176r,176d:0) 0@176r weight:0.000000e+00
# CHECK: %10 [192r,192d:0) 0@192r L0000000000001000 [192r,192d:0) 0@192r weight:0.000000e+00
# CHECK: %11 [208r,208d:0) 0@208r L0000000000004000 [208r,208d:0) 0@208r weight:0.000000e+00
# CHECK: %12 [224r,224d:0) 0@224r L0000000000010000 [224r,224d:0) 0@224r weight:0.000000e+00
# CHECK: %13 [240r,240d:0) 0@240r L000000000000300C [240r,240d:0) 0@240r weight:0.000000e+00
# CHECK: %14 [256r,256d:0) 0@256r L000000000003C000 [256r,256d:0) 0@256r weight:0.000000e+00
# CHECK: 0B bb.0
# CHECK-NEXT: liveins
# CHECK-NEXT: 16B %0:vsrc = COPY $v2
# CHECK-NEXT: 32B %float:fprc = COPY %0.sub_64:vsrc
# CHECK-NEXT: 48B dead undef %pair.sub_vsx0:vsrprc = COPY $v2
# CHECK-NEXT: 64B undef %15.sub_vsx1:vsrprc = COPY $v3
# CHECK-NEXT: 80B dead undef %3.sub_vsx0:vsrprc = COPY %0:vsrc
# CHECK-NEXT: 96B dead undef %4.sub_vsx1:vsrprc = COPY %0:vsrc
# CHECK-NEXT: 112B dead undef %5.sub_vsx0:accrc = COPY %0:vsrc
# CHECK-NEXT: 128B dead undef %6.sub_vsx1:accrc = COPY %0:vsrc
# CHECK-NEXT: 144B dead undef %7.sub_64:vsrprc = COPY %float:fprc
# CHECK-NEXT: 160B dead undef %8.sub_vsx1_then_sub_64:vsrprc = COPY %float:fprc
# CHECK-NEXT: 176B dead undef %9.sub_64:accrc = COPY %float:fprc
# CHECK-NEXT: 192B dead undef %10.sub_vsx1_then_sub_64:accrc = COPY %float:fprc
# CHECK-NEXT: 208B dead undef %11.sub_pair1_then_sub_64:accrc = COPY %float:fprc
# CHECK-NEXT: 224B dead undef %12.sub_pair1_then_sub_vsx1_then_sub_64:accrc = COPY %float:fprc
# CHECK-NEXT: 240B dead undef %13.sub_pair0:accrc = COPY %15:vsrprc
# CHECK-NEXT: 256B dead undef %14.sub_pair1:accrc = COPY %15:vsrprc
---
name: test
tracksRegLiveness: true
body: |
bb.0:
liveins: $v2, $v3
%0:vsrc = COPY $v2
%float:fprc = COPY %0.sub_64
undef %pair.sub_vsx0:vsrprc = COPY $v2
undef %pair.sub_vsx1:vsrprc = COPY $v3
undef %1.sub_vsx0:vsrprc = COPY %0
undef %2.sub_vsx1:vsrprc = COPY %0
undef %3.sub_vsx0:accrc = COPY %0
undef %4.sub_vsx1:accrc = COPY %0
undef %5.sub_64:vsrprc = COPY %float
undef %6.sub_vsx1_then_sub_64:vsrprc = COPY %float
undef %7.sub_64:accrc = COPY %float
undef %8.sub_vsx1_then_sub_64:accrc = COPY %float
undef %9.sub_pair1_then_sub_64:accrc = COPY %float
undef %10.sub_pair1_then_sub_vsx1_then_sub_64:accrc = COPY %float
undef %11.sub_pair0:accrc = COPY %pair
undef %12.sub_pair1:accrc = COPY %pair
...