Files
derek.holloway 7502bf64a4
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
Flatten subprojects into a single base monorepo
2026-09-02 16:34:47 -07:00

49 lines
1.7 KiB
LLVM

; RUN: llc -mtriple=armv8.1-m-eabi -mattr=+mve %s -o - | FileCheck %s
define i32 @test1(i32 %tmp54) {
%tmp56 = tail call i32 asm "uxtb16 $0,$1", "=r,r"( i32 %tmp54 )
ret i32 %tmp56
}
define void @test2() {
tail call void asm sideeffect "/* number: ${0:c} */", "i"( i32 1 )
ret void
}
define arm_aapcs_vfpcc <4 x i32> @mve-t-constraint-128bit(<4 x i32>, <4 x i32>) {
; CHECK-LABEL: mve-t-constraint-128bit
; CHECK: vadd.i32 q{{[0-7]}}, q{{[0-7]}}, q{{[0-7]}}
%ret = tail call <4 x i32>
asm "vadd.i32 $0, $1, $2", "=t,t,t"
(<4 x i32> %0, <4 x i32> %1)
ret <4 x i32> %ret
}
define i32 @even-GPR-constraint() {
entry:
; CHECK-LABEL: even-GPR-constraint
; CHECK: add [[REG:r1*[0, 2, 4, 6, 8]]], [[REG]], #1
; CHECK: add [[REG:r1*[0, 2, 4, 6, 8]]], [[REG]], #2
; CHECK: add [[REG:r1*[0, 2, 4, 6, 8]]], [[REG]], #3
; CHECK: add [[REG:r1*[0, 2, 4, 6, 8]]], [[REG]], #4
%0 = tail call { i32, i32, i32, i32 }
asm "add $0, #1\0Aadd $1, #2\0Aadd $2, #3\0Aadd $3, #4\0A", "=^Te,=^Te,=^Te,=^Te,0,1,2,3"
(i32 0, i32 0, i32 0, i32 0)
%asmresult = extractvalue { i32, i32, i32, i32 } %0, 0
ret i32 %asmresult
}
define i32 @odd-GPR-constraint() {
entry:
; CHECK-LABEL: odd-GPR-constraint
; CHECK: add [[REG:r1*[1, 3, 5, 7, 9]]], [[REG]], #1
; CHECK: add [[REG:r1*[1, 3, 5, 7, 9]]], [[REG]], #2
; CHECK: add [[REG:r1*[1, 3, 5, 7, 9]]], [[REG]], #3
; CHECK: add [[REG:r1*[1, 3, 5, 7, 9]]], [[REG]], #4
%0 = tail call { i32, i32, i32, i32 }
asm "add $0, #1\0Aadd $1, #2\0Aadd $2, #3\0Aadd $3, #4\0A", "=^To,=^To,=^To,=^To,0,1,2,3"
(i32 0, i32 0, i32 0, i32 0)
%asmresult = extractvalue { i32, i32, i32, i32 } %0, 0
ret i32 %asmresult
}