[X86] combineTargetShuffle - commute VPERMV3 shuffles so any load is on the RHS
[llvm-project.git] / llvm / test / CodeGen / SystemZ / copy-phys-reg-gr128-to-vr128.mir
blob36580fed3baae3a7bcfbfbf5400e1d437f5aef8f
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 -verify-machineinstrs -o - %s | FileCheck %s
4 ---
5 name:            copy_gr128_to_vr128__r0q_to_v0
6 tracksRegLiveness: true
7 body:             |
8   bb.0:
9     liveins: $r0q
10     ; CHECK-LABEL: name: copy_gr128_to_vr128__r0q_to_v0
11     ; CHECK: liveins: $r0q
12     ; CHECK-NEXT: {{  $}}
13     ; CHECK-NEXT: $v0 = VLVGP $r0d, $r1d
14     ; CHECK-NEXT: Return implicit $v0
15     $v0 = COPY $r0q
16     Return implicit $v0
17 ...
19 ---
20 name:            copy_gr128_to_vr128__r0q_to_v0_killed
21 tracksRegLiveness: true
22 body:             |
23   bb.0:
24     liveins: $r0q
25     ; CHECK-LABEL: name: copy_gr128_to_vr128__r0q_to_v0_killed
26     ; CHECK: liveins: $r0q
27     ; CHECK-NEXT: {{  $}}
28     ; CHECK-NEXT: $v0 = VLVGP $r0d, $r1d
29     ; CHECK-NEXT: Return implicit $v0
30     $v0 = COPY killed $r0q
31     Return implicit $v0
32 ...
34 ---
35 name:            copy_gr128_to_vr128__r0q_to_v0_undef
36 tracksRegLiveness: true
37 body:             |
38   bb.0:
39     liveins: $r0q
40     ; CHECK-LABEL: name: copy_gr128_to_vr128__r0q_to_v0_undef
41     ; CHECK: liveins: $r0q
42     ; CHECK-NEXT: {{  $}}
43     ; CHECK-NEXT: $v0 = KILL undef $r0q
44     ; CHECK-NEXT: Return implicit $v0
45     $v0 = COPY undef $r0q
46     Return implicit $v0
47 ...