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
46 lines
1.2 KiB
YAML
46 lines
1.2 KiB
YAML
# RUN: llc -mtriple=aarch64 -mcpu=apple-m1 -run-pass=early-ifcvt \
|
|
# RUN: -enable-early-ifcvt-data-dependent \
|
|
# RUN: -pass-remarks-analysis='early-ifcvt' -o /dev/null %s 2>&1 | FileCheck %s
|
|
|
|
# Test that we emit an analysis remark when the branch condition is data-dependent
|
|
# (derived from a memory load).
|
|
|
|
# CHECK: remark: <unknown>:0:0: branch condition is data-dependent (from memory load), using higher CritLimit of {{[0-9]+}} cycles
|
|
|
|
--- |
|
|
define i32 @data_dependent_branch(ptr %p, i32 %x, i32 %y) {
|
|
ret i32 0
|
|
}
|
|
...
|
|
---
|
|
name: data_dependent_branch
|
|
alignment: 4
|
|
tracksRegLiveness: true
|
|
liveins:
|
|
- { reg: '$x0', virtual-reg: '%0' }
|
|
- { reg: '$w1', virtual-reg: '%1' }
|
|
- { reg: '$w2', virtual-reg: '%2' }
|
|
body: |
|
|
bb.0:
|
|
successors: %bb.1(0x40000000), %bb.2(0x40000000)
|
|
liveins: $x0, $w1, $w2
|
|
|
|
%0:gpr64common = COPY $x0
|
|
%1:gpr32 = COPY $w1
|
|
%2:gpr32 = COPY $w2
|
|
%10:gpr32common = LDRWui %0, 0 :: (load (s32))
|
|
%11:gpr32 = SUBSWri %10, 100, 0, implicit-def $nzcv
|
|
Bcc 12, %bb.2, implicit $nzcv
|
|
B %bb.1
|
|
|
|
bb.1:
|
|
successors: %bb.2(0x80000000)
|
|
|
|
%20:gpr32 = MADDWrrr %1, %2, $wzr
|
|
|
|
bb.2:
|
|
%100:gpr32 = PHI %1, %bb.0, %20, %bb.1
|
|
$w0 = COPY %100
|
|
RET_ReallyLR implicit $w0
|
|
...
|