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
76 lines
3.1 KiB
LLVM
76 lines
3.1 KiB
LLVM
; Check that the CPU names work.
|
|
|
|
; RUN: llc -mtriple=mips -mcpu=generic -filetype=obj < %s \
|
|
; RUN: | llvm-readelf -A - | FileCheck %s --check-prefix=GENERIC
|
|
; GENERIC: ISA: MIPS32
|
|
|
|
; RUN: llc -mtriple=mips -mcpu=mips1 -filetype=obj < %s \
|
|
; RUN: | llvm-readelf -A - | FileCheck %s --check-prefix=MIPS1
|
|
; MIPS1: ISA: MIPS1
|
|
; RUN: llc -mtriple=mips -mcpu=mips2 -filetype=obj < %s \
|
|
; RUN: | llvm-readelf -A - | FileCheck %s --check-prefix=MIPS2
|
|
; MIPS2: ISA: MIPS2
|
|
; RUN: llc -mtriple=mips64 -mcpu=mips3 -filetype=obj < %s \
|
|
; RUN: | llvm-readelf -A - | FileCheck %s --check-prefix=MIPS3
|
|
; MIPS3: ISA: MIPS3
|
|
; RUN: llc -mtriple=mips64 -mcpu=mips4 -filetype=obj < %s \
|
|
; RUN: | llvm-readelf -A - | FileCheck %s --check-prefix=MIPS4
|
|
; MIPS4: ISA: MIPS4
|
|
|
|
; RUN: llc -mtriple=mips -mcpu=mips32 -filetype=obj < %s \
|
|
; RUN: | llvm-readelf -A - | FileCheck %s --check-prefix=MIPS32
|
|
; MIPS32: ISA: MIPS32
|
|
; RUN: llc -mtriple=mips -mcpu=mips32r2 -filetype=obj < %s \
|
|
; RUN: | llvm-readelf -A - | FileCheck %s --check-prefix=MIPS32R2
|
|
; MIPS32R2: ISA: MIPS32r2
|
|
; RUN: llc -mtriple=mips -mcpu=mips32r3 -filetype=obj < %s \
|
|
; RUN: | llvm-readelf -A - | FileCheck %s --check-prefix=MIPS32R3
|
|
; MIPS32R3: ISA: MIPS32r3
|
|
; RUN: llc -mtriple=mips -mcpu=mips32r5 -filetype=obj < %s \
|
|
; RUN: | llvm-readelf -A - | FileCheck %s --check-prefix=MIPS32R5
|
|
; MIPS32R5: ISA: MIPS32r5
|
|
; RUN: llc -mtriple=mips -mcpu=mips32r6 -filetype=obj < %s \
|
|
; RUN: | llvm-readelf -A - | FileCheck %s --check-prefix=MIPS32R6
|
|
; MIPS32R6: ISA: MIPS32r6
|
|
|
|
; RUN: llc -mtriple=mips64 -mcpu=mips64 -filetype=obj < %s \
|
|
; RUN: | llvm-readelf -A - | FileCheck %s --check-prefix=MIPS64
|
|
; MIPS64: ISA: MIPS64
|
|
; RUN: llc -mtriple=mips64 -mcpu=mips64r2 -filetype=obj < %s \
|
|
; RUN: | llvm-readelf -A - | FileCheck %s --check-prefix=MIPS64R2
|
|
; MIPS64R2: ISA: MIPS64r2
|
|
; RUN: llc -mtriple=mips64 -mcpu=mips64r3 -filetype=obj < %s \
|
|
; RUN: | llvm-readelf -A - | FileCheck %s --check-prefix=MIPS64R3
|
|
; MIPS64R3: ISA: MIPS64r3
|
|
; RUN: llc -mtriple=mips64 -mcpu=mips64r5 -filetype=obj < %s \
|
|
; RUN: | llvm-readelf -A - | FileCheck %s --check-prefix=MIPS64R5
|
|
; MIPS64R5: ISA: MIPS64r5
|
|
; RUN: llc -mtriple=mips64 -mcpu=mips64r6 -filetype=obj < %s \
|
|
; RUN: | llvm-readelf -A - | FileCheck %s --check-prefix=MIPS64R6
|
|
; MIPS64R6: ISA: MIPS64r6
|
|
|
|
; RUN: llc -mtriple=mips64 -mcpu=octeon -filetype=obj < %s \
|
|
; RUN: | llvm-readelf -A - | FileCheck %s --check-prefix=OCTEON
|
|
; OCTEON: ISA: MIPS64r2
|
|
; OCTEON: ISA Extension: Cavium Networks Octeon
|
|
; RUN: llc -mtriple=mips64 -mcpu=octeon+ -filetype=obj < %s \
|
|
; RUN: | llvm-readelf -A - | FileCheck %s --check-prefix=OCTEONP
|
|
; OCTEONP: ISA: MIPS64r2
|
|
; OCTEONP: ISA Extension: Cavium Networks OcteonP
|
|
|
|
; RUN: llc -mtriple=mips64el -mcpu=r5900 -filetype=obj < %s \
|
|
; RUN: | llvm-readelf -A - | FileCheck %s --check-prefix=R5900
|
|
; R5900: ISA: MIPS3
|
|
; R5900: ISA Extension: Toshiba R5900
|
|
|
|
; Check that we reject CPUs that are not implemented.
|
|
|
|
; RUN: not llc < %s -o /dev/null -mtriple=mips64 -mcpu=mips5 2>&1 \
|
|
; RUN: | FileCheck %s --check-prefix=ERROR
|
|
|
|
; ERROR: LLVM ERROR: Code generation for MIPS-{{.}} is not implemented
|
|
|
|
define void @foo() {
|
|
ret void
|
|
}
|