Files
TheRock/compiler/amd-llvm/llvm/test/CodeGen/X86/fixup-vpermq-to-vinsert.mir
T
derek.holloway 7502bf64a4
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
Flatten subprojects into a single base monorepo
2026-09-02 16:34:47 -07:00

72 lines
2.3 KiB
YAML

# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
# RUN: llc -mtriple=x86_64-- -run-pass x86-fixup-inst-tuning -mcpu=znver1 -o - %s | FileCheck %s --check-prefix=ZNVER
# RUN: llc -mtriple=x86_64-- -run-pass x86-fixup-inst-tuning -mcpu=znver3 -o - %s | FileCheck %s --check-prefix=ZNVER
# RUN: llc -mtriple=x86_64-- -run-pass x86-fixup-inst-tuning -mcpu=haswell -o - %s | FileCheck %s --check-prefix=INTEL
# RUN: llc -mtriple=x86_64-- -run-pass x86-fixup-inst-tuning -mcpu=alderlake -o - %s | FileCheck %s --check-prefix=INTEL
--- |
define void @test_vpermq_0x44() { ret void }
define void @test_vpermpd_0x44() { ret void }
define void @test_vpermq_other_imm() { ret void }
...
---
name: test_vpermq_0x44
body: |
bb.0:
liveins: $ymm0
; ZNVER-LABEL: name: test_vpermq_0x44
; ZNVER: liveins: $ymm0
; ZNVER-NEXT: {{ $}}
; ZNVER-NEXT: $ymm0 = VINSERTI128rri $ymm0, $xmm0, 1
; ZNVER-NEXT: RET64 $ymm0
;
; INTEL-LABEL: name: test_vpermq_0x44
; INTEL: liveins: $ymm0
; INTEL-NEXT: {{ $}}
; INTEL-NEXT: $ymm0 = VPERMQYri $ymm0, 68
; INTEL-NEXT: RET64 $ymm0
$ymm0 = VPERMQYri $ymm0, 68
RET64 $ymm0
...
---
name: test_vpermpd_0x44
body: |
bb.0:
liveins: $ymm0
; ZNVER-LABEL: name: test_vpermpd_0x44
; ZNVER: liveins: $ymm0
; ZNVER-NEXT: {{ $}}
; ZNVER-NEXT: $ymm0 = VINSERTF128rri $ymm0, $xmm0, 1
; ZNVER-NEXT: RET64 $ymm0
;
; INTEL-LABEL: name: test_vpermpd_0x44
; INTEL: liveins: $ymm0
; INTEL-NEXT: {{ $}}
; INTEL-NEXT: $ymm0 = VPERMPDYri $ymm0, 68
; INTEL-NEXT: RET64 $ymm0
$ymm0 = VPERMPDYri $ymm0, 68
RET64 $ymm0
...
---
name: test_vpermq_other_imm
body: |
bb.0:
liveins: $ymm0, $ymm1
; ZNVER-LABEL: name: test_vpermq_other_imm
; ZNVER: liveins: $ymm0, $ymm1
; ZNVER-NEXT: {{ $}}
; ZNVER-NEXT: $ymm0 = VPERMQYri $ymm0, 228
; ZNVER-NEXT: $ymm1 = VPERMQYri $ymm1, 0
; ZNVER-NEXT: RET64 $ymm0, $ymm1
;
; INTEL-LABEL: name: test_vpermq_other_imm
; INTEL: liveins: $ymm0, $ymm1
; INTEL-NEXT: {{ $}}
; INTEL-NEXT: $ymm0 = VPERMQYri $ymm0, 228
; INTEL-NEXT: $ymm1 = VPERMQYri $ymm1, 0
; INTEL-NEXT: RET64 $ymm0, $ymm1
$ymm0 = VPERMQYri $ymm0, 228
$ymm1 = VPERMQYri $ymm1, 0
RET64 $ymm0, $ymm1
...