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
72 lines
1.9 KiB
LLVM
72 lines
1.9 KiB
LLVM
target triple = "mipsisa32r6el-unknown-linux-gnu"
|
|
|
|
; RUN: llc -filetype=asm %s -o - | FileCheck %s --check-prefix=MIPSELR6
|
|
; Function Attrs: noinline nounwind optnone uwtable
|
|
define i1 @foo0() nounwind {
|
|
; MIPSELR6: bnezc $1, $BB0_2
|
|
; MIPSELR6-NEXT: nop
|
|
; MIPSELR6: jr $ra
|
|
entry:
|
|
%0 = icmp eq i32 0, 1
|
|
br i1 %0, label %2, label %3
|
|
ret i1 %0
|
|
2:
|
|
ret i1 %0
|
|
3:
|
|
ret i1 %0
|
|
}
|
|
|
|
define i32 @foo1() nounwind {
|
|
; MIPSELR6: addiu $2, $2, 1
|
|
; MIPSELR6-NEXT: .set noreorder
|
|
; MIPSELR6-NEXT: beqzc $2, $tmp0
|
|
; MIPSELR6-NEXT: nop
|
|
; MIPSELR6-NEXT: .set reorder
|
|
; MIPSELR6: jrc $ra
|
|
entry:
|
|
%0 = tail call i32 asm "1: addiu $0, $0, 1; beqzc $0, 1b", "=r"() nounwind
|
|
ret i32 %0
|
|
}
|
|
|
|
define i32 @foo2() nounwind {
|
|
; MIPSELR6: .set push
|
|
; MIPSELR6-NEXT: .set at
|
|
; MIPSELR6-NEXT: .set macro
|
|
; MIPSELR6-NEXT: .set reorder
|
|
; MIPSELR6: .set noreorder
|
|
; MIPSELR6-NEXT: beqzc $9, End
|
|
; MIPSELR6-NEXT: nop
|
|
; MIPSELR6-NEXT: .set reorder
|
|
; MIPSELR6: addiu $9, $9, 1
|
|
entry:
|
|
%0 = tail call i32 asm "beqzc $$t1, End", "=r"() nounwind
|
|
%1 = tail call i32 asm "addiu $$t1, $$t1, 1", "=r"() nounwind
|
|
%2 = add nsw i32 %1, %0
|
|
ret i32 %2
|
|
}
|
|
|
|
define i32 @foo3() nounwind {
|
|
; MIPSELR6: addiu $2, $2, 1
|
|
; MIPSELR6-NEXT: .set noreorder
|
|
; MIPSELR6-NEXT: beqzc $2, $tmp1
|
|
; MIPSELR6-NEXT: nop
|
|
; MIPSELR6-NEXT: .set noreorder
|
|
; MIPSELR6-NEXT: j End
|
|
; MIPSELR6-NEXT: nop
|
|
; MIPSELR6-NEXT: .set reorder
|
|
entry:
|
|
%0 = tail call i32 asm "1: addiu $0, $0, 1; beqzc $0, 1b; j End", "=r"() nounwind
|
|
ret i32 %0
|
|
}
|
|
|
|
define i32 @foo4() nounwind {
|
|
; MIPSELR6: addiu $2, $2, 1
|
|
; MIPSELR6-NEXT: .set noreorder
|
|
; MIPSELR6-NEXT: beqzc $2, $tmp2
|
|
; MIPSELR6-NEXT: addiu $2, $2, 1
|
|
; MIPSELR6-NEXT: .set reorder
|
|
entry:
|
|
%0 = tail call i32 asm "1: addiu $0, $0, 1; beqzc $0, 1b; addiu $0, $0, 1", "=r"() nounwind
|
|
ret i32 %0
|
|
}
|