xref: /llvm-project/llvm/test/CodeGen/SystemZ/copy-phys-reg-vr128-to-gr128.mir (revision 75f4baa705829d44c6a0c4f098a1b04763fdfaf8)
1# NOTE: Assertions have been autogenerated by utils/update_mir_test_checks.py UTC_ARGS: --version 4
2# RUN: llc -mtriple=s390x-ibm-linux -mcpu=z13 -run-pass=postrapseudos -o - %s | FileCheck %s
3
4---
5name:            copy_vr128_to_gr128__v0_to_r0q
6tracksRegLiveness: true
7body:             |
8  bb.0:
9    liveins: $v0
10    ; CHECK-LABEL: name: copy_vr128_to_gr128__v0_to_r0q
11    ; CHECK: liveins: $v0
12    ; CHECK-NEXT: {{  $}}
13    ; CHECK-NEXT: $r0d = VLGVG $v0, $noreg, 0, implicit-def $r0q
14    ; CHECK-NEXT: $r1d = VLGVG $v0, $noreg, 1
15    ; CHECK-NEXT: Return implicit $r0q
16    $r0q = COPY $v0
17    Return implicit $r0q
18...
19
20---
21name:            copy_vr128_to_gr128__v0_to_r0q_killed
22tracksRegLiveness: true
23body:             |
24  bb.0:
25    liveins: $v0
26    ; CHECK-LABEL: name: copy_vr128_to_gr128__v0_to_r0q_killed
27    ; CHECK: liveins: $v0
28    ; CHECK-NEXT: {{  $}}
29    ; CHECK-NEXT: $r0d = VLGVG $v0, $noreg, 0, implicit-def $r0q
30    ; CHECK-NEXT: $r1d = VLGVG killed $v0, $noreg, 1
31    ; CHECK-NEXT: Return implicit $r0q
32    $r0q = COPY killed $v0
33    Return implicit $r0q
34...
35
36---
37name:            copy_vr128_to_gr128__v0_to_r0q_undef
38tracksRegLiveness: true
39body:             |
40  bb.0:
41    ; CHECK-LABEL: name: copy_vr128_to_gr128__v0_to_r0q_undef
42    ; CHECK: $r0q = KILL undef $v0
43    ; CHECK-NEXT: Return implicit $r0q
44    $r0q = COPY undef $v0
45    Return implicit $r0q
46...
47
48---
49name:            copy_vr128_to_gr128__v0_to_r0q_undef_use_subreg0
50tracksRegLiveness: true
51body:             |
52  bb.0:
53    ; CHECK-LABEL: name: copy_vr128_to_gr128__v0_to_r0q_undef_use_subreg0
54    ; CHECK: $r0q = KILL undef $v0
55    ; CHECK-NEXT: Return implicit $r0d
56    $r0q = COPY undef $v0
57    Return implicit $r0d
58...
59
60---
61name:            copy_vr128_to_gr128__v0_to_r0q_undef_use_subreg1
62tracksRegLiveness: true
63body:             |
64  bb.0:
65    ; CHECK-LABEL: name: copy_vr128_to_gr128__v0_to_r0q_undef_use_subreg1
66    ; CHECK: $r0q = KILL undef $v0
67    ; CHECK-NEXT: Return implicit $r1d
68    $r0q = COPY undef $v0
69    Return implicit $r1d
70...
71