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
56 lines
2.2 KiB
YAML
56 lines
2.2 KiB
YAML
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 5
|
|
# RUN: llc -mtriple=aarch64 -passes=machine-scheduler -o - %s | FileCheck %s
|
|
# RUN: llc -mtriple=aarch64 -passes=machine-scheduler -misched-cutoff=1 -debug-only=machine-scheduler -o - %s 2>&1 | FileCheck %s --check-prefix=CHECK-CUTOFF
|
|
|
|
# REQUIRES: asserts
|
|
|
|
# CHECK-CUTOFF-COUNT-1: Scheduling SU
|
|
|
|
# NOTE: copied from machine-scheduler.mir
|
|
|
|
--- |
|
|
define i64 @load_imp-def(ptr nocapture %P, i32 %v) {
|
|
entry:
|
|
%0 = bitcast ptr %P to ptr
|
|
%1 = load i32, ptr %0
|
|
%conv = zext i32 %1 to i64
|
|
%arrayidx19 = getelementptr inbounds i64, ptr %P, i64 1
|
|
%arrayidx1 = bitcast ptr %arrayidx19 to ptr
|
|
store i32 %v, ptr %arrayidx1
|
|
%2 = load i64, ptr %arrayidx19
|
|
%and = and i64 %2, 4294967295
|
|
%add = add nuw nsw i64 %and, %conv
|
|
ret i64 %add
|
|
}
|
|
...
|
|
---
|
|
name: load_imp-def
|
|
tracksRegLiveness: true
|
|
body: |
|
|
bb.0.entry:
|
|
liveins: $w1, $x0
|
|
; CHECK-LABEL: name: load_imp-def
|
|
; CHECK: liveins: $w1, $x0
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: $w8 = LDRWui $x0, 1, implicit-def $x8 :: (load (s32) from %ir.0)
|
|
; CHECK-NEXT: $w9 = LDRWui $x0, 0, implicit-def $x9 :: (load (s32) from %ir.arrayidx19, align 8)
|
|
; CHECK-NEXT: STRWui $w1, $x0, 2 :: (store (s32) into %ir.arrayidx1)
|
|
; CHECK-NEXT: $x0 = ADDXrr killed $x9, killed $x8
|
|
; CHECK-NEXT: RET_ReallyLR implicit $x0
|
|
;
|
|
; CHECK-CUTOFF-LABEL: name: load_imp-def
|
|
; CHECK-CUTOFF: liveins: $w1, $x0
|
|
; CHECK-CUTOFF-NEXT: {{ $}}
|
|
; CHECK-CUTOFF-NEXT: $w8 = LDRWui $x0, 1, implicit-def $x8 :: (load (s32) from %ir.0)
|
|
; CHECK-CUTOFF-NEXT: STRWui $w1, $x0, 2 :: (store (s32) into %ir.arrayidx1)
|
|
; CHECK-CUTOFF-NEXT: $w9 = LDRWui $x0, 0, implicit-def $x9 :: (load (s32) from %ir.arrayidx19, align 8)
|
|
; CHECK-CUTOFF-NEXT: $x0 = ADDXrr killed $x9, killed $x8
|
|
; CHECK-CUTOFF-NEXT: RET_ReallyLR implicit $x0
|
|
$w8 = LDRWui $x0, 1, implicit-def $x8 :: (load (s32) from %ir.0)
|
|
STRWui killed $w1, $x0, 2 :: (store (s32) into %ir.arrayidx1)
|
|
$w9 = LDRWui killed $x0, 0, implicit-def $x9 :: (load (s32) from %ir.arrayidx19, align 8)
|
|
$x0 = ADDXrr killed $x9, killed $x8
|
|
RET_ReallyLR implicit $x0
|
|
...
|
|
|