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
27 lines
970 B
LLVM
27 lines
970 B
LLVM
; RUN: llc --filetype=obj %s -o - | dxil-dis -o - | FileCheck %s
|
|
target triple = "dxil-unknown-shadermodel6.7-library"
|
|
|
|
; CHECK: common global [32 x i8] zeroinitializer, align 1
|
|
@a = common global [32 x b8] zeroinitializer, align 1
|
|
|
|
define void @bytes(b1 %a, b3 %b, b5 %c, b8 %d, b16 %e, b32 %f, b64 %g, b128 %h, <8 x b5> %i, <2 x b64> %j) {
|
|
; Check that we generally convert byte types into int types
|
|
; CHECK-LABEL: define void @bytes(i1 %a, i3 %b, i5 %c, i8 %d, i16 %e, i32 %f, i64 %g, i128 %h, <8 x i5> %i, <2 x i64> %j
|
|
; CHECK-NEXT: ret void
|
|
ret void
|
|
}
|
|
|
|
define b32 @constant32() {
|
|
; Check that we write constant byte types as constant ints
|
|
; CHECK-LABEL: define i32 @constant32()
|
|
; CHECK: ret i32 255
|
|
ret b32 255
|
|
}
|
|
|
|
define b128 @constant128() {
|
|
; Check that we write large constant byte types as constant ints
|
|
; CHECK-LABEL: define i128 @constant128()
|
|
; CHECK: ret i128 18446744073709551615
|
|
ret b128 18446744073709551615
|
|
}
|