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

72 lines
2.3 KiB
LLVM

; RUN: llc -mtriple=mipsel -mattr=mips16 -relocation-model=static < %s | FileCheck %s -check-prefix=CHECK-STATIC16
@s = global i8 115, align 1
@c = common global i8 0, align 1
@.str = private unnamed_addr constant [5 x i8] c"%c \0A\00", align 1
define void @test(i32 %i) nounwind {
entry:
%i.addr = alloca i32, align 4
store i32 %i, ptr %i.addr, align 4
%0 = load i32, ptr %i.addr, align 4
switch i32 %0, label %sw.epilog [
i32 115, label %sw.bb
i32 105, label %sw.bb1
i32 100, label %sw.bb2
i32 108, label %sw.bb3
i32 99, label %sw.bb4
i32 68, label %sw.bb5
i32 81, label %sw.bb6
i32 76, label %sw.bb7
]
sw.bb: ; preds = %entry
store i8 115, ptr @c, align 1
br label %sw.epilog
sw.bb1: ; preds = %entry
store i8 105, ptr @c, align 1
br label %sw.epilog
sw.bb2: ; preds = %entry
store i8 100, ptr @c, align 1
br label %sw.epilog
sw.bb3: ; preds = %entry
store i8 108, ptr @c, align 1
br label %sw.epilog
sw.bb4: ; preds = %entry
store i8 99, ptr @c, align 1
br label %sw.epilog
sw.bb5: ; preds = %entry
store i8 68, ptr @c, align 1
br label %sw.epilog
sw.bb6: ; preds = %entry
store i8 81, ptr @c, align 1
br label %sw.epilog
sw.bb7: ; preds = %entry
store i8 76, ptr @c, align 1
br label %sw.epilog
sw.epilog: ; preds = %entry, %sw.bb7, %sw.bb6, %sw.bb5, %sw.bb4, %sw.bb3, %sw.bb2, %sw.bb1, %sw.bb
ret void
}
; CHECK-STATIC16: li ${{[0-9]+}}, %hi($JTI{{[0-9]+}}_{{[0-9]+}})
; CHECK-STATIC16: lw ${{[0-9]+}}, %lo($JTI{{[0-9]+}}_{{[0-9]+}})(${{[0-9]+}})
; CHECK-STATIC16: $JTI{{[0-9]+}}_{{[0-9]+}}:
; CHECK-STATIC16: .4byte $BB0_{{[0-9]+}}
; CHECK-STATIC16: .4byte $BB0_{{[0-9]+}}
; CHECK-STATIC16: .4byte $BB0_{{[0-9]+}}
; CHECK-STATIC16: .4byte $BB0_{{[0-9]+}}
; CHECK-STATIC16: .4byte $BB0_{{[0-9]+}}
; CHECK-STATIC16: .4byte $BB0_{{[0-9]+}}
; CHECK-STATIC16: .4byte $BB0_{{[0-9]+}}
; CHECK-STATIC16: .4byte $BB0_{{[0-9]+}}
; CHECK-STATIC16: .4byte $BB0_{{[0-9]+}}
; CHECK-STATIC16: .4byte $BB0_{{[0-9]+}}