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
48 lines
1.6 KiB
LLVM
48 lines
1.6 KiB
LLVM
; Check that llc does not abort, which happened due to incorrect MIR.
|
|
; RUN: llc -O2 -mtriple=hexagon -insert-max-ifmap=1 < %s
|
|
; RUN: llc -O2 -mtriple=hexagon -insert-max-ifmap=2 < %s
|
|
; RUN: llc -O2 -mtriple=hexagon -insert-max-ifmap=3 < %s
|
|
; RUN: llc -O2 -mtriple=hexagon -insert-max-ifmap=4 < %s
|
|
; RUN: llc -O2 -mtriple=hexagon -insert-max-ifmap=5 < %s
|
|
|
|
; Look for this symptom, in case llc does not check invalid IR.
|
|
; CHECK-NOT: insert(%14,%5,#5,#5)
|
|
|
|
; RUN: llc -O2 -mtriple=hexagon -insert-max-ifmap=1 -debug-only=hexinsert -stop-after hexinsert < %s 2>&1 | FileCheck %s
|
|
; RUN: llc -O2 -mtriple=hexagon -insert-max-ifmap=2 -debug-only=hexinsert -stop-after hexinsert < %s 2>&1 | FileCheck %s
|
|
; RUN: llc -O2 -mtriple=hexagon -insert-max-ifmap=3 -debug-only=hexinsert -stop-after hexinsert < %s 2>&1 | FileCheck %s
|
|
; RUN: llc -O2 -mtriple=hexagon -insert-max-ifmap=4 -debug-only=hexinsert -stop-after hexinsert < %s 2>&1 | FileCheck %s
|
|
; RUN: llc -O2 -mtriple=hexagon -insert-max-ifmap=5 -debug-only=hexinsert -stop-after hexinsert < %s 2>&1 | FileCheck %s
|
|
|
|
; REQUIRES: asserts
|
|
|
|
define i32 @f(i32 %0, i32 %1, i32 %2) {
|
|
entry:
|
|
switch i32 %0, label %common.ret1 [
|
|
i32 8907, label %3
|
|
i32 4115, label %6
|
|
]
|
|
|
|
common.ret1:
|
|
%common.ret1.op = phi i32 [ %5, %3 ], [ %526, %6 ], [ 0, %entry ]
|
|
ret i32 %common.ret1.op
|
|
|
|
3:
|
|
%4 = shl i32 %2, 5
|
|
%5 = and i32 %4, 992
|
|
br label %common.ret1
|
|
|
|
6:
|
|
%7 = shl i32 %0, 10
|
|
%8 = and i32 %7, 7168
|
|
%9 = shl i32 %0, 5
|
|
%10 = and i32 %9, 992
|
|
%11 = or i32 %10, %8
|
|
%12 = and i32 %0, 1
|
|
%13 = or i32 %11, %12
|
|
%14 = shl i32 %1, 1
|
|
%15 = and i32 %14, 2031616
|
|
%526 = or i32 %13, %15
|
|
br label %common.ret1
|
|
}
|