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
74 lines
2.2 KiB
LLVM
74 lines
2.2 KiB
LLVM
; RUN: split-file %s %t
|
|
; RUN: not llvm-as -disable-output %t/zext-byte-to-int.ll 2>&1 | FileCheck %t/zext-byte-to-int.ll
|
|
; RUN: not llvm-as -disable-output %t/sext-byte-to-int.ll 2>&1 | FileCheck %t/sext-byte-to-int.ll
|
|
; RUN: not llvm-as -disable-output %t/trunc-byte-to-byte.ll 2>&1 | FileCheck %t/trunc-byte-to-byte.ll
|
|
; RUN: not llvm-as -disable-output %t/zext-int-to-byte.ll 2>&1 | FileCheck %t/zext-int-to-byte.ll
|
|
; RUN: not llvm-as -disable-output %t/sext-int-to-byte.ll 2>&1 | FileCheck %t/sext-int-to-byte.ll
|
|
; RUN: not llvm-as -disable-output %t/trunc-int-to-byte.ll 2>&1 | FileCheck %t/trunc-int-to-byte.ll
|
|
; RUN: not llvm-as -disable-output %t/trunc-byte-to-int.ll 2>&1 | FileCheck %t/trunc-byte-to-int.ll
|
|
; RUN: not llvm-as -disable-output %t/lshr-byte.ll 2>&1 | FileCheck %t/lshr-byte.ll
|
|
; RUN: not llvm-as -disable-output %t/icmp-byte.ll 2>&1 | FileCheck %t/icmp-byte.ll
|
|
|
|
;--- zext-byte-to-int.ll
|
|
; CHECK: invalid cast opcode for cast from 'b8' to 'i32'
|
|
define void @test(b8 %b) {
|
|
%t = zext b8 %b to i32
|
|
ret void
|
|
}
|
|
|
|
;--- sext-byte-to-int.ll
|
|
; CHECK: invalid cast opcode for cast from 'b8' to 'i32'
|
|
define void @test(b8 %b) {
|
|
%t = sext b8 %b to i32
|
|
ret void
|
|
}
|
|
|
|
;--- trunc-byte-to-byte.ll
|
|
; CHECK: invalid cast opcode for cast from 'b32' to 'b8'
|
|
define void @test(b32 %b) {
|
|
%t = trunc b32 %b to b8
|
|
ret void
|
|
}
|
|
|
|
;--- zext-int-to-byte.ll
|
|
; CHECK: invalid cast opcode for cast from 'i8' to 'b32'
|
|
define void @test(i8 %v) {
|
|
%t = zext i8 %v to b32
|
|
ret void
|
|
}
|
|
|
|
;--- sext-int-to-byte.ll
|
|
; CHECK: invalid cast opcode for cast from 'i8' to 'b32'
|
|
define void @test(i8 %v) {
|
|
%t = sext i8 %v to b32
|
|
ret void
|
|
}
|
|
|
|
;--- trunc-int-to-byte.ll
|
|
; CHECK: invalid cast opcode for cast from 'i32' to 'b8'
|
|
define void @test(i32 %v) {
|
|
%t = trunc i32 %v to b8
|
|
ret void
|
|
}
|
|
|
|
;--- trunc-byte-to-int.ll
|
|
; CHECK: invalid cast opcode for cast from 'b32' to 'i8'
|
|
define void @test(b32 %b) {
|
|
%t = trunc b32 %b to i8
|
|
ret void
|
|
}
|
|
|
|
;--- lshr-byte.ll
|
|
; CHECK: invalid operand type for instruction
|
|
define void @test(b32 %b) {
|
|
%t = lshr b32 %b, 8
|
|
ret void
|
|
}
|
|
|
|
;--- icmp-byte.ll
|
|
; CHECK: icmp requires integer operands
|
|
define void @test(b8 %b1, b8 %b2) {
|
|
%cmp = icmp eq b8 %b1, %b2
|
|
ret void
|
|
}
|