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
35 lines
1.1 KiB
YAML
35 lines
1.1 KiB
YAML
# RUN: llc -mtriple=hexagon -run-pass=hexagon-widen-stores -verify-machineinstrs %s -o - | FileCheck %s
|
|
|
|
# Test that store widening correctly handles DoubleRegs operands with subreg
|
|
# in S2_addasl_rrri instruction. The widening pass should preserve the subreg
|
|
# when creating the widened S4_storerd_rr instruction.
|
|
|
|
--- |
|
|
define void @test_store_widen_subreg(ptr %base, i64 %idx, i32 %val) {
|
|
entry:
|
|
ret void
|
|
}
|
|
...
|
|
---
|
|
name: test_store_widen_subreg
|
|
tracksRegLiveness: true
|
|
body: |
|
|
; CHECK-LABEL: name: test_store_widen_subreg
|
|
; CHECK: S2_addasl_rrri %{{[0-9]+}}, %{{[0-9]+}}.isub_lo, 2
|
|
; CHECK: S4_storerd_rr %{{[0-9]+}}, %{{[0-9]+}}.isub_lo, 2, %{{[0-9]+}} :: (store (s64), align 64)
|
|
bb.0:
|
|
liveins: $r0, $d1, $r4
|
|
|
|
%0:intregs = COPY $r4
|
|
%1:doubleregs = COPY $d1
|
|
%2:intregs = COPY $r0
|
|
%3:intregs = A2_addi %2, 384
|
|
%4:intregs = S2_addasl_rrri %3, %1.isub_lo, 2
|
|
|
|
bb.1:
|
|
successors: %bb.1(0x80000000)
|
|
|
|
S2_storeri_io %4, 0, %0 :: (store (s32), align 64)
|
|
S2_storeri_io %4, 4, %0 :: (store (s32))
|
|
J2_jump %bb.1, implicit-def dead $pc
|