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
102 lines
2.8 KiB
YAML
102 lines
2.8 KiB
YAML
# RUN: llc -mtriple aarch64 -passes="print<gisel-value-tracking>" %s -filetype=null 2>&1 | FileCheck %s
|
|
|
|
# CHECK-LABEL: name: @urem_pow2
|
|
# CHECK-NEXT: %0:_ KnownBits:???????????????????????????????? SignBits:1
|
|
# CHECK-NEXT: %1:_ KnownBits:00000000000000000000000000001000 SignBits:28
|
|
# CHECK-NEXT: %2:_ KnownBits:00000000000000000000000000000??? SignBits:29
|
|
|
|
name: urem_pow2
|
|
body: |
|
|
bb.1:
|
|
liveins: $w0
|
|
|
|
%0:_(s32) = COPY $w0
|
|
%1:_(s32) = G_CONSTANT i32 8
|
|
%2:_(s32) = G_UREM %0, %1
|
|
$w0 = COPY %2(s32)
|
|
RET_ReallyLR implicit $w0
|
|
...
|
|
|
|
# CHECK-LABEL: name: @urem_non_pow2
|
|
# CHECK-NEXT: %0:_ KnownBits:???????????????????????????????? SignBits:1
|
|
# CHECK-NEXT: %1:_ KnownBits:00000000000000000000000000001010 SignBits:28
|
|
# CHECK-NEXT: %2:_ KnownBits:0000000000000000000000000000???? SignBits:28
|
|
|
|
name: urem_non_pow2
|
|
body: |
|
|
bb.1:
|
|
liveins: $w0
|
|
|
|
%0:_(s32) = COPY $w0
|
|
%1:_(s32) = G_CONSTANT i32 10
|
|
%2:_(s32) = G_UREM %0, %1
|
|
$w0 = COPY %2(s32)
|
|
RET_ReallyLR implicit $w0
|
|
...
|
|
|
|
# CHECK-LABEL: name: @urem
|
|
# CHECK-NEXT: %0:_ KnownBits:???????????????????????????????? SignBits:1
|
|
# CHECK-NEXT: %1:_ KnownBits:???????????????????????????????? SignBits:1
|
|
# CHECK-NEXT: %2:_ KnownBits:???????????????????????????????? SignBits:1
|
|
|
|
name: urem
|
|
body: |
|
|
bb.1:
|
|
liveins: $w0, $w1
|
|
|
|
%0:_(s32) = COPY $w0
|
|
%1:_(s32) = COPY $w1
|
|
%2:_(s32) = G_UREM %0, %1
|
|
$w0 = COPY %2(s32)
|
|
RET_ReallyLR implicit $w0
|
|
...
|
|
|
|
# CHECK-LABEL: name: @urem_implicit_def
|
|
# CHECK-NEXT: %0:_ KnownBits:???????????????????????????????? SignBits:1
|
|
# CHECK-NEXT: %1:_ KnownBits:00000000000000000000000000001000 SignBits:28
|
|
# CHECK-NEXT: %2:_ KnownBits:00000000000000000000000000000??? SignBits:29
|
|
|
|
name: urem_implicit_def
|
|
body: |
|
|
bb.1:
|
|
liveins: $w0
|
|
|
|
%0:_(s32) = G_IMPLICIT_DEF
|
|
%1:_(s32) = G_CONSTANT i32 8
|
|
%2:_(s32) = G_UREM %0, %1
|
|
$w0 = COPY %2(s32)
|
|
RET_ReallyLR implicit $w0
|
|
...
|
|
|
|
# CHECK-LABEL: name: @urem_both_implicit_def
|
|
# CHECK-NEXT: %0:_ KnownBits:???????????????????????????????? SignBits:1
|
|
# CHECK-NEXT: %1:_ KnownBits:???????????????????????????????? SignBits:1
|
|
# CHECK-NEXT: %2:_ KnownBits:???????????????????????????????? SignBits:1
|
|
|
|
name: urem_both_implicit_def
|
|
body: |
|
|
bb.1:
|
|
|
|
%0:_(s32) = G_IMPLICIT_DEF
|
|
%1:_(s32) = G_IMPLICIT_DEF
|
|
%2:_(s32) = G_UREM %0, %1
|
|
$w0 = COPY %2(s32)
|
|
RET_ReallyLR implicit $w0
|
|
...
|
|
|
|
# CHECK-LABEL: name: @urem_const_const
|
|
# CHECK-NEXT: %0:_ KnownBits:00000000000000000000000000001010 SignBits:28
|
|
# CHECK-NEXT: %1:_ KnownBits:00000000000000000000000000000011 SignBits:30
|
|
# CHECK-NEXT: %2:_ KnownBits:000000000000000000000000000000?? SignBits:30
|
|
|
|
name: urem_const_const
|
|
body: |
|
|
bb.1:
|
|
|
|
%0:_(s32) = G_CONSTANT i32 10
|
|
%1:_(s32) = G_CONSTANT i32 3
|
|
%2:_(s32) = G_UREM %0, %1
|
|
$w0 = COPY %2(s32)
|
|
RET_ReallyLR implicit $w0
|
|
...
|