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
50 lines
1.8 KiB
LLVM
50 lines
1.8 KiB
LLVM
; RUN: llc < %s -mtriple=mipsel -mcpu=mips32 -O0 -relocation-model=pic \
|
|
; RUN: -fast-isel-abort=3 -verify-machineinstrs | FileCheck %s
|
|
; RUN: llc < %s -mtriple=mipsel -mcpu=mips32r2 -O0 -relocation-model=pic \
|
|
; RUN: -fast-isel-abort=3 -verify-machineinstrs | FileCheck %s
|
|
|
|
@str = private unnamed_addr constant [12 x i8] c"hello there\00", align 1
|
|
@src = global ptr @str, align 4
|
|
@i = global i32 12, align 4
|
|
@dest = common global [50 x i8] zeroinitializer, align 1
|
|
|
|
declare void @llvm.memcpy.p0.p0.i32(ptr nocapture, ptr nocapture readonly, i32, i1)
|
|
declare void @llvm.memmove.p0.p0.i32(ptr nocapture, ptr nocapture readonly, i32, i1)
|
|
declare void @llvm.memset.p0.i32(ptr nocapture, i8, i32, i1)
|
|
|
|
define void @cpy(ptr %src, i32 %i) {
|
|
; CHECK-LABEL: cpy:
|
|
|
|
; CHECK: lw $[[T0:[0-9]+]], %got(dest)(${{[0-9]+}})
|
|
; CHECK: lw $[[T2:[0-9]+]], %got(memcpy)(${{[0-9]+}})
|
|
; CHECK: jalr $[[T2]]
|
|
; CHECK-NEXT: nop
|
|
; CHECK-NOT: {{.*}}$2{{.*}}
|
|
call void @llvm.memcpy.p0.p0.i32(ptr @dest, ptr %src, i32 %i, i1 false)
|
|
ret void
|
|
}
|
|
|
|
define void @mov(ptr %src, i32 %i) {
|
|
; CHECK-LABEL: mov:
|
|
|
|
; CHECK: lw $[[T0:[0-9]+]], %got(dest)(${{[0-9]+}})
|
|
; CHECK: lw $[[T2:[0-9]+]], %got(memmove)(${{[0-9]+}})
|
|
; CHECK: jalr $[[T2]]
|
|
; CHECK-NEXT: nop
|
|
; CHECK-NOT: {{.*}}$2{{.*}}
|
|
call void @llvm.memmove.p0.p0.i32(ptr @dest, ptr %src, i32 %i, i1 false)
|
|
ret void
|
|
}
|
|
|
|
define void @clear(i32 %i) {
|
|
; CHECK-LABEL: clear:
|
|
|
|
; CHECK: lw $[[T0:[0-9]+]], %got(dest)(${{[0-9]+}})
|
|
; CHECK: lw $[[T2:[0-9]+]], %got(memset)(${{[0-9]+}})
|
|
; CHECK: jalr $[[T2]]
|
|
; CHECK-NEXT: nop
|
|
; CHECK-NOT: {{.*}}$2{{.*}}
|
|
call void @llvm.memset.p0.i32(ptr @dest, i8 42, i32 %i, i1 false)
|
|
ret void
|
|
}
|