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
53 lines
1.9 KiB
YAML
53 lines
1.9 KiB
YAML
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 6
|
|
# RUN: llc %s -passes="machine-sink<enable-sink-fold>" -o - | FileCheck %s
|
|
--- |
|
|
; ModuleID = 'x.ll'
|
|
source_filename = "x.ll"
|
|
target datalayout = "e-m:e-p270:32:32-p271:32:32-p272:64:64-i8:8:32-i16:16:32-i64:64-i128:128-n32:64-S128-Fn32"
|
|
target triple = "aarch64-unknown-linux-gnu"
|
|
|
|
define void @f(i32 %c) {
|
|
entry:
|
|
%promoted1 = sext i32 %c to i64
|
|
%sub = add nsw i64 %promoted1, -2
|
|
%promoted = sext i32 %c to i64
|
|
%add = add nsw i64 %promoted, 2
|
|
%add.i = add nsw i64 %add, %sub
|
|
%0 = inttoptr i64 %add.i to ptr
|
|
store i16 0, ptr %0, align 2
|
|
ret void
|
|
}
|
|
...
|
|
---
|
|
name: f
|
|
registers:
|
|
- { id: 0, class: gpr32, preferred-register: '', flags: [ ] }
|
|
- { id: 1, class: gpr64, preferred-register: '', flags: [ ] }
|
|
- { id: 2, class: gpr64all, preferred-register: '', flags: [ ] }
|
|
- { id: 3, class: gpr64common, preferred-register: '', flags: [ ] }
|
|
- { id: 4, class: gpr32, preferred-register: '', flags: [ ] }
|
|
liveins:
|
|
- { reg: '$w0', virtual-reg: '%0' }
|
|
body: |
|
|
bb.0.entry:
|
|
liveins: $w0
|
|
|
|
; CHECK-LABEL: name: f
|
|
; CHECK: liveins: $w0
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: [[COPY:%[0-9]+]]:gpr32 = COPY $w0
|
|
; CHECK-NEXT: [[DEF:%[0-9]+]]:gpr64all = IMPLICIT_DEF
|
|
; CHECK-NEXT: [[INSERT_SUBREG:%[0-9]+]]:gpr64 = INSERT_SUBREG [[DEF]], [[COPY]], %subreg.sub_32
|
|
; CHECK-NEXT: [[SBFMXri:%[0-9]+]]:gpr64common = SBFMXri killed [[INSERT_SUBREG]], 0, 31
|
|
; CHECK-NEXT: [[COPY1:%[0-9]+]]:gpr32 = COPY $wzr
|
|
; CHECK-NEXT: STRHHroX [[COPY1]], [[SBFMXri]], [[SBFMXri]], 0, 0 :: (store (s16) into %ir.0)
|
|
; CHECK-NEXT: RET_ReallyLR
|
|
%0:gpr32 = COPY $w0
|
|
%2:gpr64all = IMPLICIT_DEF
|
|
%1:gpr64 = INSERT_SUBREG %2, %0, %subreg.sub_32
|
|
%3:gpr64common = SBFMXri killed %1, 0, 31
|
|
%4:gpr32 = COPY $wzr
|
|
STRHHroX %4, %3, %3, 0, 0 :: (store (s16) into %ir.0)
|
|
RET_ReallyLR
|
|
...
|