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
110 lines
2.5 KiB
YAML
110 lines
2.5 KiB
YAML
# RUN: llc --verify-machineinstrs -mtriple=aarch64 -o - %s -run-pass pipeliner -aarch64-enable-pipeliner -debug-only=pipeliner 2>&1 | FileCheck %s
|
|
# REQUIRES: asserts
|
|
|
|
# unacceptable loops by pipeliner
|
|
|
|
...
|
|
---
|
|
name: func1
|
|
tracksRegLiveness: true
|
|
body: |
|
|
; multiple counter increment instructions
|
|
; CHECK: Unable to analyzeLoop, can NOT pipeline Loop
|
|
bb.0.entry:
|
|
liveins: $x0, $x1
|
|
%10:gpr64 = COPY $x0
|
|
%11:gpr64 = COPY $x1
|
|
|
|
bb.1:
|
|
%12:gpr64 = PHI %11, %bb.0, %13, %bb.1
|
|
%13:gpr64 = ADDXrr %12, %11
|
|
%14:gpr64 = ADDXrr %13, %11
|
|
dead $xzr = SUBSXrr %10, %14, implicit-def $nzcv
|
|
Bcc 1, %bb.1, implicit $nzcv
|
|
B %bb.2
|
|
|
|
bb.2:
|
|
...
|
|
---
|
|
name: func2
|
|
tracksRegLiveness: true
|
|
body: |
|
|
; neither operand of the increment instruction is a loop invariant value
|
|
; CHECK: Unable to analyzeLoop, can NOT pipeline Loop
|
|
bb.0.entry:
|
|
liveins: $x0, $x1
|
|
%10:gpr64 = COPY $x0
|
|
%11:gpr64 = COPY $x1
|
|
|
|
bb.1:
|
|
%12:gpr64 = PHI %11, %bb.0, %13, %bb.1
|
|
%13:gpr64 = ADDXrr %12, %12
|
|
dead $xzr = SUBSXrr %10, %13, implicit-def $nzcv
|
|
Bcc 1, %bb.1, implicit $nzcv
|
|
B %bb.2
|
|
|
|
bb.2:
|
|
...
|
|
---
|
|
name: func3
|
|
tracksRegLiveness: true
|
|
body: |
|
|
; neither operand of the compare instruction is a loop invariant value
|
|
; CHECK: Unable to analyzeLoop, can NOT pipeline Loop
|
|
bb.0.entry:
|
|
liveins: $x0, $x1
|
|
%10:gpr64 = COPY $x0
|
|
%11:gpr64 = COPY $x1
|
|
|
|
bb.1:
|
|
%12:gpr64 = PHI %11, %bb.0, %13, %bb.1
|
|
%13:gpr64 = ADDXrr %12, %11
|
|
dead $xzr = SUBSXrr %13, %13, implicit-def $nzcv
|
|
Bcc 1, %bb.1, implicit $nzcv
|
|
B %bb.2
|
|
|
|
bb.2:
|
|
...
|
|
---
|
|
name: func4
|
|
tracksRegLiveness: true
|
|
body: |
|
|
; multiple phi instructions
|
|
; CHECK: Unable to analyzeLoop, can NOT pipeline Loop
|
|
bb.0.entry:
|
|
liveins: $x0, $x1
|
|
%10:gpr64 = COPY $x0
|
|
%11:gpr64 = COPY $x1
|
|
|
|
bb.1:
|
|
%12:gpr64 = PHI %11, %bb.0, %13, %bb.1
|
|
%14:gpr64 = PHI %11, %bb.0, %15, %bb.1
|
|
dead $xzr = SUBSXrr %12, %10, implicit-def $nzcv
|
|
%13:gpr64 = ADDXrr %14, %11
|
|
%15:gpr64 = ADDXrr %12, %11
|
|
Bcc 1, %bb.1, implicit $nzcv
|
|
B %bb.2
|
|
|
|
bb.2:
|
|
...
|
|
---
|
|
name: func5
|
|
tracksRegLiveness: true
|
|
body: |
|
|
; not an increment instruction
|
|
; CHECK: Unable to analyzeLoop, can NOT pipeline Loop
|
|
bb.0.entry:
|
|
liveins: $x0, $x1
|
|
%10:gpr64 = COPY $x0
|
|
%11:gpr64 = COPY $x1
|
|
|
|
bb.1:
|
|
%12:gpr64 = PHI %11, %bb.0, %13, %bb.1
|
|
%13:gpr64 = ORRXrr %12, %12
|
|
dead $xzr = SUBSXrr %12, %10, implicit-def $nzcv
|
|
Bcc 1, %bb.1, implicit $nzcv
|
|
B %bb.2
|
|
|
|
bb.2:
|
|
...
|