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
63 lines
1.6 KiB
LLVM
63 lines
1.6 KiB
LLVM
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
|
|
; RUN: llc < %s -mtriple=m68k-freestanding -verify-machineinstrs | FileCheck %s
|
|
|
|
define fastcc i16 @switch_to_btst(i16 %a) nounwind {
|
|
; CHECK-LABEL: switch_to_btst:
|
|
; CHECK: ; %bb.0: ; %entry
|
|
; CHECK-NEXT: move.l %d0, %d1
|
|
; CHECK-NEXT: and.l #65535, %d1
|
|
; CHECK-NEXT: sub.l #11, %d1
|
|
; CHECK-NEXT: bhi .LBB0_3
|
|
; CHECK-NEXT: ; %bb.1: ; %entry
|
|
; CHECK-NEXT: and.l #65535, %d0
|
|
; CHECK-NEXT: move.l #3612, %d1
|
|
; CHECK-NEXT: btst %d0, %d1
|
|
; CHECK-NEXT: beq .LBB0_3
|
|
; CHECK-NEXT: ; %bb.2: ; %match
|
|
; CHECK-NEXT: moveq #1, %d0
|
|
; CHECK-NEXT: rts
|
|
; CHECK-NEXT: .LBB0_3: ; %no_match
|
|
; CHECK-NEXT: moveq #0, %d0
|
|
; CHECK-NEXT: rts
|
|
entry:
|
|
switch i16 %a, label %no_match [
|
|
i16 11, label %match
|
|
i16 10, label %match
|
|
i16 9, label %match
|
|
i16 4, label %match
|
|
i16 3, label %match
|
|
i16 2, label %match
|
|
]
|
|
|
|
match:
|
|
ret i16 1
|
|
|
|
no_match:
|
|
ret i16 0
|
|
}
|
|
|
|
define fastcc i16 @and_mask_to_btst(i8 %a, i8 %b) nounwind {
|
|
; CHECK-LABEL: and_mask_to_btst:
|
|
; CHECK: ; %bb.0:
|
|
; CHECK-NEXT: and.l #7, %d1
|
|
; CHECK-NEXT: btst %d1, %d0
|
|
; CHECK-NEXT: beq .LBB1_1
|
|
; CHECK-NEXT: ; %bb.2: ; %cond_false
|
|
; CHECK-NEXT: moveq #0, %d0
|
|
; CHECK-NEXT: rts
|
|
; CHECK-NEXT: .LBB1_1: ; %cond_true
|
|
; CHECK-NEXT: moveq #1, %d0
|
|
; CHECK-NEXT: rts
|
|
%33 = and i8 %b, 7
|
|
%34 = shl nuw i8 1, %33
|
|
%35 = and i8 %34, %a
|
|
%.not = icmp eq i8 %35, 0
|
|
br i1 %.not, label %cond_true, label %cond_false
|
|
|
|
cond_true:
|
|
ret i16 1
|
|
|
|
cond_false:
|
|
ret i16 0
|
|
}
|