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
81 lines
2.1 KiB
YAML
81 lines
2.1 KiB
YAML
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
|
|
# RUN: llc -mtriple=x86_64-linux-gnu -run-pass=legalizer %s -o - | FileCheck %s
|
|
--- |
|
|
|
|
define void @test_lshr() { ret void }
|
|
define void @test_lshr_i1() { ret void }
|
|
...
|
|
---
|
|
name: test_lshr
|
|
alignment: 16
|
|
legalized: false
|
|
regBankSelected: false
|
|
tracksRegLiveness: true
|
|
registers:
|
|
- { id: 0, class: _, preferred-register: '' }
|
|
- { id: 1, class: _, preferred-register: '' }
|
|
- { id: 2, class: _, preferred-register: '' }
|
|
- { id: 3, class: _, preferred-register: '' }
|
|
- { id: 4, class: _, preferred-register: '' }
|
|
- { id: 5, class: _, preferred-register: '' }
|
|
- { id: 6, class: _, preferred-register: '' }
|
|
- { id: 7, class: _, preferred-register: '' }
|
|
- { id: 8, class: _, preferred-register: '' }
|
|
- { id: 9, class: _, preferred-register: '' }
|
|
- { id: 10, class: _, preferred-register: '' }
|
|
- { id: 11, class: _, preferred-register: '' }
|
|
body: |
|
|
bb.1 (%ir-block.0):
|
|
liveins: $rdi, $rsi
|
|
|
|
; CHECK-LABEL: name: test_lshr
|
|
; CHECK: liveins: $rdi, $rsi
|
|
; CHECK: RET 0
|
|
%0(s64) = COPY $rdi
|
|
%1(s64) = COPY $rsi
|
|
%2(s64) = G_LSHR %0, %1
|
|
|
|
%3(s32) = G_TRUNC %0
|
|
%4(s32) = G_TRUNC %1
|
|
%5(s32) = G_LSHR %3, %4
|
|
|
|
%6(s16) = G_TRUNC %0
|
|
%7(s16) = G_TRUNC %1
|
|
%8(s16) = G_LSHR %6, %7
|
|
|
|
%9(s8) = G_TRUNC %0
|
|
%10(s8) = G_TRUNC %1
|
|
%11(s8) = G_LSHR %9, %10
|
|
|
|
RET 0
|
|
|
|
...
|
|
---
|
|
name: test_lshr_i1
|
|
alignment: 16
|
|
legalized: false
|
|
regBankSelected: false
|
|
tracksRegLiveness: true
|
|
registers:
|
|
- { id: 0, class: _, preferred-register: '' }
|
|
- { id: 1, class: _, preferred-register: '' }
|
|
- { id: 2, class: _, preferred-register: '' }
|
|
- { id: 3, class: _, preferred-register: '' }
|
|
- { id: 4, class: _, preferred-register: '' }
|
|
body: |
|
|
bb.1 (%ir-block.0):
|
|
liveins: $rdi, $rsi
|
|
|
|
; CHECK-LABEL: name: test_lshr_i1
|
|
; CHECK: liveins: $rdi, $rsi
|
|
; CHECK: RET 0
|
|
%0(s64) = COPY $rdi
|
|
%1(s64) = COPY $rsi
|
|
%2(s1) = G_TRUNC %0
|
|
%3(s1) = G_TRUNC %1
|
|
%4(s1) = G_LSHR %2, %3
|
|
|
|
RET 0
|
|
|
|
...
|