xref: /llvm-project/llvm/test/CodeGen/SystemZ/copy-phys-reg-gr128-to-fp128.mir (revision d11afe1c743924f309e41c5e5d497d6a6f5c17d6)
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
3
4---
5name:            copy_gr128_to_fp128__r0q_to_f0q
6tracksRegLiveness: true
7body:             |
8  bb.0:
9    liveins: $r0q
10    ; CHECK-LABEL: name: copy_gr128_to_fp128__r0q_to_f0q
11    ; CHECK: liveins: $r0q
12    ; CHECK-NEXT: {{  $}}
13    ; CHECK-NEXT: $f0d = LDGR $r0d, implicit-def $f0q
14    ; CHECK-NEXT: $f2d = LDGR $r1d
15    ; CHECK-NEXT: Return implicit $f0q
16    $f0q = COPY $r0q
17    Return implicit $f0q
18...
19
20---
21name:            copy_gr128_to_fp128__r0q_to_f0q_killed
22tracksRegLiveness: true
23body:             |
24  bb.0:
25    liveins: $r0q
26    ; CHECK-LABEL: name: copy_gr128_to_fp128__r0q_to_f0q_killed
27    ; CHECK: liveins: $r0q
28    ; CHECK-NEXT: {{  $}}
29    ; CHECK-NEXT: $f0d = LDGR $r0d, implicit-def $f0q
30    ; CHECK-NEXT: $f2d = LDGR killed $r1d
31    ; CHECK-NEXT: Return implicit $f0q
32    $f0q = COPY killed $r0q
33    Return implicit $f0q
34...
35
36---
37name:            copy_gr128_to_fp128__r0q_to_f0q_undef
38tracksRegLiveness: true
39body:             |
40  bb.0:
41    liveins: $r0q
42    ; CHECK-LABEL: name: copy_gr128_to_fp128__r0q_to_f0q_undef
43    ; CHECK: liveins: $r0q
44    ; CHECK-NEXT: {{  $}}
45    ; CHECK-NEXT: $f0q = KILL undef $r0q
46    ; CHECK-NEXT: Return implicit $f0q
47    $f0q = COPY undef $r0q
48    Return implicit $f0q
49...
50