mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
6b73e7b79e
As Roman Tereshin pointed out in https://reviews.llvm.org/D45541, the -global-isel option is redundant when -run-pass is given. -global-isel sets up the GlobalISel passes in the pass manager but -run-pass skips that entirely and configures it's own pipeline. llvm-svn: 331603
34 lines
1.1 KiB
YAML
34 lines
1.1 KiB
YAML
# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py
|
|
# RUN: llc -mtriple=amdgcn-- -O0 -run-pass=legalizer -o - %s | FileCheck %s
|
|
|
|
---
|
|
name: test_unmerge_s64_s32
|
|
body: |
|
|
bb.0:
|
|
; CHECK-LABEL: name: test_unmerge_s64_s32
|
|
; CHECK: [[C:%[0-9]+]]:_(s64) = G_CONSTANT i64 0
|
|
; CHECK: [[UV:%[0-9]+]]:_(s32), [[UV1:%[0-9]+]]:_(s32) = G_UNMERGE_VALUES [[C]](s64)
|
|
; CHECK: $vgpr0 = COPY [[UV]](s32)
|
|
; CHECK: $vgpr2 = COPY [[UV1]](s32)
|
|
%0:_(s64) = G_CONSTANT i64 0
|
|
%1:_(s32), %2:_(s32) = G_UNMERGE_VALUES %0:_(s64)
|
|
$vgpr0 = COPY %1(s32)
|
|
$vgpr2 = COPY %2(s32)
|
|
...
|
|
|
|
---
|
|
name: test_unmerge_v2s32_s32
|
|
body: |
|
|
bb.0:
|
|
liveins: $vgpr0_vgpr1
|
|
; CHECK-LABEL: name: test_unmerge_v2s32_s32
|
|
; CHECK: [[COPY:%[0-9]+]]:_(<2 x s32>) = COPY $vgpr0_vgpr1
|
|
; CHECK: [[UV:%[0-9]+]]:_(s32), [[UV1:%[0-9]+]]:_(s32) = G_UNMERGE_VALUES [[COPY]](<2 x s32>)
|
|
; CHECK: $vgpr0 = COPY [[UV]](s32)
|
|
; CHECK: $vgpr2 = COPY [[UV1]](s32)
|
|
%0:_(<2 x s32>) = COPY $vgpr0_vgpr1
|
|
%1:_(s32), %2:_(s32) = G_UNMERGE_VALUES %0:_(<2 x s32>)
|
|
$vgpr0 = COPY %1(s32)
|
|
$vgpr2 = COPY %2(s32)
|
|
...
|