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
89 lines
3.5 KiB
YAML
89 lines
3.5 KiB
YAML
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
|
|
# RUN: llc -mtriple aarch64 -run-pass=aarch64-post-select-optimize -verify-machineinstrs %s -o - | FileCheck %s
|
|
# RUN: llc -mtriple aarch64 -passes=aarch64-post-select-optimize %s -o - | FileCheck %s
|
|
---
|
|
name: pluto
|
|
alignment: 4
|
|
legalized: true
|
|
regBankSelected: true
|
|
selected: true
|
|
tracksRegLiveness: true
|
|
liveins:
|
|
- { reg: '$x0' }
|
|
- { reg: '$w1' }
|
|
- { reg: '$x2' }
|
|
frameInfo:
|
|
maxAlignment: 1
|
|
maxCallFrameSize: 0
|
|
body: |
|
|
; CHECK-LABEL: name: pluto
|
|
; CHECK: bb.0:
|
|
; CHECK-NEXT: successors: %bb.2(0x40000000), %bb.1(0x40000000)
|
|
; CHECK-NEXT: liveins: $w1, $x0, $x2
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: [[COPY:%[0-9]+]]:gpr64sp = COPY $x0
|
|
; CHECK-NEXT: [[COPY1:%[0-9]+]]:gpr32sp = COPY $w1
|
|
; CHECK-NEXT: [[COPY2:%[0-9]+]]:gpr64sp = COPY $x2
|
|
; CHECK-NEXT: [[DEF:%[0-9]+]]:gpr32 = IMPLICIT_DEF
|
|
; CHECK-NEXT: [[COPY3:%[0-9]+]]:fpr32 = COPY [[DEF]]
|
|
; CHECK-NEXT: [[MOVi32imm:%[0-9]+]]:gpr32 = MOVi32imm 872415232
|
|
; CHECK-NEXT: [[COPY4:%[0-9]+]]:fpr32 = COPY [[MOVi32imm]]
|
|
; CHECK-NEXT: FCMPSrr [[COPY3]], [[COPY4]], implicit-def $nzcv, implicit $fpcr
|
|
; CHECK-NEXT: [[CSINCWr:%[0-9]+]]:gpr32 = CSINCWr $wzr, $wzr, 13, implicit $nzcv
|
|
; CHECK-NEXT: [[SUBWri:%[0-9]+]]:gpr32common = SUBWri [[COPY1]], 1, 0
|
|
; CHECK-NEXT: [[SUBREG_TO_REG:%[0-9]+]]:gpr64 = SUBREG_TO_REG [[SUBWri]], %subreg.sub_32
|
|
; CHECK-NEXT: [[COPY5:%[0-9]+]]:fpr32 = COPY [[DEF]]
|
|
; CHECK-NEXT: FCMPSrr [[COPY5]], [[COPY4]], implicit-def $nzcv, implicit $fpcr
|
|
; CHECK-NEXT: [[CSINCWr1:%[0-9]+]]:gpr32 = CSINCWr $wzr, $wzr, 12, implicit $nzcv
|
|
; CHECK-NEXT: [[EORWrr:%[0-9]+]]:gpr32 = EORWrr [[CSINCWr]], [[CSINCWr1]]
|
|
; CHECK-NEXT: TBNZW [[EORWrr]], 0, %bb.2
|
|
; CHECK-NEXT: B %bb.1
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: bb.1:
|
|
; CHECK-NEXT: successors: %bb.2(0x80000000)
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: [[UBFMXri:%[0-9]+]]:gpr64 = UBFMXri [[SUBREG_TO_REG]], 60, 59
|
|
; CHECK-NEXT: [[LDRSroX:%[0-9]+]]:fpr32 = LDRSroX [[COPY]], [[UBFMXri]], 0, 0 :: (load (s32))
|
|
; CHECK-NEXT: [[COPY6:%[0-9]+]]:fpr32 = COPY [[DEF]]
|
|
; CHECK-NEXT: [[FMULSrr:%[0-9]+]]:fpr32 = FMULSrr [[COPY6]], [[LDRSroX]], implicit $fpcr
|
|
; CHECK-NEXT: [[COPY7:%[0-9]+]]:fpr32 = COPY [[DEF]]
|
|
; CHECK-NEXT: [[FADDSrr:%[0-9]+]]:fpr32 = FADDSrr [[FMULSrr]], [[COPY7]], implicit $fpcr
|
|
; CHECK-NEXT: STRSui [[FADDSrr]], [[COPY2]], 0 :: (store (s32))
|
|
; CHECK-NEXT: {{ $}}
|
|
; CHECK-NEXT: bb.2:
|
|
; CHECK-NEXT: RET_ReallyLR
|
|
bb.1:
|
|
liveins: $w1, $x0, $x2
|
|
|
|
%0:gpr64sp = COPY $x0
|
|
%1:gpr32sp = COPY $w1
|
|
%2:gpr64sp = COPY $x2
|
|
%3:gpr32 = IMPLICIT_DEF
|
|
%29:fpr32 = COPY %3
|
|
%33:gpr32 = MOVi32imm 872415232
|
|
%4:fpr32 = COPY %33
|
|
FCMPSrr %29, %4, implicit-def $nzcv, implicit $fpcr
|
|
%28:gpr32 = CSINCWr $wzr, $wzr, 13, implicit $nzcv
|
|
%7:gpr32 = SUBSWri %1, 1, 0, implicit-def $nzcv
|
|
%8:gpr64 = SUBREG_TO_REG %7, %subreg.sub_32
|
|
%30:fpr32 = COPY %3
|
|
FCMPSrr %30, %4, implicit-def $nzcv, implicit $fpcr
|
|
%27:gpr32 = CSINCWr $wzr, $wzr, 12, implicit $nzcv
|
|
%26:gpr32 = EORWrr %28, %27
|
|
TBNZW %26, 0, %bb.3
|
|
B %bb.2
|
|
|
|
bb.2:
|
|
%12:gpr64 = UBFMXri %8, 60, 59
|
|
%15:fpr32 = LDRSroX %0, %12, 0, 0 :: (load (s32))
|
|
%31:fpr32 = COPY %3
|
|
%16:fpr32 = FMULSrr %31, %15, implicit $fpcr
|
|
%32:fpr32 = COPY %3
|
|
%17:fpr32 = FADDSrr %16, %32, implicit $fpcr
|
|
STRSui %17, %2, 0 :: (store (s32))
|
|
|
|
bb.3:
|
|
RET_ReallyLR
|
|
|
|
...
|