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
104 lines
3.7 KiB
YAML
104 lines
3.7 KiB
YAML
# RUN: llc -run-pass=aarch64-expand-pseudo -mtriple=arm64-apple-darwin -o - %s | FileCheck %s
|
|
# RUN: llc -passes=aarch64-expand-pseudo -mtriple=arm64-apple-darwin -o - %s | FileCheck %s
|
|
|
|
# Check that we preserve renamble when expanding MOVi32imm/MOVi64imm.
|
|
#
|
|
---
|
|
# CHECK-LABEL: name: test_i32
|
|
# CHECK-LABEL: bb.0:
|
|
# CHECK-NEXT: $sp = frame-setup SUBXri $sp, 32, 0
|
|
# CHECK-NEXT: renamable $w8 = MOVZWi 4, 0
|
|
# CHECK-NEXT: STRWui killed renamable $w8, $sp, 0
|
|
# CHECK-NEXT: $w8 = MOVZWi 45926, 0
|
|
# CHECK-NEXT: $w8 = MOVKWi $w8, 102, 16
|
|
# CHECK-NEXT: STRWui killed renamable $w8, $sp, 1
|
|
# CHECK-NEXT: renamable $w8 = MOVZWi 10319, 0
|
|
# CHECK-NEXT: renamable $w8 = MOVKWi $w8, 2942, 16
|
|
# CHECK-NEXT: STRWui killed renamable $w8, $sp, 2
|
|
# CHECK-NEXT: renamable $w8 = MOVZWi 30600, 0
|
|
# CHECK-NEXT: renamable $w8 = MOVKWi $w8, 21862, 16
|
|
# CHECK-NEXT: STRWui killed renamable $w8, $sp, 3
|
|
# CHECK-NEXT: $sp = frame-destroy ADDXri $sp, 32, 0
|
|
# CHECK-NEXT: RET undef $lr
|
|
#
|
|
name: test_i32
|
|
alignment: 8
|
|
tracksRegLiveness: true
|
|
frameInfo:
|
|
stackSize: 32
|
|
maxAlignment: 4
|
|
maxCallFrameSize: 0
|
|
localFrameSize: 24
|
|
stack:
|
|
- { id: 0, offset: -4, size: 4, alignment: 4, local-offset: -4 }
|
|
- { id: 1, offset: -8, size: 4, alignment: 4, local-offset: -8 }
|
|
- { id: 2, offset: -12, size: 4, alignment: 4, local-offset: -12 }
|
|
- { id: 3, offset: -16, size: 4, alignment: 4, local-offset: -16 }
|
|
machineFunctionInfo: {}
|
|
body: |
|
|
bb.0:
|
|
$sp = frame-setup SUBXri $sp, 32, 0
|
|
renamable $w8 = MOVi32imm 4
|
|
STRWui killed renamable $w8, $sp, 0
|
|
$w8 = MOVi32imm 6730598
|
|
STRWui killed renamable $w8, $sp, 1
|
|
renamable $w8 = MOVi32imm 192817231
|
|
STRWui killed renamable $w8, $sp, 2
|
|
renamable $w8 = MOVi32imm 1234605616436508552
|
|
STRWui killed renamable $w8, $sp, 3
|
|
$sp = frame-destroy ADDXri $sp, 32, 0
|
|
RET_ReallyLR
|
|
|
|
...
|
|
---
|
|
# CHECK-LABEL: name: test_i64
|
|
# CHECK-LABEL: bb.0:
|
|
# CHECK-NEXT: $sp = frame-setup SUBXri $sp, 32, 0
|
|
# CHECK-NEXT: renamable $x8 = MOVZXi 4, 0
|
|
# CHECK-NEXT: STRXui killed renamable $x8, $sp, 0
|
|
# CHECK-NEXT: $x8 = MOVZXi 45926, 0
|
|
# CHECK-NEXT: $x8 = MOVKXi $x8, 102, 16
|
|
# CHECK-NEXT: STRXui killed renamable $x8, $sp, 1
|
|
# CHECK-NEXT: renamable $x8 = MOVNXi 25166, 0
|
|
# CHECK-NEXT: renamable $x8 = MOVKXi $x8, 55686, 16
|
|
# CHECK-NEXT: renamable $x8 = MOVKXi $x8, 63160, 32
|
|
# CHECK-NEXT: STRXui killed renamable $x8, $sp, 2
|
|
# CHECK-NEXT: renamable $x8 = MOVZXi 30600, 0
|
|
# CHECK-NEXT: renamable $x8 = MOVKXi $x8, 21862, 16
|
|
# CHECK-NEXT: renamable $x8 = MOVKXi $x8, 13124, 32
|
|
# CHECK-NEXT: renamable $x8 = MOVKXi $x8, 4386, 48
|
|
# CHECK-NEXT: STRXui killed renamable $x8, $sp, 3
|
|
# CHECK-NEXT: $sp = frame-destroy ADDXri $sp, 32, 0
|
|
# CHECK-NEXT: RET undef $lr
|
|
#
|
|
name: test_i64
|
|
alignment: 8
|
|
tracksRegLiveness: true
|
|
frameInfo:
|
|
stackSize: 32
|
|
maxAlignment: 4
|
|
maxCallFrameSize: 0
|
|
localFrameSize: 32
|
|
stack:
|
|
- { id: 0, offset: -8, size: 8, alignment: 4, local-offset: -8 }
|
|
- { id: 1, offset: -16, size: 8, alignment: 4, local-offset: -16 }
|
|
- { id: 2, offset: -24, size: 8, alignment: 4, local-offset: -24}
|
|
- { id: 3, offset: -32, size: 8, alignment: 4, local-offset: -32 }
|
|
machineFunctionInfo: {}
|
|
body: |
|
|
bb.0:
|
|
$sp = frame-setup SUBXri $sp, 32, 0
|
|
renamable $x8 = MOVi64imm 4
|
|
STRXui killed renamable $x8, $sp, 0
|
|
$x8 = MOVi64imm 6730598
|
|
STRXui killed renamable $x8, $sp, 1
|
|
renamable $x8 = MOVi64imm -10201192817231
|
|
STRXui killed renamable $x8, $sp, 2
|
|
renamable $x8 = MOVi64imm 1234605616436508552
|
|
STRXui killed renamable $x8, $sp, 3
|
|
$sp = frame-destroy ADDXri $sp, 32, 0
|
|
RET_ReallyLR
|
|
|
|
...
|
|
---
|